foriequal0 / pod-graceful-drain

You don't need `lifecycle: { preStop: { exec: { command: ["sleep", "30"] } } }`
Apache License 2.0
251 stars 17 forks source link

What specifically should namespaceSelector values be? #21

Closed s1rc closed 3 years ago

s1rc commented 3 years ago

I'm testing our your chart because the 502 issue on draining is getting out of hand.

I am trying to restrict with the namespaceSelector however none of the values I've tried work. Can you provide an example of what is expected?

Also, thank you for this chart! I'm glad there is something to help. Hoping that better support makes it into AWS Load Balancer itself.

foriequal0 commented 3 years ago

You might find examples from here: https://kubernetes.io/docs/reference/access-authn-authz/extensible-admission-controllers/#matching-requests-namespaceselector

s1rc commented 3 years ago

Thank you, I don't know where my head was at.