helm源

helm repo add stable http://mirror.azure.cn/kubernetes/charts
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo add k8s-dashboard https://kubernetes.github.io/dashboard
helm repo update
helm search repo prometheus-community

Helm安装Dashboard

https://www.cnblogs.com/pinghengxing/p/14674060.html

helm部署 prometheus-operator

https://blog.csdn.net/CN_LiTianpeng/article/details/121046475?spm=1001.2101.3001.6650.1&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-121046475-blog-111397787.235%5Ev35%5Epc_relevant_increate_t0_download_v2&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1-121046475-blog-111397787.235%5Ev35%5Epc_relevant_increate_t0_download_v2&utm_relevant_index=2

一些命令

kubectl get pod -n kube-system
kubectl describe pod tiller-deploy-6d59867c45-h7hfq -n kube-system

docker pull registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.15.2
docker tag registry.cn-hangzhou.aliyuncs.com/google_containers/tiller:v2.15.2 gcr.io/kubernetes-helm/tiller:v2.15.2

kubectl get pods -n kube-system
kubectl edit svc k8s-dashboard-kubernetes-dashboard-d76d4b96f-xz5xg -n kube-system

kubectl get svc -n kube-system
kubectl get secret -n kube-system | grep dash

kubectl get secret -n kube-system | grep dashboard-token

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐