利用Kube Eagle监控Kubernetes集群资源
安装helm helm是Kubernetes集群的npm。 下载脚本add_helm.sh 脚本内容如下: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 #!/usr/bin/env bash echo "install helm" # installs helm with bash commands for easier command line integration curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get | bash # add a service account within a namespace to segregate tiller kubectl --namespace kube-system create sa tiller # create a cluster role binding for tiller kubectl create clusterrolebinding tiller \ --clusterrole cluster-admin \ --serviceaccount=kube-system:tiller echo "initialize helm" # initialized helm within the tiller service account helm init --service-account tiller # updates the repos for Helm repo integration helm repo update echo "verify helm" # verify that helm is installed in the cluster kubectl get deploy,svc tiller-deploy -n kube-system 执行脚本安装helm 1 sh add_helm.sh 安装kube-eagle 主要体验一下helm使用(刚开始我都是自己手动安装Prometheus)。 ...