docs: document x-enable-service-links compose field - #1312
Merged
Conversation
Document the new optional x-enable-service-links service field in the Docker Compose reference, added in okteto/okteto#5093. It toggles Kubernetes service-link environment variable injection per service. ekline[bot] <202747777+ekline[bot]@users.noreply.github.com> Signed-off-by: ekline[bot] <202747777+ekline[bot]@users.noreply.github.com>
ekline
Bot
requested review from
codyjlandstrom,
ifbyol,
pchico83 and
rlamana
as code owners
July 22, 2026 11:53
✅ Deploy Preview for okteto-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
codyjlandstrom
added a commit
that referenced
this pull request
Aug 4, 2026
- Add the 1.47.0 release notes entry: BuildKit 0.31 upgrade with the oci-mediatypes default change and its OKTETO_BUILD_OCI_MEDIATYPES opt-out, x-enable-service-links for Docker Compose, CLI CVE bumps, and the 3.22.0 bug fixes. - Move the okteto destroy --all fix from the 1.46 notes to 1.47: the fix (okteto/okteto#5072) merged after the 3.21.0 tag and ships with CLI 3.22.0, so the 1.46 attribution was incorrect. Removed from both the current and version-1.46 release notes. The x-enable-service-links reference entry is deliberately NOT part of this PR - it is already covered by the open #1312. The release-notes link points at the page level until that PR merges. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Cody Landstrom <cody@okteto.com>
6 tasks
Contributor
|
@ifbyol Could I get your quick review on this? |
codyjlandstrom
added a commit
that referenced
this pull request
Aug 4, 2026
Add the 1.47.0 release notes entry: BuildKit 0.31 upgrade with the oci-mediatypes default change and its OKTETO_BUILD_OCI_MEDIATYPES opt-out, x-enable-service-links for Docker Compose, the Okteto skill shortcut in the Namespace view, and the BuildKit port-forward deadlock fix. Per review (ifbyol): the okteto destroy --all fix stays under 1.46 - it shipped in CLI 3.21.0 as a backport (okteto/okteto#5073); routine dependency CVE bumps are not listed per convention; the sleep-job HTTPRoute fix is omitted since Gateway API is not yet open to all customers. The x-enable-service-links reference entry is covered by the open #1312; the release-notes link points at the page level until that PR merges. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Signed-off-by: Cody Landstrom <cody@okteto.com>
ifbyol
approved these changes
Aug 5, 2026
codyjlandstrom
added a commit
that referenced
this pull request
Aug 5, 2026
docs: draft 1.47 release notes Add the 1.47.0 release notes entry: BuildKit 0.31 upgrade with the oci-mediatypes default change and its OKTETO_BUILD_OCI_MEDIATYPES opt-out, x-enable-service-links for Docker Compose, the Okteto skill shortcut in the Namespace view, and the BuildKit port-forward deadlock fix. Per review (ifbyol): the okteto destroy --all fix stays under 1.46 - it shipped in CLI 3.21.0 as a backport (okteto/okteto#5073); routine dependency CVE bumps are not listed per convention; the sleep-job HTTPRoute fix is omitted since Gateway API is not yet open to all customers. The x-enable-service-links reference entry is covered by the open #1312; the release-notes link points at the page level until that PR merges. Signed-off-by: Cody Landstrom <cody@okteto.com> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this documents
Documents the new optional
x-enable-service-linksservice field in the Docker Compose reference, introduced in okteto/okteto#5093.The field maps to the Kubernetes pod spec's
enableServiceLinks. Setting it tofalsestops Kubernetes from injecting service-link environment variables (<SERVICE>_SERVICE_HOST,<SERVICE>_SERVICE_PORT,<SERVICE>_PORT, and related variants) into a service's containers. It is opt-in and unset by default, preserving current behavior.Changes
x-enable-service-links (boolean, optional)field section insrc/content/reference/docker-compose.mdx, alongside the existingx-node-selectorandx-okteto-identity-tokenextensions.How to verify
Open the Docker Compose reference page and confirm the new field section and the summary-table row read correctly and match the surrounding
x-*field documentation.Source PR: okteto/okteto#5093
📝 Created with EkLine · View session
ekline[bot] <202747777+ekline[bot]@users.noreply.github.com>