Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Source: datadog/templates/daemonset.yaml
- apiVersion: extensions/v1beta1
- kind: DaemonSet
- metadata:
- name: datadog-agent-debug
- labels:
- app: "datadog-agent-debug"
- chart: "datadog-1.24.0"
- release: "datadog-agent-debug"
- heritage: "Tiller"
- spec:
- template:
- metadata:
- labels:
- app: datadog-agent-debug
- name: datadog-agent-debug
- annotations:
- checksum/autoconf-config: 38e0b9de817f645c4bec37c0d4a3e58baecccb040f5718dc069a72c7385a0bed
- checksum/confd-config: 38e0b9de817f645c4bec37c0d4a3e58baecccb040f5718dc069a72c7385a0bed
- checksum/checksd-config: 38e0b9de817f645c4bec37c0d4a3e58baecccb040f5718dc069a72c7385a0bed
- spec:
- containers:
- - name: datadog
- image: "datadog/agent:6.10.1"
- imagePullPolicy: IfNotPresent
- resources:
- limits:
- cpu: 200m
- memory: 256Mi
- requests:
- cpu: 200m
- memory: 256Mi
- ports:
- - containerPort: 8125
- hostPort: 8125
- name: dogstatsdport
- protocol: UDP
- - containerPort: 8126
- hostPort: 8126
- name: traceport
- protocol: TCP
- env:
- - name: DD_API_KEY
- valueFrom:
- secretKeyRef:
- name: "datadog-secret"
- key: api-key
- - name: DD_LOG_LEVEL
- value: "INFO"
- - name: DD_APM_ENABLED
- value: "true"
- - name: DD_PROCESS_AGENT_ENABLED
- value: "true"
- - name: KUBERNETES
- value: "yes"
- - name: DD_KUBERNETES_KUBELET_HOST
- valueFrom:
- fieldRef:
- fieldPath: status.hostIP
- - name: DD_LOGS_ENABLED
- value: "true"
- - name: DD_LOGS_CONFIG_CONTAINER_COLLECT_ALL
- value: "true"
- - name: DD_HEALTH_PORT
- value: "5555"
- - name: DD_AC_EXCLUDE
- value: name:datadog
- volumeMounts:
- - name: runtimesocket
- mountPath: "/var/run/docker.sock"
- readOnly: true
- - name: procdir
- mountPath: /host/proc
- readOnly: true
- - name: cgroups
- mountPath: /host/sys/fs/cgroup
- readOnly: true
- - name: s6-run
- mountPath: /var/run/s6
- - name: pointerdir
- mountPath: /opt/datadog-agent/run
- - name: passwd
- mountPath: /etc/passwd
- readOnly: true
- - mountPath: /var/www/sema4sso/log
- name: railslogs
- readOnly: true
- livenessProbe:
- httpGet:
- path: /health
- port: 5555
- initialDelaySeconds: 15
- periodSeconds: 15
- timeoutSeconds: 5
- successThreshold: 1
- failureThreshold: 6
- volumes:
- - hostPath:
- path: "/var/run/docker.sock"
- name: runtimesocket
- - hostPath:
- path: /proc
- name: procdir
- - hostPath:
- path: /sys/fs/cgroup
- name: cgroups
- - name: s6-run
- emptyDir: {}
- - hostPath:
- path: "/var/lib/datadog-agent/logs"
- name: pointerdir
- - hostPath:
- path: /etc/passwd
- name: passwd
- - hostPath: null
- name: pointerdir
- path: /opt/datadog-agent/run
- - hostPath: null
- name: railslogs
- path: /var/rails-datadog/log
- - hostPath: null
- name: pointdir
- path: /var/rails-datadog/log
- - configMap:
- name: cm-datadog-confd
- name: vol-datadog-confd
- serviceAccountName: datadog-agent-debug
- updateStrategy:
- type: "OnDelete"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement