Skip to content

Commit

Permalink
feat :: Datadog toleratoin 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
HyunSu1768 committed Apr 29, 2024
1 parent 065485c commit 1f48dbd
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 51 deletions.
2 changes: 1 addition & 1 deletion charts/datadog/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: datadog-operator
version: 1.0.7
version: 1.0.8
appVersion: 1.3.0
description: Datadog Operator
dependencies:
Expand Down
63 changes: 18 additions & 45 deletions charts/datadog/templates/datadog-agent.yaml
Original file line number Diff line number Diff line change
@@ -1,58 +1,31 @@
apiVersion: datadoghq.com/v1alpha1
apiVersion: datadoghq.com/v2alpha1
kind: DatadogAgent
metadata:
namespace: datadog
name: datadog
spec:
credentials:
apiSecret:
secretName: datadog-secrets
keyName: api-key
appSecret:
secretName: datadog-secrets
keyName: app-key
agent:
image:
name: "gcr.io/datadoghq/agent:latest"
config:
hostPort: 8125
collectEvents: true
global:
credentials:
apiSecret:
secretName: datadog-secret
keyName: api-key
appSecret:
secretName: datadog-secret
keyName: app-key
override:
nodeAgent:
image:
name: gcr.io/datadoghq/agent:latest
tolerations:
- effect: "NoSchedule"
key: xquare/server
key: xquare/platform
operator: "Equal"
value: "true"
- effect: "NoSchedule"
key: xquare/platform
key: xquare/server
operator: "Equal"
value: "true"
env:
- name: DD_DOGSTATSD_NON_LOCAL_TRAFFIC # Java JVM Metrics를 받기 위해 필요
value: "true"
log:
enabled: true
logsConfigContainerCollectAll: true
apm:
enabled: true
hostPort: 8126
process:
enabled: true
processCollectionEnabled: true
systemProbe:
bpfDebugEnabled: true
features:
kubeStateMetricsCore:
enabled: true
networkMonitoring:
apm:
enabled: true
clusterAgent:
image:
name: "gcr.io/datadoghq/cluster-agent:latest"
config:
clusterChecksEnabled: true
replicas: 2
clusterChecksRunner:
image:
name: "gcr.io/datadoghq/agent:latest
replicas: 2
clusterName: xquare-cluster
logCollection:
enabled: true
11 changes: 6 additions & 5 deletions charts/datadog/values.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
installCRDs: false

datadogCRDs:
crds:
datadogAgents: false
datadog:
## Enable apm agent and provide custom configs
apm:
# datadog.apm.portEnabled -- Enable APM over TCP communication (port 8126 by default)
## ref: https://docs.datadoghq.com/agent/kubernetes/apm/
portEnabled: true

0 comments on commit 1f48dbd

Please sign in to comment.