Adding a Cloud Agent to DPOD
Inside DPOD's Web Console, navigate to the cloud agents page [Manage → Topology → Cloud Agents] and click on “New”“New…”.
Enter the following information:
Field | Description | |
---|---|---|
Manager URL | Run the following command to get the Manager URL. Code Block | |
|
Code Block |
---|
kubectl get DpodCloudAgent <CR name> -n <CR namespace> -o jsonpath='{.status.endpoints[?(@.name=="managerApi")].url}{"\n"}' |
Credentials
Run the following command from CLI to get the credentials.
Run it from CLI of a server that supports ‘oc’ command and is connected to the K8s environment.
Replace the <CR name> and <CR namespace> before running the command.
language | bash |
---|
Base64 encoded authentication string generated by the Cloud Agent’s Operator.
The value can be retrieved from the Cloud Agent CR (1):
Code Block |
---|
kubectl get secret <CR name>-com-enc -n <CR namespace> -o=jsonpath='{.data.encryption\.key}{"\n"}' |
(1) Run the commands from CLI of a server that supports kubectl
command and is connected to the K8s environment.
Replace the <CR name>
and <CR namespace>
placeholders before running the command.
Once you click the Add button, DPOD will make sure it can connect to the monitored cloud agent Cloud Agent Manager and if successful, the monitored gateways by the cloud agent will be added to DPOD as monitored gateways.
Each monitored gateway is configured automatically to send information to DPOD after being added to DPOD.