Fetch container IP address of some service which has started and assign it to deployment env var of another service #1488
Unanswered
vlistratenko
asked this question in
Q&A
Replies: 1 comment 1 reply
-
@vlistratenko Why wouldn't you just use the cluster-internal DNS and connect to vault via the DNS hostname of the Kubernetes service that points to the vault pod? E.g. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
Please, help with solving my issue.
I have a deployment as follows:
My portfoliomanagement service needs to talk to Vault which is described and deployed in same devspace.yaml file.
The issue is that I need somehow to read IP address of deployed Vault service and assign it to ${vault_addr} env var of deployment.
I've tried different approaches but nothing worked. I'm able to fetch the IP address but not to properly assign to env var.
Please, share some ideas. Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions