Commit Graph

1644 Commits

Author SHA1 Message Date
Lili Cosic c3121e74bf docs/pod-metrics.md: Adjust docs and stability 2021-02-24 17:00:27 +01:00
Lili Cosic fa5e260535 internal/store/pod.go: Only create last_terminated containers series if pods are
terminated. This reduces the cardinality of this metric greatly, as it was
one of the highest cardinality metrics pre 2.0.
2021-02-24 16:59:53 +01:00
Kubernetes Prow Robot 7031cb7db1
Merge pull request #1381 from lilic/remove-all-reason
internal/store/pod.go: Only create terminated_reason series if pods are in terminated state
2021-02-16 04:21:06 -08:00
Kubernetes Prow Robot 652268759e
Merge pull request #1372 from lou-lan/fix/gzip
Fix gzip writer
2021-02-15 06:17:05 -08:00
lou-lan 483b77a523 Fix gzip writer 2021-02-15 21:57:20 +08:00
Lili Cosic 950a173907 docs/pod-metrics.md: Mark changed metrics as experimental 2021-02-09 15:51:55 +01:00
Lili Cosic 99838a5762 Adjust unit tests 2021-02-09 15:50:38 +01:00
Lili Cosic 025ae126df internal/store/pod.go: Only create terminated_reason series if pods are
terminated. This reduces the cardinality of this metric greatly, as it was
one of the highest cardinality metrics pre 2.0.
2021-02-09 15:50:38 +01:00
Kubernetes Prow Robot bd8a7769d3
Merge pull request #1378 from lilic/change-waiting-reason-metrics
internal/store/pod.go: Only create waiting_reason series if pods are in waiting state
2021-02-09 00:32:31 -08:00
Lili Cosic 93aeadc048 docs/pod-metrics.md: Mark metrics as non stable
As with 2.0 we are breaking support for 1.x and previous stabilities.
In case we run into problems this gives us a chance to revert this.
2021-02-08 15:23:44 +01:00
Lili Cosic 9d147ca2b6 Adjust unit tests 2021-02-08 13:55:52 +01:00
Lili Cosic a1b71c0ef0 internal/store/pod.go: Only create waiting_reason series if pods are
waiting. This reduces the cardinality of this metric greatly, as it was
one of the highest cardinality metrics pre 2.0.
2021-02-08 13:45:03 +01:00
Kubernetes Prow Robot 2e356cdf18
Merge pull request #1328 from lilic/bump-1.20
Bump client-go and friends to v0.20 (kubernetes v1.20)
2021-01-04 01:43:55 -08:00
Lili Cosic 18b81768d1 docs/cli-arguments.md: Update generated args 2020-12-17 14:10:50 +01:00
Lili Cosic 752e03c138 tests/e2e.sh: Test against v1.20 kubernetes 2020-12-17 14:10:50 +01:00
Lili Cosic 96780d091e README.md: Update k8s matrix 2020-12-17 14:10:50 +01:00
Lili Cosic 3157560e3d vendor: Revendor 2020-12-17 14:10:50 +01:00
Lili Cosic a164dced6d go.mod, go.sum: Bump to k8s clients to v1.20 2020-12-17 14:10:50 +01:00
Kubernetes Prow Robot baacc7bfe0
Merge pull request #1322 from lilic/promote-2.0-beta
Promote v2.0.0 to beta pre-release
2020-12-04 04:23:59 -08:00
Lili Cosic 165e2a0d5a tests/e2e.sh: Adjust current image name
Because we switched to default registry to gcr, but we are still using
quay for testing, we need to change default image name.
2020-12-04 11:51:44 +01:00
Lili Cosic dab867542c examples: Regenerate files 2020-12-04 11:00:15 +01:00
Lili Cosic bdc40e3b8f Cut v2.0.0-beta release 2020-12-04 11:00:15 +01:00
Kubernetes Prow Robot 975dcb0a08
Merge pull request #1312 from lilic/change-default-image
Change default image registry
2020-11-23 01:21:36 -08:00
Lili Cosic 7da33d403e examples: Regenerate 2020-11-23 09:47:53 +01:00
Lili Cosic 8122ba953f scripts/standard.jsonnet: Change the default image registry to gcr 2020-11-23 09:46:24 +01:00
Kubernetes Prow Robot e7ea806caf
Merge pull request #1307 from lilic/cut-2.0.0-alpha.3
Cut 2.0.0-alpha.3
2020-11-20 02:02:50 -08:00
Lili Cosic 023a8627a5 examples: Regenerate 2020-11-19 14:37:11 +01:00
Lili Cosic 3b2e6548b3 Cut 2.0.0-alpha.3 version 2020-11-19 14:37:11 +01:00
Kubernetes Prow Robot 6141abc1b8
Merge pull request #1301 from lilic/optimize-filter-labels
Adjust and refactor allowing labels to work for kubernetes labels metrics
2020-11-19 04:28:50 -08:00
Lili Cosic a551501d88 .golangci.yml: Due to refactor of the resources from a var to a function
this uncovered a cyclomatic complexity 127 for podMetricFamilies.
2020-11-18 15:59:19 +01:00
Lili Cosic 3b23d01afe pkg/options/types.go: Adjust Set to parse new flag params 2020-11-18 15:59:19 +01:00
Lili Cosic cdad26ed53 vendor 2020-11-18 15:59:19 +01:00
Lili Cosic 37e834eca2 go.mod,go.sum 2020-11-18 15:59:19 +01:00
Lili Cosic 0f4c5128ec internal/store: Rework label allow list for label metrics 2020-11-18 15:59:19 +01:00
Kubernetes Prow Robot 7e45630d93
Merge pull request #1293 from jimmyseto/fix_container_resource_limits
fix container resource limits metrics, which got dropped btwn 2.0.0-a…
2020-11-03 06:54:16 -08:00
Jimmy K Seto 9078a53265 fix container resource limits metrics, which got dropped btwn 2.0.0-alpha.1 and 2.0.0-alpha.2 2020-11-02 14:48:04 -05:00
Kubernetes Prow Robot 9862ba2f1e
Merge pull request #1285 from lilic/merge-master-2.0
Merge master into release-2.0 branch
2020-10-28 02:33:56 -07:00
Kubernetes Prow Robot a4867d8809
Merge pull request #1284 from lilic/release-2.0.0-alpha.2
Cut v2.0.0-alpha.2
2020-10-27 09:18:01 -07:00
Lili Cosic 563ef101b5 examples: Regenerate 2020-10-27 17:07:29 +01:00
Lili Cosic b654d8bf15 Cut release v2.0.0-alpha.2 2020-10-27 17:07:29 +01:00
Kubernetes Prow Robot 26f5e006f2
Merge pull request #1282 from kubernetes/lili-templates
.github/: Update issue templates
2020-10-27 03:12:02 -07:00
Lili Cosic 812404423c .github/ISSUE_TEMPLATE.md: Cleanup 2020-10-27 10:37:00 +01:00
Lili Cosic eb3b4f8ad1 .github/: Update issue templates 2020-10-27 10:33:21 +01:00
Kubernetes Prow Robot 00085a19b0
Merge pull request #1276 from egernst/runtimeclass
pod: add gauge for runtimeclass handler
2020-10-26 08:15:02 -07:00
Eric Ernst 0cb814f725 pod: add gauge for runtimeclass handler
Add a metric gauge to provide observability for the runtimeclass
used for running a pod.

Signed-off-by: Eric Ernst <eric_ernst@apple.com>
2020-10-26 08:03:31 -07:00
Kubernetes Prow Robot 550d227c26
Merge pull request #1278 from lilic/revert-pod-res-metrics
Revert "Rework resource metrics"
2020-10-26 07:39:01 -07:00
Lili Cosic 2c65e6f77a docs/pod-metrics.md: Adjust docs 2020-10-26 14:46:28 +01:00
Lili Cosic b92fd141c8 Adjust unit tests 2020-10-26 14:04:34 +01:00
Lili Cosic df83631c0a internal/store/pod.go: Revert "Rework resource metrics" 2020-10-26 14:04:34 +01:00
Kubernetes Prow Robot 013d43a2b9
Merge pull request #1275 from metalmatze/no-ksonnet
Remove ksonnet and move to absolute import paths
2020-10-23 03:03:44 -07:00