Change the default port for Altair AI Hub
To change the default port for Altair AI Hub, modify the default deployment instructions in the following way, using port 1443 and the HTTPS protocol as an example.
Edit the custom-values.yaml file
Create the custom-values.yaml file and set the deploymentPort
variable:
common:
domain: "<FQDN-PLACEHOLDER>"
deploymentPort: "1443"
deploymentProtocol: "https"
....
Using customPort on Openshift
Note: The steps below only need to be performed for the Openshift platform.
Once the Helm chart is deployed, a custom port needs to be opened for the service which is responsible for network flow in Openshift.
Follow the steps below:
- Browse the openshift-ingress namespace
- Go to services, there should be a service called "router-default"
Update that service with one of the commands below, to allow the customPort mentioned in the Helm chart.
# If the protocol is HTTP: oc -n openshift-ingress patch service router-default -p '{"spec":{"ports": [{"targetPort":"http","port":<customPort>,"name":"customport"}]}}' # If the protocol is HTTPS: oc -n openshift-ingress patch service router-default -p '{"spec":{"ports": [{"targetPort":"https","port":<customPort>,"name":"customport"}]}}'