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
The tool does not seem to understand the information from the KUBECONFIG
docker run --rm -it --net=host \
-v $HOME/.kube:/root/.kube \
-e KUBECONFIG=/root/.kube/kubeconfig.conf \
-v $HOME/cluster-capacity/pod.yaml:/root/pod.yaml \
-v $HOME/.asdf/installs/kubectl/1.27.3/bin/kubectl:/usr/local/bin/kubectl \
docker.io/gofed/cluster-capacity \
bash
$ cluster-capacity --kubeconfig $KUBECONFIG --default-config /config/default-scheduler.yaml --podspec /root/pod.yaml
unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
$ kubectl cluster-info
Kubernetes control plane is running at https://xxxxxx:6443
CoreDNS is running at https://xxxxxx:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
KubeDNSUpstream is running at https://xxxxxx:6443/api/v1/namespaces/kube-system/services/kube-dns-upstream:dns/proxy
if I add --master option (still in the docker container)
$ cluster-capacity --master https://xxxxxx:6443 --kubeconfig $KUBECONFIG --podspec /root/pod.yaml --default-config /config/default-scheduler.yaml
Failed to list objects: the server could not find the requested resource (get replicasets.extensions)
The text was updated successfully, but these errors were encountered:
The tool does not seem to understand the information from the KUBECONFIG
if I add
--master
option (still in the docker container)The text was updated successfully, but these errors were encountered: