Skip to content

Latest commit

 

History

History
83 lines (65 loc) · 2.24 KB

README.md

File metadata and controls

83 lines (65 loc) · 2.24 KB

Kubernetes basic monitoring

2.21.2 7.30.0 1.14.0 1.22.0

Install

Install Datadog Helm Chart

helm repo add datadog https://helm.datadoghq.com
helm repo update

Create a namespace for Datadog

kubectl create ns datadog

Create a secret with the API key.

kubectl create secret generic datadog-keys -n datadog --from-literal=api-key=<API-KEY>

Create the values.yaml file.

datadog:
  clusterName: <CLUSTER-NAME>
  apiKeyExistingSecret: datadog-keys
  apm:
    portEnabled: true
  logs:
    enabled: true
    containerCollectAll: true
  processAgent:
    processCollection: true
  dogstatsd:
    useHostPort: true
  kubeStateMetricsCore:
    enabled: true
  kubeStateMetricsEnabled: false
  kubelet:
    tlsVerify: false
  networkMonitoring:
    enabled: true
  securityAgent:
    compliance:
      enabled: true
    runtime:
      enabled: true
      syscallMonitor:
        enabled: true
agents:
  # This toleration allows the agent to be deployed to every node.
  tolerations:
    - operator: Exists

All yaml snippets presented from here are expected to be propertly merged into the main values.yaml.

Check distribution specific notes.

Deploy with the command below.

helm install datadog datadog/datadog -n datadog -f values.yaml

Complete values file examples can be found here.

Note: OpenShift metrics are all about quotas. The statment below must return something for OpenShift specific metrics to show up.

oc get clusterresourcequotas --all-namespaces