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

Disable Kong(Cluster)Plugin Programmed status #4581

Closed
wants to merge 2 commits into from

Conversation

rainest
Copy link
Contributor

@rainest rainest commented Aug 28, 2023

What this PR does / why we need it:

Disables Kong(Cluster)Plugin status updates. Add TODOs for the relevant bug.

Which issue this PR fixes:

Multiple KIC instances in the same cluster will fight over plugin statuses because plugins have no class. We don't want them to have class, unless they're global.

Special notes for your reviewer:

Double duty as a release PR for #4582. AFAIK we're no longer doing updates other than the fixes themselves since we're now using relative tags, so the manifests remain unchanged.

A proper fix for this probably requires breaking out the plugin controller, so I think we want a hotfix for now. The feature isn't critical.

See https://github.com/Kong/kubernetes-ingress-controller/pull/4412/files for the original change. There are some other struct changes there, but AFAIK disabling the reconciler bit alone avoids the issue.

Didn't want to send this to main and backport since it touches generated code. I think we need to cherry-pick the first commit and generate separately if we don't have a more complete fix in for 2.12. There haven't been changes to the generated controllers since 2.11.0, so this one's actually fine.

PR Readiness Checklist:

Complete these before marking the PR as ready to review:

  • the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR Separately to main only. chore(doc) add 2.11.1 changelog #4583

@rainest rainest requested a review from a team as a code owner August 28, 2023 23:46
@rainest rainest force-pushed the fix/kongplugin-status branch 2 times, most recently from cd20730 to 348b604 Compare August 29, 2023 00:04
@rainest rainest added the ci/run-e2e Trigger e2e test run from PR label Aug 29, 2023
@team-k8s-bot
Copy link
Collaborator

E2E (targeted) tests with KIND-based clusters were started at https://github.com/Kong/kubernetes-ingress-controller/actions/runs/6006317944

@team-k8s-bot team-k8s-bot removed the ci/run-e2e Trigger e2e test run from PR label Aug 29, 2023
@rainest rainest mentioned this pull request Aug 29, 2023
1 task
Disable the Kong(Cluster)Plugin programmed condition. This caused a bug
in multi-class environments.

Add a TODO explaining the issue.
@rainest rainest changed the base branch from release/2.11.x to main August 29, 2023 00:26
@rainest rainest added backport release/2.11.x ci/run-e2e Trigger e2e test run from PR labels Aug 29, 2023
@rainest
Copy link
Contributor Author

rainest commented Aug 29, 2023

Apparently I broke CI. Closing and trying again.

@rainest rainest closed this Aug 29, 2023
@team-k8s-bot
Copy link
Collaborator

E2E (targeted) tests with KIND-based clusters were started at https://github.com/Kong/kubernetes-ingress-controller/actions/runs/6006516334

@team-k8s-bot team-k8s-bot removed the ci/run-e2e Trigger e2e test run from PR label Aug 29, 2023
@pmalek pmalek deleted the fix/kongplugin-status branch August 29, 2023 09:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants