File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -31,8 +31,9 @@ This way kube-state-metrics allows the user to have full control on how they wan
3131### Static object properties
3232
3333An object usually has a stable set of properties that do not change during its lifecycle in Kubernetes.
34- This includes properties like name, namespace, uid etc.
34+ This includes properties like name, namespace, uid etc. that have a 1:1 relationship with the object.
3535It is a good practice to group those together into an ` _info ` metric.
36+ If there is a 1: n relationship (e.g. a list of ports), it should be in a separate metric to avoid generating too many metrics.
3637
3738### Dynamic object properties
3839
@@ -41,7 +42,6 @@ These change during the lifecycle of the object.
4142For example a pod can be in different states like "Pending", "Running" etc.
4243These should be part of a "State Set" that includes labels that identify the object as well as the dynamic property.
4344
44- For example:
4545
4646### Linked properties
4747
You can’t perform that action at this time.
0 commit comments