Guest User

Untitled

a guest
Mar 21st, 2018
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. Since we have leader election true:
  2.  
  3. kubectl create -f datadog/dd-configmap.yaml
  4.  
  5. Ensure we have all the permissions we need (including for leader election):
  6.  
  7. kubectl create -f datadog/datadog-rbac.yaml
  8.  
  9. Set up a mock check integration (hhtp_check) so that logs are enabled (otherwise it shows logs as disabled)
  10.  
  11. kubectl create -f datadog/example-integration.yaml
  12.  
  13. Finally launch the agent
  14.  
  15. kubectl create -f datadog/datadog-agent.yaml
  16.  
  17. Validate that `dd-agent` is running.
  18.  
  19. kubectl get daemonset
  20.  
  21. Run the some checks:
  22.  
  23. kubectl exec datadog-agent-.. agent status
  24. kubectl exec datadog-agent-.. agent configcheck
  25. kubectl exec datadog-agent-.. agent health
  26.  
  27. Under "Checks" the status command outputs what metrics are currently being collected.
  28.  
  29. Run the kube state metrics
  30.  
  31. kubectl create -f datadog/kube-state-metrics.yaml
Add Comment
Please, Sign In to add comment