Skip to content

Conversation

@rexagod
Copy link
Member

@rexagod rexagod commented Jan 20, 2024

  • One-line PR description: Mark the feature as stable, since we've been on beta for a while now.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. labels Jan 20, 2024
@k8s-ci-robot k8s-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jan 20, 2024
@rexagod rexagod force-pushed the kep-mce branch 2 times, most recently from 730e33f to a7a372f Compare January 25, 2024 14:21
Mark the feature as stable, since we've been on beta for a while now.

Signed-off-by: Pranshu Srivastava <[email protected]>
@dgrisonnet
Copy link
Member

/assign

@dgrisonnet
Copy link
Member

/assign @dashpole

alpha: "v1.21"
beta: "v1.28"
stable: "v1.30"
disable-supported: true
Copy link

Choose a reason for hiding this comment

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

Do we still support disabling it?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think we have historically flipped that after reaching GA. For the next year at least, people will be using older versions so it's still relevant for those. Not very consistent though. FYI, looks like 94 of "stable" KEPs still say "true", 25 say "false" (not sure if they were always false though):

[hi on] jbelamaric@jbelamaric:~/proj/gh/kubernetes/enhancements$ grep ^disable-supported $(grep -l '^stage: stable' $(find . -name kep.yaml)) | cut -d : -f 3 | sort | uniq -c
     25  false
     94  true
[hi on] jbelamaric@jbelamaric:~/proj/gh/kubernetes/enhancements$ 

Copy link

Choose a reason for hiding this comment

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

Generally available means you can't disable the feature gate, according to https://kubernetes.io/docs/reference/command-line-tools-reference/feature-gates/#feature-stages

@johnbelamaric
Copy link
Member

PRR looks good, we need SIG approval though.

Do we have any tooling/plan to identify potential run-away metrics cardinality so we can preemptively deal with this, rather than making the admin do it ad hoc?

Copy link
Member

@dgrisonnet dgrisonnet left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 7, 2024
@dgrisonnet
Copy link
Member

@johnbelamaric we thought about that in the past not only in Kubernetes but also with the Prometheus community but we haven't been able to find any solution that would allow us to do it preemptively without too much overhead. Here is a thread I started at some point, but we didn't pursue it prometheus/client_golang#970.

Since this cardinality enforcement method has been in place and metrics are more actively reviewed and developers are generally more aware of cardinality issues, cardinality explosions have been extremely rare and so we haven't discuss adding a preemptive mechanism since.

@johnbelamaric
Copy link
Member

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dgrisonnet, johnbelamaric, 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 7, 2024
@k8s-ci-robot k8s-ci-robot merged commit 06b4574 into kubernetes:master Feb 7, 2024
@k8s-ci-robot k8s-ci-robot added this to the v1.30 milestone Feb 7, 2024
@pacoxu pacoxu mentioned this pull request Jun 18, 2024
15 tasks
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/kep Categorizes KEP tracking issues and PRs modifying the KEP directory lgtm "Looks good to me", indicates that a PR is ready to be merged. sig/instrumentation Categorizes an issue or PR as relevant to SIG Instrumentation. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants