Skip to content

DOC-328: Rename K8s/EKS config variables to cloud-agnostic names#745

Merged
quetzalliwrites merged 3 commits into
aws-docs-release-julyfrom
rename-k8s-eks-config-vars
Jul 1, 2026
Merged

DOC-328: Rename K8s/EKS config variables to cloud-agnostic names#745
quetzalliwrites merged 3 commits into
aws-docs-release-julyfrom
rename-k8s-eks-config-vars

Conversation

@alexrashed

@alexrashed alexrashed commented Jun 30, 2026

Copy link
Copy Markdown
Member

Motivation

The Kubernetes configuration variables have been renamed to cloud-agnostic names so they apply consistently across both (a) all emulated services that run workloads on Kubernetes (Lambda, ECS, …) and (b) services that run Kubernetes clusters (AWS EKS, Azure AKS). This updates the docs to match.

Changes

  • Config reference (aws/configuration/config/configuration.md): renamed the six affected EKS variables in the table, each annotated with its former name as a deprecated alias, and added a note explaining the rename + the CLI v1 LOCALSTACK_-prefix behaviour. EKS_LOADBALANCER_PORT and EKS_PERSIST_CLUSTER_CONTENTS are left as-is — they remain AWS/EKS-specific and were not renamed.
  • EKS guide (aws/services/eks.mdx) and Kubernetes enterprise guides (kubernetes-executor.md, pod-configuration.md, configuration.md): updated prose and examples to the new names.
Old New
LOCALSTACK_K8S_NAMESPACE K8S_NAMESPACE
LOCALSTACK_K8S_LABELS / LAMBDA_K8S_LABELS K8S_LABELS
LOCALSTACK_K8S_ANNOTATIONS K8S_ANNOTATIONS
LOCALSTACK_K8S_POD_CONFIG K8S_POD_CONFIG
LAMBDA_K8S_SECURITY_CONTEXT K8S_CONTAINER_SECURITY_CONTEXT
EKS_K8S_PROVIDER MANAGED_K8S_PROVIDER
EKS_STARTUP_TIMEOUT MANAGED_K8S_STARTUP_TIMEOUT
EKS_K3S_IMAGE_REPOSITORY K3S_IMAGE_REPOSITORY
EKS_K3S_IMAGE_TAG K3S_IMAGE_TAG
EKS_K3S_FLAGS K3S_FLAGS
EKS_K3D_CLUSTER_TOKEN K3D_CLUSTER_TOKEN
EKS_K3D_VERSION K3D_VERSION
EKS_START_K3D_LB_INGRESS K3D_START_LB_INGRESS

The old names continue to work as deprecated fallbacks and emit a warning at startup.

Fixes DOC-328

🤖 Generated with Claude Code

The Kubernetes runtime configuration variables were renamed to
cloud-agnostic names (K8S_*, K3S_*, K3D_*) in localstack-pro#7642, since
they are shared across all services that run workloads on Kubernetes
(EKS, Lambda, ECS, ...). Update the config reference and Kubernetes
guides to the new names, note the deprecated aliases, and document the
CLI v1 LOCALSTACK_-prefix behaviour.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 30, 2026

Copy link
Copy Markdown

Deploying localstack-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0643035
Status: ✅  Deploy successful!
Preview URL: https://5590c389.localstack-docs.pages.dev
Branch Preview URL: https://rename-k8s-eks-config-vars.localstack-docs.pages.dev

View logs

@alexrashed alexrashed changed the title Rename Kubernetes/EKS config variables to cloud-agnostic names Rename K8s/EKS config variables to cloud-agnostic names Jun 30, 2026
@alexrashed alexrashed changed the base branch from main to aws-docs-release-july June 30, 2026 14:29
@alexrashed alexrashed changed the title Rename K8s/EKS config variables to cloud-agnostic names DOC-328: Rename K8s/EKS config variables to cloud-agnostic names Jun 30, 2026
@alexrashed alexrashed marked this pull request as ready for review June 30, 2026 18:44
Comment thread src/content/docs/aws/configuration/config/configuration.md Outdated
Comment thread src/content/docs/aws/configuration/config/configuration.md Outdated
@alexrashed alexrashed marked this pull request as draft July 1, 2026 12:06
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

@nik-localstack nik-localstack left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🙌
Thanks @alexrashed for addressing the comments

@alexrashed alexrashed marked this pull request as ready for review July 1, 2026 14:03
@alexrashed

Copy link
Copy Markdown
Member Author

Thanks, @quetzalliwrites! I think me and @nik-localstack sorted everything out and the updated name already landed in the dev tag of localstack/localstack-pro. So from my perspective this is ready to be merged! 🥳

@quetzalliwrites

Copy link
Copy Markdown
Collaborator

ty for your contribution @alexrashed 😸

@quetzalliwrites quetzalliwrites merged commit 728df23 into aws-docs-release-july Jul 1, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants