Mapping of host URL with agent-grpc service
Follow the instruction below to map a host URL with agent-grpc service.
Get the load balancer IP of controller agent in the ISD installed namespace using the below command.
In this example the Load Balancer IP address is 34.172.225.153. Refer to the below output.
Choose the agent host URL as per your domain name [For eg: if your domain name is ending with: *.devops.com, the corresponding agent host URL should be: <YOUR-CHOICE_OF_Controller-Name>.devops.com]. In this example, we are using the host URL as isdcontroller.agent.opsmx.net.
You need to map this Load Balancer IP to any of the DNS providers. Check the DNS entry using the nslookup command as shown below.
Refer the below output
Run the below command to edit the controller config map “opsmx-controller-controller1”.
Replace the agentHostname and remoteCommandHostname in the config map under “data” section as mentioned below and save it.
Restart the controller pod using the command below.
Now you are done with Controller configuration. This DNS can be used while configuring the agent with Argo.
Last updated