amazon-eks-pod-identity-webhook
amazon-eks-pod-identity-webhook copied to clipboard
how to add or get AZ details when pod created.
What happened: how we can get or add AZ details when pod is created.
What you expected to happen: we didn't get any info when the pod is created on which AZ and for doing this we need to write a script.
is there any other way we can achieve this?
Hi @jainpratik163, I'm not sure how this is related to the pod identity webhook, since the purpose of the webhook is to provide AWS IAM credentials to a pod's Service Account.
Depending on what Kubernetes solution you are using (EKS, kops, self-deployed, etc), you may have passed the AWS region into the Pod's definition via environment variables or possibly as annotations on the Pod's metadata.