I am trying to develop dashboards on Grafana that tells the status of different pods with the help of kube labels. Eg: I am able to get the restarts using this label: kube_deployment_status_observed_generation
What i want is the age, For a deployment we can get the age on kuberenetes cluster using, kubectl get deployments NAME READY UP-TO-DATE AVAILABLE AGE deployemnt-test-state 1/1 1 1 6d2h
I want this same age to be shown in Grafana but I am not able to find this “age” anywhere in any label.
Can anyone help me where and how i can get these variables.