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

IC unable to update pod labels intermittently #4833

Closed
vepatel opened this issue Dec 21, 2023 · 0 comments · Fixed by #4835
Closed

IC unable to update pod labels intermittently #4833

vepatel opened this issue Dec 21, 2023 · 0 comments · Fixed by #4835
Assignees
Labels
backlog Pull requests/issues that are backlog items bug An issue reporting a potential bug
Milestone

Comments

@vepatel
Copy link
Contributor

vepatel commented Dec 21, 2023

Describe the bug
IC unable to update pod labels intermittently

Failed to set labels:

~/nginx/kubernetes-ingress/charts/nginx-ingress on tags/v3.4.0 ● λ klogf test-release-nginx-ingress-controller-6774c49699-kx8q2 

NGINX Ingress Controller Version=3.4.0 Commit=0811b5c898f25d578f72a629fedef506a6511730 Date=2023-12-19T11:10:02Z DirtyState=false Arch=linux/amd64 Go=go1.21.3
I1221 12:35:18.470225       1 main.go:260] Kubernetes version: 1.26.10
I1221 12:35:18.491764       1 main.go:406] Using nginx version: nginx/1.25.1 
E1221 12:35:18.714738       1 main.go:816] Error updating pod with labels: Operation cannot be fulfilled on pods "test-release-nginx-ingress-controller-6774c49699-kx8q2": the object has been modified; please apply your changes to the latest version and try again

Labels set successfully:

~/nginx/kubernetes-ingress/charts/nginx-ingress on tags/v3.4.0 ● λ klogf test-release-nginx-ingress-controller-6774c49699-rzfvf 

NGINX Ingress Controller Version=3.4.0 Commit=0811b5c898f25d578f72a629fedef506a6511730 Date=2023-12-19T11:10:02Z DirtyState=false Arch=linux/amd64 Go=go1.21.3
I1221 12:41:15.688329       1 main.go:260] Kubernetes version: 1.26.10
I1221 12:41:15.714039       1 main.go:406] Using nginx version: nginx/1.25.1
I1221 12:41:15.755983       1 main.go:820] Pod label updated: test-release-nginx-ingress-controller-6774c49699-rzfvf

To Reproduce
Steps to reproduce the behavior:
Intermittent issue when IC is deployed using helm-charts

Expected behavior
Labels should be updated properly

@vepatel vepatel added bug An issue reporting a potential bug backlog Pull requests/issues that are backlog items labels Dec 21, 2023
@oseoin oseoin self-assigned this Dec 22, 2023
@oseoin oseoin linked a pull request Dec 22, 2023 that will close this issue
6 tasks
@vepatel vepatel added this to the v3.5.0 milestone Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Pull requests/issues that are backlog items bug An issue reporting a potential bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants