Accessing the server in a Kubernetes cluster
You can access the HCL DevOps Deploy (Deploy) server in a Kubernetes cluster.
Before you begin
Ensure that the server is correctly installed in your Kubernetes environment. See Installing the server in a Kubernetes cluster
About this task
The output of the helm status <releaseName> -n <namespace>
command
provides commands that contain the URL of your server.
-
Run the commands to obtain the server's URL:
Where, deploy80011155303 is the <releaseName> and <namespace>.$ helm status deploy80011155303 -n deploy80011155303
The following output message is displayed and shows the application availability at the echo command:
NAME: deploy80011155303 LAST DEPLOYED: Wed May 17 20:08:45 2023 NAMESPACE: deploy80011155303 STATUS: deployed REVISION: 1 TEST SUITE: None NOTES: It may take a few minutes for the LoadBalancer IP to be assigned. You can watch the status by running: kubectl get svc -n deploy80011155303 deploy80011155303-hcl-deploy-server-prod -w Once the IP is assigned the application will be available at: echo https://$(kubectl get svc -n deploy80011155303 deploy80011155303-hcl-deploy-server-prod -o jsonpath='{.status.loadBalancer.ingress[0].ip}'):8443
Note:To function correctly, you must set the Deploy server to External Agent URL and External User URL.
These settings are based on the LoadBalancer IP shown in the output message. You can update the settings from the Deployserver admin interface on the System Settings tab. Click .
-
Run the echo command displayed in the output message to identify the URL to use to access the Deploy server:
$ echo https://$(kubectl get svc -n deploy80011155303 deploy80011155303-hcl-deploy-server-prod -o jsonpath='{.status.loadBalancer.ingress[0].ip}'):8443
The output of the command displays the server URL:
https://x.x.x178:8443
You can access the Deploy server by using the URL output of the echo command.