You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In step 3, verify that the kubeconfig you set is actually for the garden cluster (the one you downloaded from the My Account page).
Set the KUBECONFIG environment variable to point to the gardenlogin kubeconfig that you downloaded for your shoot cluster. Alternatively, instead of manually downloading the gardenlogin kubeconfig, you can let gardenctl do it by targeting the respective shoot cluster.
Double-check the output of kubectl config view --minify to ensure that it is indeed the gardenlogin kubeconfig for your shoot cluster.
What happened:
There is connection to garden instrustion: https://gardener.cloud/docs/dashboard/connect-kubectl/
kubectl get namespaces
command tries ping local instead of remote connection.What you expected to happen:
kubectl get namespaces
command shows correct output with remote urls.How to reproduce it (as minimally and precisely as possible):
gardenctl config set-garden <sap-landscape> --kubeconfig "<path-to-garden-is-kubeconfig>"
.export KUBECONFIG=<path-to-gardenlogin--is-kubeconfig>
.kubectl get namespaces
Anything else we need to know:
Environment:
kubelogin version v1.31.0,
kubectl version: v1.28.2,
gardenlogin version: version.Info{Major:"0", Minor:"6", GitVersion:"v0.6.0", GitCommit:"8b9d37b6f68f79f3a34fd1dbd205bb5a518c4632", GitTreeState:"clean", BuildDate:"2024-11-12T17:37:05+00:00", GoVersion:"go1.23.2", Compiler:"gc", Platform:"windows/amd64"},
gardenctl version: version.Info{Major:"2", Minor:"9", GitVersion:"v2.9.0", GitCommit:"4475a8e8e64952743803c79d16784191ed0764c3", GitTreeState:"clean", BuildDate:"2024-10-23T13:42:12+00:00", GoVersion:"go1.23.2", Compiler:"gc", Platform:"windows/amd64"},
cygwin,
windows 11
The text was updated successfully, but these errors were encountered: