Monitoring Prometheus mkdir ~/monitoring && cd ~/monitoring helm repo add prometheus-community https://prometheus-community.github.io/helm-charts helm repo update helm upgrade --install --namespace monitoring \ --create-namespace \ prometheus prometheus-community/prometheus # cloud instance IP4=$(/sbin/ip -o -4 addr list eth0 | awk '{print $4}' | cut -d/ -f1) # notebook IP4=$(/sbin/ip -o -4 addr list br2 | awk '{print $4}' | cut -d/ -f1) export POD_NAME=$(kubectl get pods --namespace monitoring -l "app=prometheus,component=server" -o jsonpath="{.items[0].metadata.name}") kubectl --namespace monitoring port-forward --address $IP4 $POD_NAME 9090 & Add Alert Rules to prometheus cat >values.yaml <