Skip to content

Conversation

@danwinship
Copy link
Contributor

kind of spinoff of #52937

This removes the "ingress-nginx with minikube" example (and doesn't replace it, since we don't want people using Ingress anyway), and one well-known annotation (which really had no reason to be in that file anyway)

@robscott @aojea @lmktfy

We don't want to recomment ingress-nginx any more.

Also, we don't really want to recommend Ingress any more, so we're not
going to replace this with anything else.
@k8s-ci-robot k8s-ci-robot added language/en Issues or PRs related to English language cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 6, 2025
@k8s-ci-robot k8s-ci-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Nov 6, 2025
@netlify
Copy link

netlify bot commented Nov 6, 2025

Pull request preview available for checking

Built without sensitive environment variables

Name Link
🔨 Latest commit 2308870
🔍 Latest deploy log https://app.netlify.com/projects/kubernetes-io-main-staging/deploys/690e12efe077450008b392aa
😎 Deploy Preview https://deploy-preview-53110--kubernetes-io-main-staging.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Member

@robscott robscott left a comment

Choose a reason for hiding this comment

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

Thanks for handling this, I'd been meaning to get back to my PR, but this is a much clearer starting point.

Copy link
Member

@lmktfy lmktfy left a comment

Choose a reason for hiding this comment

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

I can't see good grounds for removing nginx.ingress.kubernetes.io/configuration-snippet from the list.

If we want to change our conventions, let's get SIG Docs to confirm it (and I recommend seeing if SIG Architecture have a concern, too).

/hold
pending an exception or policy change

@k8s-ci-robot k8s-ci-robot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 7, 2025
Copy link
Member

Choose a reason for hiding this comment

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

nit: for this specific removal, I recommend back porting it

@danwinship
Copy link
Contributor Author

danwinship commented Nov 7, 2025

Ingress-nginx defines around 150 annotations. Clearly it doesn't make sense to document exactly 1 of them here. (Especially if it's not even the 1 that is used in the other Ingress documentation.)

What conventions are you referring to? Is there a rule that says we're supposed to document every known annotation with a "*.k8s.io" name in this list?

@danwinship
Copy link
Contributor Author

removed the annotation change; now this just removes the minikube example

@rikatz
Copy link
Member

rikatz commented Nov 7, 2025

I will add a single comment here because I do think the nginx annotation should be removed.

The PR that added this annotation was on #43950 and if we take the "ownership model" I can't see any ingress-nginx maintainer (and I was one on that time) or anyone from sig-network (who are the effective people who know about specific network annotations and labels) to be tagged on this PR before merging it.

Speaking about risks: configuration-snippet was INTENTIONALLY removed and marked as risky because we wanted to keep people away from it, yet there was a decision to add it to the main Kubernetes docs.

I would very much request that this is reconsidered and this annotation is removed from the documentation, it doesn't make any sense at all on why it was added first.

@aojea
Copy link
Member

aojea commented Nov 7, 2025

I can't see good grounds for removing nginx.ingress.kubernetes.io/configuration-snippet from the list.

that is a legacy annotation that with current rules should have not be done, but we need to live with that.
The goal is precisely to avoid the misunderstanding you are having @lmktfy and that most people have, that is not an official API and not approved by SIG Network ... it should not be in the official docs

@aojea
Copy link
Member

aojea commented Nov 7, 2025

/lgtm
/approve

@lmktfy please let us know how to move forward with this, we are willing to follow the best practices and conventions, but we need to remove this false sensation of officiality on ingress-nginx

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 7, 2025
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: aojea, robscott
Once this PR has been reviewed and has the lgtm label, please assign reylejano for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found 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
Copy link
Contributor

LGTM label has been added.

Git tree hash: fcd3cf792aeb73944afbe8f554c6ebdea8935744

@rikatz
Copy link
Member

rikatz commented Nov 7, 2025

/hold
@danwinship if possible can you remove (again) the annotation? then LGTM as well

@lmktfy
Copy link
Member

lmktfy commented Nov 7, 2025

Folks, especially SIG Network folks: I really don't want to see an unhelpful precedent set here.

Dropping the annotation explanation and marking it deprecated? Sure. Uncontroversial.

Taking a registered thing and removing it as if it never existed? It's a new thing, we have never done it. Please pick the easy route and just deprecate it for now.

In fact, if this weren't held, I would merge it, and then the argument about removing an existing annotation – that is actually used - could happen elsewhere.

Anyway, I am making this point because I think it doesn't serve our end users to delete registered annotations. We should keep a record, in more than Git history, that this was once something that our code recognised.


This is the only page with that special property, of being both documentation and our registration point. For any other page, I wouldn't object.

Timing is unfortunate. It is the weekend. I will be back online next week.

@danwinship
Copy link
Contributor Author

/hold cancel
the annotation can be removed separately if we reach agreement on it. it doesn't need to block this PR

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. language/en Issues or PRs related to English language lgtm "Looks good to me", indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants