8000 GitHub - backchristoffer/KubeAPI-HealthCheck: Queries kubeapiserver from prometheus
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

backchristoffer/KubeAPI-HealthCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OCP kube-apiserver healthcheck

Checks if kube-apiserver is UP

Use .env with the following variable

Create prometheus-sa if you do not have one

If you need a token that lasts for 30 days, please add --duration=720h. Standard token only lasts for 24h.

$ oc create serviceaccount prometheus-sa -n openshift-monitoring
$ oc create token prometheus-sa -n openshift-monitoring
$ oc adm policy add-cluster-role-to-user view -z prometheus-sa -n openshift-monitoring

About

Queries kubeapiserver from prometheus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0