Creating multiple ingress hosts by using customDomains
Use the customDomains
list to provide one or more Fully Qualified Domain
Names (FQDNs) over which your application is exposed. The FQDNs that are provided under
customDomains
are exposed through ingress without adding any prefix or
suffix.
Specify customDomains
to expose URLs at standard domain names so that the same
URLs can be used for mapping through external domains. For example, if the cluster domain is
alb.mycluster.com
, you can provide host entries such as
mysma.alb.mycluster.com
, where mysma
is your custom domain.
Note: If you do not provide any
customDomains
, the ingress is created with the
default naming convention, which is
<deploymentName>-<namespace>.<host>
.You can add customDomains
for app server, rest service, and Order Hub integrated
and independent modes, as shown in the following configuration structure:
Configuration structure
- For app servers:
For more information about configuringappServer: ingress: customDomains: # Add the list of custom hosts
customDomains
for app servers, see full example. - For rest service:
For more information about configuringrestService: ingress: customDomains: # Add the list of custom hosts
customDomains
for rest service, see full example. - For Order Hub integrated mode:
For more information about configuringorderHub: customDomains: # Add the list of custom hosts here
customDomains
for Order Hub integrated mode, see full example. - For Order Hub independent mode:
For more information about configuringspec: networking: ingress: customDomains: # Add the list of custom hosts
customDomains
for Order Hub independent mode, see full example. - For Call Center integrated mode:
For more information about configuringcallCenter: customDomains: # Add the list of custom hosts here
customDomains
for Call Center integrated mode, see full example. - For Call Center independent mode:
For more information about configuringspec: networking: ingress: customDomains: # Add the list of custom hosts
customDomains
for Call Center independent mode, see full example.