Agent Configuration and Installation
ISD and ArgoCd both are running in the same cluster
kubectl edit cm opsmx-controller-controller1 -n <NAMESPACE NAME>data: configFile: | serviceHostname: opsmx-controller-controller1 agentHostname: agent-grpc.<NAMESPACE NAME>.svc.cluster.local remoteCommandHostname: agent-grpc.<NAMESPCAE NAME>.svc.cluster.local controlHostname: opsmx-controller-controller1kubectl rollout restart deploy opsmx-controller-controller1 -n <NAMESPACE NAME>subjects: - kind: ServiceAccount name: opsmx-agent-argocdhelm namespace: <namespace name>spec: replicas: 1apiVersion: v1 kind: ConfigMap metadata: name: opsmx-services-<Provide Agent name which is added in ISD UI> labels: agent.opsmx.com/name: <Provide Agent name which is added in ISD UI> agent.opsmx.com/role: agent data: services.yaml: | outgoingServices: - name: argocd type: argocd enabled: true config: url: http://<Provide ArgoCD service name here>:80 insecure: true credentials: type: bearer token: <Provide base64 encoded Argo CD token here> annotations: description: argocd via agent uiUrl: https://<Provide your Argo CD url here>kubectl apply -f <agent file> -n <namespace name> kubectl apply -f <cm file> -n <namespace name>
ISD and ArgoCd are running in two different clusters
Last updated