- Method 1 – Using Zabbix in Kubernetes Template
- Method 2 – Using prometheus operator in Kubernetes clustor & Zabbix Integration with prometheus
- Method 3 – Using Zabbix operator – Under Developement
Method 1 – Using Zabbix in Kubernetes Template
Step 1 – Setup a Kubernetes Clustor
Step 2 – How Kubernetes Monitoring Works?
All the moniotring is done using
- Docker – Its a running deamon, you can find in each host
- Kubelet – Its a running deamon, you can find in each host
- API of Kubernetes Components such API server,Controller manager, Scheduler etc
Step 3 – Understand How to fetch metrices from API in Kubernetes?
You need 2 information
- API Adress(URL). ie. {$KUBE.API.SERVER.URL}
- Access (Password – Token – Certificate). ie. {$KUBE.API.TOKEN}
Step 4 – Decice what you want to monitor? Choose a template accordingly.
- Kubernetes API server by HTTP
- Kubernetes cluster state by HTTP
- Kubernetes Controller manager by HTTP
- Kubernetes kubelet by HTTP
- Kubernetes nodes by HTTP
- Kubernetes Scheduler by HTTP
Step 5 – Add Host in Zabbix and Choose Kubernetes template and Set your template Macros as the per setup
- https://github.com/sleepka/zabbix-kubernetes-monitoring
- https://github.com/FU-Solutions/zabbix_kubernetes_checks
Method 2 – Using prometheus operator in Kubernetes clustor & Zabbix Integration with prometheus
- prometheus is written in golang
- kubernetes is written in golang
- prometheus is a cncf project like kubernetes
- prometheus integ with kubernetes is very powerful compare to all
- To monitor kubernetes, prometheus has kubernetes operator which is very powerful and easy
https://www.zabbix.com/integrations/prometheus
Method 3 – Using Zabbix operator – Under Developement
I’m a DevOps/SRE/DevSecOps/Cloud Expert passionate about sharing knowledge and experiences. I am working at Cotocus. I blog tech insights at DevOps School, travel stories at Holiday Landmark, stock market tips at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at I reviewed , and SEO strategies at Wizbrand.
Please find my social handles as below;
Rajesh Kumar Personal Website
Rajesh Kumar at YOUTUBE
Rajesh Kumar at INSTAGRAM
Rajesh Kumar at X
Rajesh Kumar at FACEBOOK
Rajesh Kumar at LINKEDIN
Rajesh Kumar at PINTEREST
Rajesh Kumar at QUORA
Rajesh Kumar at WIZBRAND