EKS-Cluster
kubectl apply -f node-exporter
kubectl apply -f kube-state-metrics
kubectl apply -f alertmanager
kubectl apply -f prometheus
Here I kept two rules: (we can get alaram)
- CPU Utilization High for Nodes
- Pod status Pending/Unknown
kubectl apply -f nginx-deployment.yml
Nginx Pod status will be under pending state, So will get Alaram