Open wuqiang0720 opened 3 months ago
I think the following command can specify url to download the images,but I don't know how to define this file values.yaml.can anyone help me explain this , thanks many
helm install kubernetes-dashboard/kubernetes-dashboard --name kubernetes-dashboard -f values.yaml
helm install kubernetes-dashboard kubernetes-dashboard202408081455.gzip --namespace kubernetes-dashboard-helm
ubuntu@master:~$ helm show values kubernetes-dashboard/kubernetes-dashboard | grep repository:
repository: docker.io/kubernetesui/dashboard-auth
repository: docker.io/kubernetesui/dashboard-api
repository: docker.io/kubernetesui/dashboard-web
repository: docker.io/kubernetesui/dashboard-metrics-scraper
ubuntu@master:~$
ubuntu@master:~$ helm pull kubernetes-dashboard/kubernetes-dashboard
ubuntu@master:~$ date
Thu 08 Aug 2024 07:03:48 AM UTC
ubuntu@master:~$ ls -ltr | tail -1
-rw-r--r-- 1 ubuntu ubuntu 371040 Aug 8 07:03 kubernetes-dashboard-7.5.0.tgz
release "kubernetes-dashboard-helm" uninstalled
ubuntu@master:~$ helm install kubernetes-dashboard-helm kubernetes-dashboard202408081724.gzip --namespace kubernetes-dashboard-helm
NAME: kubernetes-dashboard-helm
LAST DEPLOYED: Fri Aug 9 04:36:12 2024
NAMESPACE: kubernetes-dashboard-helm
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
*************************************************************************************************
*** PLEASE BE PATIENT: Kubernetes Dashboard may need a few minutes to get up and become ready ***
*************************************************************************************************
Congratulations! You have just installed Kubernetes Dashboard in your cluster.
To access Dashboard run:
kubectl -n kubernetes-dashboard port-forward svc/kubernetes-dashboard-kong-proxy 8443:443
NOTE: In case port-forward command does not work, make sure that kong service name is correct.
Check the services in Kubernetes Dashboard namespace using:
kubectl -n kubernetes-dashboard-helm get svc
Dashboard will be available at:
https://localhost:8443/
ubuntu@master:~$ helm list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
ubuntu@master:~$ helm list
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
ubuntu@master:~$ helm list --n
--namespace (namespace scope for this request) --no-headers (don't print headers when using the default output format)
ubuntu@master:~$ helm list --namespace kubernetes-dashboard-helm
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
kubernetes-dashboard-helm kubernetes-dashboard-helm 1 2024-08-09 04:36:12.860242381 +0000 UTC deployed kubernetes-dashboard-7.5.0
ubuntu@master:~$ kubectl get pod -n kubernetes-dashboard-helm
NAME READY STATUS RESTARTS AGE
kubernetes-dashboard-helm-api-5b69b599cf-s6cgk 1/1 Running 0 29s
kubernetes-dashboard-helm-auth-6fdb9cd95c-6tzfh 1/1 Running 0 29s
kubernetes-dashboard-helm-kong-7896c66866-sk6xw 1/1 Running 0 29s
kubernetes-dashboard-helm-metrics-scraper-6947c54b56-gff2k 1/1 Running 0 29s
kubernetes-dashboard-helm-web-6c58dbcb4f-s88lq 1/1 Running 0 29s
ubuntu@master:~$