Codementor Events

Monitor Kubernetes cluster with Kube Eagle

Published May 01, 2019

install helm

Helm is the npm of the Kubernetes cluster

download add_helm.sh

The contents of the script are as follows:

#!/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

install helm

sh add_helm.sh

add repo

helm repo add kube-eagle https://raw.githubusercontent.com/google-cloud-tools/kube-eagle-helm-chart/master

update repo

helm repo add kube-eagle https://raw.githubusercontent.com/google-cloud-tools/kube-eagle-helm-chart/master

install kube-eagle

helm install --name=kube-eagle kube-eagle/kube-eagle

Visualization

details as follows:
kube-eagle.jpg

Cluster overall and CPU information of each node
kube-eagle-2.jpg

Memory information of each container and cpu information of each node

Discover and read more posts from 沉风
get started
post commentsBe the first to share your opinion
Show more replies