Configure the NxtOne SDK for workloads on Amazon EKS.
On EKS the NxtOne SDK runs exactly as it does on any cluster: inside your application containers, configured through environment variables on your own Deployments. There is nothing NxtOne-specific to install in the cluster itself.
This page covers only what is specific to EKS. Read Kubernetes first — the Secret, Deployment settings, read-only filesystem notes, grace period, and verification steps all apply here unchanged.
The SDK authenticates to NxtOne with your API key, and it sends large payloads to Amazon S3 through presigned URLs, which carry their own authorization. It needs no AWS credentials of its own:
If your service already uses IRSA or Pod Identity for its own AWS calls, leave that as it is — the SDK does not depend on it.
kubectl, and application images with the SDK installed — see Docker.A plain Kubernetes Secret, created as shown on the Kubernetes page, works on EKS as-is. If your team keeps credentials in AWS Secrets Manager instead, store the key there and sync it into a Kubernetes Secret, so your Deployments reference it the same way:
With the External Secrets Operator and a store already connected to Secrets Manager, one ExternalSecret per namespace produces the nxtone-credentials Secret:
secretsmanager:GetSecretValue on this secret (plus kms:Decrypt if it is encrypted with a customer-managed key). Your application pods and the SDK need nothing. Environment variables are read when a container starts, so after rotating the key, run kubectl rollout restart on the Deployments that use it.The Secrets Store CSI Driver with the AWS provider works too, as long as you sync the value into a Kubernetes Secret (its secretObjects option) so it can populate the NXTONE_API_KEY environment variable.
Because the SDK is part of your image rather than a DaemonSet, it runs wherever your pods run:
| Compute type | What to know |
|---|---|
| Managed or self-managed node groups | No difference from any other cluster. |
| Fargate | Works unchanged — each pod carries its own SDK. Fargate pods run only in private subnets, so they reach NxtOne through a NAT gateway (section 5). |
| Mixed clusters | No special handling. Pods on node groups and Fargate report the same way and land in the same behavioral map, as long as each Deployment sets its own NXTONE_PROJECT_ID. |
The SDK needs outbound HTTPS (443) to the NxtOne API (api.nxtone.ai and www.api.nxtone.ai) and to Amazon S3. It opens no ports, so there are no inbound rules, load balancers, or Services to add. Check each layer between your pods and the internet:
| Layer | What to check |
|---|---|
| Route tables | Pods in public subnets reach the internet directly. Pods in private subnets — including all Fargate pods — need a route to a NAT gateway. |
| Security groups | The node security group, or the pod's security group if you use security groups for pods, must allow outbound TCP 443. The default outbound rule allows all traffic. |
| Egress filtering | If AWS Network Firewall or another domain allowlist sits on the path, allow the two NxtOne API hosts and Amazon S3. |
| S3 gateway endpoint | If your route tables use an S3 gateway endpoint, its endpoint policy can apply to the SDK's uploads, and a policy limited to your own account's buckets blocks them. |
| NetworkPolicy | The Amazon VPC CNI enforces Kubernetes NetworkPolicies once network policy support is enabled on the add-on. Allow DNS and 443 as shown on the Kubernetes page. |
Verify exactly as on any cluster — the SDK logs to stderr, so its startup lines are in your pod logs (and in CloudWatch, if you ship container logs there):
Java prints nxtone: agent attached, then nxtone: application ready; Node.js prints NXTONE_SESSION_ID=…. A hint that the API key is missing means the SDK is running as a no-op.
| Symptom | Likely cause | Fix |
|---|---|---|
| ExternalSecret not SecretSynced; pods stuck in CreateContainerConfigError | The sync controller cannot read the secret. | Check the controller's IAM permissions, the secret name and region in the store, and kms:Decrypt for a customer-managed key. |
| Missing-API-key hint in the logs after a successful sync | Pods started before the Secret existed, or the key name differs from secretKeyRef. | Match the key name (api-key), then kubectl rollout restart the Deployment. |
| SDK lines present, no data in the dashboard | Egress is blocked — this is a network problem, not an IAM one. | Work through the layers in section 5: NAT route, security groups, egress filtering, S3 endpoint policy. |
| Only Fargate workloads missing | Their private subnets have no NAT route. | Add a NAT gateway route for the subnets in your Fargate profiles. |
Anything not covered here is likely generic — see Kubernetes and Troubleshooting.