10000 Kubernetes does not start when another context is set · Issue #5425 · docker/for-mac · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Kubernetes does not start when another context is set #5425
Closed
@gmsantos

Description

@gmsantos

Docker Desktop built-in k8s doesn't start if you are using a different context other than docker-desktop when you start Docker Desktop.

  • I have tried with the latest version of Docker Desktop
  • I have tried disabling enabled experimental features
  • I have uploaded Diagnostics
  • Diagnostics ID: F423B07D-A600-4B9E-9F9E-7AFB26629699/20210305180539

Expected behavior

Start Docker Desktop with built-in Kubernetes while using a different context

Actual behavior

Start Docker Desktop, but Kubernetes does not start.

Information

  • macOS Version: Big Sur 11.5.2
  • Docker Desktop Version: 3.6.0 (67351)

The original report was in Big Sur 11.2.2 and 3.2.1 (61626)

I can see the following error message on mac Console utility:

error while starting: cannot update the host kube config: invalid configuration: context was not found for specified context: my-eks-sso-context-in-another-file

Steps to reproduce the behavior

  1. Fresh install Docker Desktop
  2. Enable Kubernetes
  3. Kubernetes starts successfully
  4. Close Docker Desktop
  5. Create a new kube config file and add it on $KUBE_PATH (connect to eks contexts using aws eks)
  6. Switch to another context, different from docker-desktop
  7. Restart Docker Desktop
  8. Got an error

image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0