I'm trying to set up a Kubernetes cluster containing a subset of our CI environment. Specifically I'm trying to run some combination of:
What I'm wanting to achieve is:
What I can't do is change the DNS names that Staff UI and Config UI use to resolve the BL - and that DNS name is fully qualified.
So, what I'm wanting to do is:
So far, I've failed to get either of those steps to work :(
I'm not listing the things I've tried deliberately because there's a fair chance I've tried the correct solution, not fully understood it, done it badly and thus it's not worked.
This is using Kubernetes 1.10.3, running as part of "Docker for Desktop Edge Channel" on macOS.
I can get this to work using docker-compose, via links
, but it's not as flexible. Additionally the longer term goal is to move the CI environment to a Kubernetes cluster of its own, so this would be a step towards that.
You could add host records to the StaffUI/ConfigUI pods /etc/hosts
with the DNS name you need and the ClusterIP
of the intermediate Kubernetes Service.
Then you can update the service configuration during the BL deployment by changing the Service selector or setting ExternalName/externalIP.