What happened: Cluster does not work in kind when using Nocalhost Server, because the api server address of kind kubeconfig is 127.0.0.1
Anything else we need to know?:
We can change the api server address to https://kubernetes.default.svc when we add the cluster.
However, we cannot connect to the cluster from the nocalhost plugin because nhctl cannot connect to https://kubernetes.default.svc.
We can add a parameter extra_api_server.
When we get the kubeconfig from DevSpace, if extra_api_server exists, then replace the api server with extra_api_server
What happened:
Cluster
does not work inkind
when usingNocalhost Server
, because the api server address ofkind
kubeconfig is 127.0.0.1Anything else we need to know?: We can change the api server address to
https://kubernetes.default.svc
when we add the cluster.However, we cannot connect to the cluster from the nocalhost plugin because nhctl cannot connect to
https://kubernetes.default.svc
.We can add a parameter
extra_api_server
.When we get the kubeconfig from
DevSpace
, ifextra_api_server
exists, then replace the api server withextra_api_server
Environment: