项目作者: halradaideh

项目描述 :
a tool to monitor pv sizes in GKE and push metrics to GCP monitor
高级语言: Go
项目地址: git://github.com/halradaideh/gke-pvc-calculator.git
创建时间: 2020-09-15T15:33:06Z
项目社区:https://github.com/halradaideh/gke-pvc-calculator

开源协议:

下载


GKE pvc Calculator / Doesn’t work and is no longer supported.

This tool was created to export PVC statistics to GCP monitor as metrics, in order to create alerts and monitor disk usage.

The tool is a go program that mount the host mount points of the pvs and check there size. it is deployed as a daemonset in all the kubernetes nodes.


to build :

  1. $ docker build -t image:tag .

notes:

  • please update the image on the deployment with the proper name and tag
  • please add GCP_PROJECT with the name of you project to watch

to deploy, go to the deploy directory and apply the yaml files

  1. $ kubectl apply -f rbac.yaml
  2. $ kubectl apply -f gke-daemonset.yaml

todo :

  • remove hack from code
  • create helm deployment

Thanks to Harris Dimitriou.