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

Pod readiness gates not coming up for new pods #3665

Open
Somnath-Pandey-Vested opened this issue Apr 25, 2024 · 0 comments
Open

Pod readiness gates not coming up for new pods #3665

Somnath-Pandey-Vested opened this issue Apr 25, 2024 · 0 comments

Comments

@Somnath-Pandey-Vested
Copy link

Describe the bug
A concise description of what the bug is.
I have injected the readiness gate at the namespace level. When i try to deploy the pod using helm the readiness gate is coming as 1/1 but when i execute the below command
`kubectl get po invest-test-66db578799-gcfg5 -n readiness -o yaml | grep -B7 'type: target-health'
path: namespace
status:
conditions:

  • lastProbeTime: null
    lastTransitionTime: "2024-04-25T12:29:53Z"
    message: Target Group Binding is deleted
    status: "True"
    type: target-health.elbv2.k8s.aws/k8s-readines-investte-a2b6b3aaf3
    when i do an upgrade of the same helm chart then the readiness gate is not coming upkubectl get po -o wide -n readiness
    NAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATES
    invest-test-66db578799-z44xk 1/1 Running 0 4m51s 10.3.18.153 ip-10-3-18-70.ap-south-1.compute.internal 0/1
    invest-test-68f44889b4-ndx84 1/1 Running 0 9m 10.3.18.36 ip-10-3-18-70.ap-south-1.compute.internal
    `
    Steps to reproduce

Expected outcome
A concise description of what you expected to happen.
When the readiness gate is installed at namespace level all the upcoming pods should get the readiness gate.
Environment

  • AWS Load Balancer controller version - v2.4.3
  • Kubernetes version - 1.28
  • Using EKS (yes/no), if so version? yes v1.28

Additional Context:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants