There are a number of cases where you want to expose services running on the cluster. A few of them are:
- Allow Researchers who work with containers to expose ports to access the container from remote using tools such as a Jupyter notebook or PyCharm
- Integrate a Researcher authentication mechanism such as an organizational user directory.
The Kubernetes mechanism for exposing services is called Ingress.
Ingress allows access to Kubernetes services from outside the Kubernetes cluster. You configure access by creating a collection of rules that define which inbound connections reach which services. More information about ingress can be found here
Before installing ingress, you must obtain an IP Address or an IP address range which is external to the cluster.
A Run:AI cluster is installed by accessing the Administrator User Interface at app.run.ai downloading a yaml file runai-operator.yaml and then applying it to Kubernetes. You must edit the yaml file. Search for localLoadBalancer
Set enabled to true and set the IP range appropriately.