BCRDC / BCCS-CMPP

cluster solution for cmpp protocol in Azure kubernetes
0 stars 0 forks source link

azure kubenetes metric #5

Open JHinW opened 3 years ago

JHinW commented 3 years ago

how to get metrics from within a pod container:

https://github.com/kubernetes-client/csharp/blob/master/examples/metrics/Program.cs

JHinW commented 3 years ago

to expose Pod Information to containers in pod: https://kubernetes.io/docs/tasks/inject-data-application/downward-api-volume-expose-pod-information/

JHinW commented 3 years ago

kubernetes api permissions: https://github.com/kubernetes-client/csharp/issues/273#issuecomment-492114211

service roles https://github.com/devopscube/kubenetes-rbac-resources-verbs