Closed th3cod3r closed 8 months ago
Thanks for opening your first issue here! Be sure to follow the issue template!
@th3cod3r the kubernetes-dashboard does not exist in your CKS cluster.
Below is the k8s services in my CKS cluster
$ kubectl --kubeconfig cks-1292.kubeconfig get svc -A
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
default kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 24m
kube-system kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP,9153/TCP 24m
kubernetes-dashboard dashboard-metrics-scraper ClusterIP 10.97.159.150 <none> 8000/TCP 24m
kubernetes-dashboard kubernetes-dashboard ClusterIP 10.102.219.60 <none> 443/TCP 24m
Please use the following yaml when you create the CKS ISO https://raw.githubusercontent.com/kubernetes/dashboard/v2.7.0/aio/deploy/recommended.yaml We used it to build most of the CKS ISOs on https://download.cloudstack.org/cks/
@weizhouapache
Thanks for the suggestion, It is resolved now.
I make a latest version ISO with below command on a Single node server. /usr/share/cloudstack-common/scripts/util/create-kubernetes-binaries-iso.sh ./ 1.29.2 1.4.0 1.29.0 https://raw.githubusercontent.com/weaveworks/weave/master/prog/weave-kube/weave-daemonset-k8s-1.11.yaml https://raw.githubusercontent.com/kubernetes/dashboard/master/charts/kubernetes-dashboard.yaml setup-v1.29.2
With the above ISO, I onboard a cluster with that. After all configuration I am unable to hit the K8s dashboard, sharing snap for your reference and the version of cloudstack is 4.18.1
More info are as below for your reference