Exposing an installed application through the bastion
Expose an application that you deploy to the cluster through the bastion, which serves as a load balancer, by setting parameters in the application settings.
- The application chart provides the parameters service.type, ingress.enabled, ingress.ingressClassName, and ingress.hostName. Parameter names can differ between charts, so check the parameters of your chart.
- If you use your own domain, DNS resolves the host name to the public IP address of your bastion.
The application is available at the host name that you set. The following sample shows how the parameters look together in the YAML configuration of an application:
service:
type: ClusterIP
ingress:
enabled: true
ingressClassName: ccf
hostName: myapp.192.168.1.100.sslip.io- Ensure that DNS resolves
<access-ip>to the public IP address of your bastion. - The sslip.io service provides wildcard DNS for any IP address, which simplifies access to your application.
- For a virtual cluster, the host name is already in the correct format, so you do not add a suffix.
