Skip to content

docs: clarify Divert shared environment must be Okteto-managed - #1333

Open
ekline[bot] wants to merge 1 commit into
mainfrom
docs/divert-shared-namespace-okteto-managed
Open

docs: clarify Divert shared environment must be Okteto-managed#1333
ekline[bot] wants to merge 1 commit into
mainfrom
docs/divert-shared-namespace-okteto-managed

Conversation

@ekline

@ekline ekline Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

What changed

Clarifies that Divert's shared environment must run in an Okteto-managed Namespace — a Namespace that Okteto deployed — and that pointing Divert at a Namespace Okteto did not deploy is not officially supported. This is the current official support position.

Prompted by a POV where a team asked whether Divert's shared environment could point to an existing core namespace they manage themselves (not deployed by Okteto). The docs described the shared environment only as "the shared namespace" / "an existing shared environment" without stating this boundary, leaving the answer ambiguous.

Files

  • src/content/core/divert.mdx — new Shared environment requirements subsection under "How Divert Works", explaining the requirement and pointing users who run shared services outside Okteto to redeploy or duplicate them into an Okteto-managed Namespace.
  • src/content/development/using-divert.mdx — note in the Manifest Configuration section and a clarification on the namespace field.
  • src/content/reference/okteto-manifest.mdx — expanded the divert.namespace field description.
  • src/tutorials/divert.mdx — reinforcing note in the shared-environment step.

Why (grounded in behavior)

Divert routes traffic to services in the shared Namespace and, depending on the driver, reads or modifies their ingresses (nginx) or Istio VirtualServices, using the developer's Okteto credentials. Those credentials only reach Okteto Namespaces the developer can access, so in practice the shared Namespace must be an Okteto-managed Namespace. The wording deliberately matches the official support position rather than overstating an internal enforcement mechanism.

How to verify

  • Read each edited section — the requirement is stated consistently across concept, how-to, reference, and tutorial.
  • Internal links resolve to existing pages (get-started/deploy-your-app/deploy.mdx, previews/index.mdx).

Note: yarn build was not run — dependencies are not installed in this environment and the npm registry is not reachable from the sandbox. Link targets were verified to exist as files.


📝 Created with EkLine · View session

State across the Divert core concept, how-to, manifest reference, and
tutorial that the shared environment must run in an Okteto-managed
Namespace, and that a Namespace Okteto did not deploy is not a supported
divert target.

ekline[bot] <202747777+ekline[bot]@users.noreply.github.com>

Signed-off-by: ekline[bot] <202747777+ekline[bot]@users.noreply.github.com>
@netlify

netlify Bot commented Aug 24, 2026

Copy link
Copy Markdown

Deploy Preview for okteto-docs ready!

Name Link
🔨 Latest commit 225a9b6
🔍 Latest deploy log https://app.netlify.com/projects/okteto-docs/deploys/6a8c91bf414f1c00080e8c0e
😎 Deploy Preview https://deploy-preview-1333--okteto-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

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.

1 participant