This feature allows overriding of external addresses of onboarded clusters through IngressGateway or Tier1Gateway install CR. The provided IP addresses/hostnames will then be used to access the clusters from the outside world. Note that this feature is useful only when you have some other IP address/hostname already configured to access your kubernetes cluster from the outside world.
To use this feature with IngressGateway, set the
xcp.tetrate.io/cluster-external-addresses annotation under
kubeSpec/service in your IngressGateway
install (DataPlane) CR and apply it with kubectl. You can use:
- Single IP address
- Single DNS name
- Multiple IP addresses (comma separated)
But you can't configure multiple DNS names or combine an IP address with a DNS name.
- name: mtls
- name: http2
- name: https
The above CR will set the
126.96.36.199 for the gateway service.
You can verify this behaviour by checking at the Service Entry generated for the hostname exposed in the Ingressgateway.