Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1.77 KB

aks.md

File metadata and controls

39 lines (31 loc) · 1.77 KB

AKS - Azure Kubernetes Service

2.10.1 7.30.0 1.14.0 1.21.2

All yaml snippets below are expected to be propertly merged into the main values.yaml.

Control Plane

PassS services like AKS do not give us access to control plane nodes. Since we cannot deploy agents to control plane nodes, we cannot leverage Autodiscovery to automatically detect and start monitoring control plane services. AKS exposes the Kubernetes API as a service we can monitor using cluster checks for simplicity.

clusterAgent:
  confd:
    kube_apiserver_metrics.yaml: |-
      cluster_check: true
      init_config:
      instances:
        - prometheus_url: https://kubernetes.default/metrics
          ssl_ca_cert: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
          bearer_token_auth: true

If tlsVerify: false is not acceptable, you can specify the host and CA for the kubelet.

datadog:
  kubelet:
    host:
      valueFrom:
        fieldRef:
          fieldPath: spec.nodeName
    hostCAPath: /etc/kubernetes/certs/kubeletserver.crt