You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+28Lines changed: 28 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,6 +38,34 @@ Here's a list of types that we use:
38
38
| chore | Other changes that don't modify src or test files |
39
39
| revert | Reverts a previous commit |
40
40
41
+
### Local Testing
42
+
43
+
We recommend you to do local testing on your changes before pushing.
44
+
45
+
You need to first validate your modules:
46
+
47
+
```shell
48
+
make validate-modules
49
+
```
50
+
51
+
Then, lint check:
52
+
53
+
```shell
54
+
make lint
55
+
```
56
+
57
+
For unit tests:
58
+
59
+
```shell
60
+
make test-unit
61
+
```
62
+
63
+
And for end-to-end integration tests:
64
+
65
+
```shell
66
+
make e2e
67
+
```
68
+
41
69
### Further Information
42
70
43
71
*[Contributor License Agreement](https://git.k8s.io/community/CLA.md) Kubernetes projects require that you sign a Contributor License Agreement (CLA) before we can accept your pull requests
| kube_job_status_ready | Gauge | The number of ready pods that belong to this Job. |`job_name`=<job-name> <br> `namespace`=<job-namespace>| EXPERIMENTAL |
Copy file name to clipboardExpand all lines: docs/metrics/workload/pod-metrics.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,8 +29,8 @@
29
29
| kube_pod_status_ready_time | Gauge | Time when pod passed readiness probes. | seconds |`pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `uid`=<pod-uid>| EXPERIMENTAL | - |
30
30
| kube_pod_status_container_ready_time | Gauge | Time when the container of the pod entered Ready state. | seconds |`pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `uid`=<pod-uid>| EXPERIMENTAL | - |
31
31
| kube_pod_container_status_restarts_total | Counter | The number of container restarts per container ||`container`=<container-name> <br> `namespace`=<pod-namespace> <br> `pod`=<pod-name> <br> `uid`=<pod-uid>| STABLE | - |
32
-
| kube_pod_container_resource_requests | Gauge | The number of requested request resource by a container. It is recommended to use the `kube_pod_resource_requests` metric exposed by kube-scheduler instead, as it is more precise. |`cpu`=<core> <br> `memory`=<bytes>|`resource`=<resource-name> <br> `unit`=<resource-unit> <br> `container`=<container-name> <br> `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `node`=< node-name> <br> `uid`=<pod-uid>|EXPERIMENTAL| - |
33
-
| kube_pod_container_resource_limits | Gauge | The number of requested limit resource by a container. It is recommended to use the `kube_pod_resource_limits` metric exposed by kube-scheduler instead, as it is more precise. |`cpu`=<core> <br> `memory`=<bytes>|`resource`=<resource-name> <br> `unit`=<resource-unit> <br> `container`=<container-name> <br> `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `node`=< node-name> <br> `uid`=<pod-uid>|EXPERIMENTAL| - |
32
+
| kube_pod_container_resource_requests | Gauge | The number of requested request resource by a container. It is recommended to use the `kube_pod_resource_requests` metric exposed by kube-scheduler instead, as it is more precise. |`cpu`=<core> <br> `memory`=<bytes>|`resource`=<resource-name> <br> `unit`=<resource-unit> <br> `container`=<container-name> <br> `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `node`=< node-name> <br> `uid`=<pod-uid>|BETA| - |
33
+
| kube_pod_container_resource_limits | Gauge | The number of requested limit resource by a container. It is recommended to use the `kube_pod_resource_limits` metric exposed by kube-scheduler instead, as it is more precise. |`cpu`=<core> <br> `memory`=<bytes>|`resource`=<resource-name> <br> `unit`=<resource-unit> <br> `container`=<container-name> <br> `pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `node`=< node-name> <br> `uid`=<pod-uid>|BETA| - |
34
34
| kube_pod_overhead_cpu_cores | Gauge | The pod overhead in regards to cpu cores associated with running a pod | core |`pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `uid`=<pod-uid>| EXPERIMENTAL | - |
35
35
| kube_pod_overhead_memory_bytes | Gauge | The pod overhead in regards to memory associated with running a pod | bytes |`pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `uid`=<pod-uid>| EXPERIMENTAL | - |
36
36
| kube_pod_runtimeclass_name_info | Gauge | The runtimeclass associated with the pod ||`pod`=<pod-name> <br> `namespace`=<pod-namespace> <br> `uid`=<pod-uid>| EXPERIMENTAL | - |
0 commit comments