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
Ingress controller has labels in pods #30045
Comments
@sowmyav27, the process I've tested now is as per below:
I have tested this process against multiple downstream clusters behind Rancher v2.5.2 and Rancher v2.4.10 and it's resolved the issue from what I can pick up. |
Personally, I've just installed my patched ingress-nginx into our cluster again (here is the patch). This resolves the problem by making the ingress controller ignore Rancher's podName label. |
For testing: Fresh Install Rancher v2.4-head and v2.5-head
Upgrade Scenario:
Note: There are a few ways Ingress could be redeployed.
Upgrade Scenario from v2.4.9/v2.4.10/v2.5.2:
|
Fresh Install use case - On 2.4-head - commit id:
|
Thanks, @kinarashah and @sowmyav27 for the quick turnaround on this :) |
Fresh Install use case - On
|
Closing this as its been validated on 2.5.3 and 2.4 branches. |
What kind of request is this (question/bug/enhancement/feature request): bug
Steps to reproduce (least amount of steps as possible):
Upgrade usecase:
Initializing
state.podName
label on and offfield.cattle.io/podName: nginx-ingress-controller-bfnkt
label on the ingress controller is seen.Expected Result:
field.cattle.io/podName: nginx-ingress-controller-bfnkt
label on the ingress controller should NOT be seenOther details that may be helpful:
Environment information
rancher/rancher
/rancher/server
image tag or shown bottom left in the UI): 2.4.8 to 2.5.2Cluster information
kubectl version
):The text was updated successfully, but these errors were encountered: