Мониторинг кластера Kubernetes с помощью Kube Eagle
установить штурвал
Helm — это npm кластера Kubernetes.
скачать add_helm.sh
Содержимое скрипта следующее:
#!/usr/bin/env bash
echo "install helm"
# installs helm with bash commands for easier command line integration
curl | 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
установить штурвал
sh add_helm.sh
добавить репо
helm repo add kube-eagle
обновить репозиторий
helm repo add kube-eagle
установить куб-орел
helm install --name=kube-eagle kube-eagle/kube-eagle
Визуализация
детали следующим образом:
Общая информация о кластере и информация о ЦП каждого узла
Информация о памяти каждого контейнера и информация о процессоре каждого узла