Agent Installation
Last updated
Last updated
Agent flag needs to be enabled in the sapor configuration (It is enabled by default; checking may not be necessary unless someone disables it.).
kubectl edit secret oes-sapor-config -n isd-dev
The secret contains an application.yaml. Decode this.
echo xxxxxxxxxxx | base64 -d
This will have the line
agent:
enabled: true
The forwarder external host name needs to map with the agent-grpc service external ip address in ISD Namespace.
agentHostname: controller.argo-dev.opsmx.net
remoteCommandHostname: controller.argo-dev.opsmx.net
$ kubectl apply -f services.yaml -n <AGENT-NAMESPACE>
Apply the agent manifest
$ kubectl apply -f <agent-manifest-file>.yaml -n <AGENT-NAMESPACE>
Check the agent pod status; it should be in running state if it’s installed without any issues.
$ kubectl get pods -n <AGENT-NAMESPACE>