Note: You must change the namespace to custom namespace (ex- monitoring) wherever namespace exists in the file and then save the file.Example: Follow the similar ways and change the namespace as given a example for ServiceAccount namespace below:
ServiceAccount
ClusterRoleBinding
DaemonSet
Deployment
ConfigMap in OpsRamp Agent YAML
Run the below command to apply the configuration:
kubectl apply -f agent.yaml
Now the agent is installed in your cluster.
To check the status of the agent installed in the namespace, run the command below.
kubectl get pods -n monitoring
Step 4: Check the status of namespace in OpsRmap
Go to OpsRamp portal, click on Infrastructure > Resources.
In the lift side of the page, click on kubernetes to expand it.
Next, expand the nodes and then click on container.
Then, under Attributes, you can view the status of your newly created namespace.
OpsRamp Agent yaml
Default yaml we get from portal
Changes that to be done to install in a different namespace