-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
pod disruption budget is created for default backend when default backend creation is disabled, but default backend replicas are set to 1 or more #7271
Comments
/remove-kind bug
Also, PRs would be welcomed for review so wondering if you want to |
Here is my updated information:
In the pbd template file, there is a condition to create a pbd if default backend replicas are greater than 1. The issue occurs in the scenario where I have disabled the default backend , but I have set more than 1 replicas for the default backend. In this case, a pbd is created even than the default backend is not deployed. I am using helmfile for a multiple environment setup. That is why in some scenarios I have replicas:2 and enabled:false I will raise a PR with the proposed solution. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
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. |
…icas-gt-1 (#8155) * feat: avoid-pdb-creation-when-default-backend-disabled-and-replicas-gt-1 * fix: added-eol * feat: avoid-pdb-creation-when-default-backend-disabled-and-replicas-gt-1 * fix: added-eol
…d-and-replicas-gt-1 (kubernetes#8155) * feat: avoid-pdb-creation-when-default-backend-disabled-and-replicas-gt-1 * fix: added-eol * feat: avoid-pdb-creation-when-default-backend-disabled-and-replicas-gt-1 * fix: added-eol
NGINX Ingress controller version:
Kubernetes version (use
kubectl version
):Environment:
uname -a
):What happened:
What you expected to happen:
PBD should not be created when default-backend deployment creation is set to disabled
How to reproduce it:
Anything else we need to know:
Adding the same if condition that the deployment creation have will solve the issue:
/kind bug
The text was updated successfully, but these errors were encountered: