Trying to register PMM client to PMM Server, PMM server is up and running and I am using helm to deploy both Percona db cluster and PMM Server to Kubernetes cluster.
Percona server cfg pod is in Crash loop with this error in PMM client container:
Failed to register pmm-agent on PMM Server: Post "
": dial tcp: lookup pmm-server-service on *****:53: no such host.
PMM is enabled as following in the PerconaServerMongoDB:
pmm: enabled: true serverHost: pmm-server-service
PMM server Service is with following config:
# Source: pmm-server/templates/svc.yaml kind: Service apiVersion: v1 metadata: name: "pmm-server-service" labels: component: pmm app: pmm-server chart: "pmm-server-2.26.1" release: "pmm-server" heritage: "Helm" spec: ports: - name: https protocol: TCP port: 443 targetPort: 443 selector: component: pmm app: pmm-server type: "ClusterIP"
What is missing here?