deis / monitor

Monitoring for Deis Workflow
https://deis.com
MIT License
22 stars 32 forks source link

Metrics: Kube API Server #62

Closed jchauncey closed 8 years ago

jchauncey commented 8 years ago

https://github.com/kubernetes/kubernetes/blob/f91101e0926acf70864dc83de4a1c680b4bf26cb/pkg/metrics/api_server_metrics.go

We should collect the following metrics from the kube api server:

jchauncey commented 8 years ago

You can access the prometheus endpoint for the api server metrics by doing the following:

$ curl https://$KUBERNETES_SERVICE_HOST:$KUBERNETES_SERIVCE_PORT/metrics --header "Authorization: Bearer $TOKEN" --insecure

Where $TOKEN is the service account token located at /var/run/secrets/kubernetes.io/serviceaccount/token