Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MON-3548: Merge tag v2.10.1 #106

Merged
merged 109 commits into from Dec 5, 2023

Conversation

dgrisonnet
Copy link
Member

What this PR does / why we need it:

How does this change affect the cardinality of KSM: (increases, decreases or does not change cardinality)

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

mrueg and others added 30 commits February 10, 2023 17:00
Co-authored-by: Mario Constanti <github@constanti.de>
feat: Enable semantic commit messages
Signed-off-by: Maxime Leroy <19607336+maxime1907@users.noreply.github.com>
Signed-off-by: Maxime Leroy <19607336+maxime1907@users.noreply.github.com>
docs: update multi-arch version to v2.9.2 in README.md
Adds a paragraph on RBAC and removes the outdated information on setting
the customresource in the --resources flag.

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
docs: Document RBAC and remove outdated info
In order to better identify, prioritize, and debug webhook latency
issues it is important to have a metric that would point to the resource
it is responsible for.  However, it is not possible to have that
dimension in the metrics exposed by Kubernetes because of the unbound
cardinality that such a label would have.

The name of the webhook could be an alternative since it usually
contains some information about the resource that the webhook targets,
however this is not very practical to use in multi-tenants
environments.

A solution for these kind of platform is to tie a specific webhook to a
namespace in order to be able to know which tenant manages it and take
actions depending on that. This is achieveable by leveraging the client
config information of webhooks configured via WebhookConfiguration
resources since Services are namespaced objects.

With these new metrics, users will be able to split the alerting
severity of webhook latency / rejection rate per namespace on top of
being able to do it based on the webhook name. This is key in
environment where administrators don't have control over the webhooks
installed by the various tenants.

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
build: Reorder CI steps to use go mod cache
I will be removing myself from the maintainers role due to
available time to work on KSM.

Signed-off-by: fpetkovski <filip.petkovsky@gmail.com>
…maintainer

chore: Remove myself from maintainers
Signed-off-by: Manuel Rüger <manuel@rueg.eu>
fix: Add filtering for Lease metrics
feat: Add webhooks client config service metrics
…estamp

feat(pvc): support kube_persistentvolumeclaim_deletion_timestamp
rexagod and others added 4 commits October 8, 2023 23:54
Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
Additionally bump x/net to v0.17.0 on `main` as well.

Signed-off-by: Pranshu Srivastava <rexagod@gmail.com>
chore: Restructure `release-2.10` for `v2.10.1`
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Dec 1, 2023
Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
@simonpasquier
Copy link

/cc @rexagod

@openshift-ci openshift-ci bot requested a review from rexagod December 4, 2023 10:26
Copy link

openshift-ci bot commented Dec 4, 2023

@dgrisonnet: all tests passed!

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rexagod
Copy link
Member

rexagod commented Dec 4, 2023

/lgtm

Only the following files' diffs differ, which makes sense.

.ci-operator.yaml
.dockerignore
.gitignore
Dockerfile.ocp
OWNERS

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Dec 4, 2023
Copy link

openshift-ci bot commented Dec 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dgrisonnet, rexagod

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rexagod
Copy link
Member

rexagod commented Dec 4, 2023

FYI I can see a rhel-9 update on https://pkgs.devel.redhat.com/cgit/containers/kube-state-metrics/. Should we consider upgrading, in a future PR?

@dgrisonnet
Copy link
Member Author

I tried pulling the updated manifests in CMO by revendoring kube-prometheus but for some reasons, make update + generate didn't fetch the 2.10.1 ksm manifests. If any of you have some time to look into it, that would very appreciated

@simonpasquier
Copy link

@rexagod are you talking about #105? It seems unrelated to this PR.

@dgrisonnet CMO is pinned to the main branch of kube-prometheus which is itself pinned to the main branch of kube-state-metrics. Why do you need the updated jsonnet from ksm?

@dgrisonnet
Copy link
Member Author

I just wanted to align to have the correct annotations. That how I recalled we did it before.

Yeah I saw that it was pinned to main. When I updated the lock file pointed to the right commit but regenerating didn't get the new ksm version annotations.

@simonpasquier
Copy link

simonpasquier commented Dec 4, 2023

Component versions are handled separately and will be synced automatically when this PR is merged.

@rexagod
Copy link
Member

rexagod commented Dec 4, 2023

Ah, it seems I somehow missed #105. I'll open up a PR to remove the rhel-8 images from openshift/release as we've done for others. 👍🏼

Copy link

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a JIRA ticket to merge this. Looking at the changelog, I don't see a bug that we could "leverage" but maybe I missed something. It's also ok to create a ticket in the MON project and link it here.

@rexagod
Copy link
Member

rexagod commented Dec 5, 2023

/retitle MON-3548: Merge tag v2.10.1
/jira refresh

@openshift-ci-robot
Copy link

openshift-ci-robot commented Dec 5, 2023

@rexagod: No Jira issue is referenced in the title of this pull request.
To reference a jira issue, add 'XYZ-NNN:' to the title of this pull request and request another refresh with /jira refresh.

In response to this:

/retitle MON-3548: Merge tag v2.10.1
/jira refresh

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot changed the title Merge tag v2.10.1 MON-3548: Merge tag v2.10.1 Dec 5, 2023
@openshift-ci-robot
Copy link

openshift-ci-robot commented Dec 5, 2023

@dgrisonnet: This pull request references MON-3548 which is a valid jira issue.

Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the task to target the "4.15.0" version, but no target version was set.

In response to this:

What this PR does / why we need it:

How does this change affect the cardinality of KSM: (increases, decreases or does not change cardinality)

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Dec 5, 2023
@rexagod
Copy link
Member

rexagod commented Dec 5, 2023

/jira refresh

@openshift-merge-bot openshift-merge-bot bot merged commit 80d41fa into openshift:master Dec 5, 2023
7 checks passed
@openshift-bot
Copy link

[ART PR BUILD NOTIFIER]

This PR has been included in build kube-state-metrics-container-v4.15.0-202312060008.p0.g80d41fa.assembly.stream for distgit kube-state-metrics.
All builds following this will include this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet