Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying to Minikube cluster is missing a namespace to pick after cluster restart (or some other manipulation with its state) #25

Open
odockal opened this issue Jan 24, 2024 · 1 comment

Comments

@odockal
Copy link

odockal commented Jan 24, 2024

Bug description

After some time with playing with minikube cluster and its kubecontext, it seems that once I try to deploy to Kubernetes (with minikube context set) it is missing a namespace field in the form and it throws and error: ECONRESET and I cannot deploy the container to the cluster.

Operating system

macOS 14 M2

Installation Method

Installer from website/GitHub releases

Version

next (development version)

Steps to reproduce

  1. Create and start minikube cluster
  2. Switch to minikube kube context
  3. Create a container
  4. Deploy Container to Kubernetes
  5. Assert: Kube context set is minikube
  6. Assert: Namespace field offers default namespace to deploy pod/container to
  7. Restart minikube
  8. Assert 5 and 6 again and deploy app
    Actual result: namespace is missing in the deploy to kubernetes page, deploying leads to error: ECONRESET

Relevant log output

No response

Additional context

@cbr7 If you could please also add some specification of your findings.

@cbr7
Copy link

cbr7 commented Jan 24, 2024

@odockal I've had the same experience with the only exception being that after I created a kind cluster on the machine also and switched to the kind context, upon switching back to minikube context the cluster was operational at that point. So I suspect that changing the context fixes/updates the namespace correctly.

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

No branches or pull requests

2 participants