Kubernetes getting sibling-pod IP/properties from the same deployment/replicaset
问题 Need to set the ip and/or any metadata of the deployment to be available as env vars to each pod under the same deployment... ex: having a 3 replica deploment. need to set env var for other IP address for each of the two other pods. need to set the host name for each other two pods. as of having HOSTNAME=deplymentNAME-d74cf6f77-q57jx deplymentNAME_PORT=tcp://10.152.183.27:13000 need to add: HOSTNAME2=deplymentNAME-d74cf6f77-y67kl HOSTNAME3=deplymentNAME-d74cf6f77-i90ro deplymentNAME_PORT2=tcp