question: I have a cluster run by k8s,and I run a app by rc.yaml. My app need a args id(unique),setup id in rc.yaml.
args:
- -id
- ip-172-31-31-205.ap-northeast-1.compute.internal-2
if I setup replicas=2,how to control the id is different.
Check out the ConfigMap
type that's being added to the new version of Kubernetes being released this month.