Closed guettli closed 1 year ago
I tried it with a different linux-user on my laptop, and now it works. This time my minikube cluster did not use a profile.
Maybe it is related to the -p
option to minikube?
I guess it is related to skip push for local clusters
Found it. The name of the kube-context is important:
preferMinikube
DevSpace preferably uses the Docker daemon running in the virtual machine that belongs to your local Kubernetes cluster instead of your regular Docker daemon. This has the advantage that images do not need to be pushed to a registry because Kubernetes can simply use the images available in the Docker daemon belonging to the kubelet of the local cluster. Using this method is only possible when your current kube-context points to a local Kubernetes cluster and is named minikube, docker-desktop or docker-for-desktop.
https://devspace.sh/docs/5.x/configuration/images/docker#preferminikube
@guettli you are correct :+1: :)
I only had this problem when using minikube with -p
option.
Also, there is no push option for KinD. In vclusters devspace.yaml we have a profile called "kind-load", which loads the built image into your KinD cluster. To use it you just add -p kind-load
flag to the devspace commands. Perhaps --skip-push
is also required, but I don't remember for sure.
What happened?
I want to set up the develoment environment with devspace for the first time.
I followed the text in CONRIBUTING.md
What did you expect to happen?
I expected
How can we reproduce it (as minimally and precisely as possible)?
see above
Anything else we need to know?
No response
Host cluster Kubernetes version
Host cluster Kubernetes distribution
vlcuster version
current main branch
Vcluster Kubernetes distribution(k3s(default)), k8s, k0s)
default
OS and Arch