-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'fanny/refactor-kind-e2e' into fanny/renable-rc-e2e
- Loading branch information
Showing
5 changed files
with
218 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
test/e2e/manifests/new_manifests/apm/datadog-agent-apm.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: datadoghq.com/v2alpha1 | ||
kind: DatadogAgent | ||
metadata: | ||
namespace: e2e-operator | ||
labels: | ||
agent.datadoghq.com/e2e-test: datadog-agent-apm | ||
spec: | ||
global: | ||
kubelet: | ||
tlsVerify: false | ||
features: | ||
apm: | ||
enabled: true | ||
hostPortConfig: | ||
enabled: true | ||
hostPort: 8126 | ||
unixDomainSocketConfig: | ||
enabled: true | ||
path: /var/run/datadog/apm.socket |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
name: tracegen-tribrid | ||
namespace: e2e-operator | ||
labels: | ||
app: tracegen-tribrid | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: tracegen-tribrid | ||
template: | ||
metadata: | ||
labels: | ||
app: tracegen-tribrid | ||
spec: | ||
containers: | ||
- name: tracegen-tcp-hostip | ||
image: ghcr.io/datadog/apps-tracegen:main | ||
env: | ||
# IP of the node - listened by the trace-Agent if hostPort is enabled | ||
- name: DD_AGENT_HOST | ||
valueFrom: | ||
fieldRef: | ||
fieldPath: status.hostIP | ||
- name: DD_SERVICE | ||
value: "e2e-test-apm-hostip" | ||
- name: DD_ENV | ||
value: "e2e-operator" | ||
resources: | ||
requests: | ||
memory: "32Mi" | ||
cpu: "2m" | ||
limits: | ||
memory: "32Mi" | ||
cpu: "10m" | ||
- name: tracegen-tcp-agent-service | ||
image: ghcr.io/datadog/apps-tracegen:main | ||
env: | ||
# Kubernetes service of the node Agent - enabled by default with the APM feature | ||
# The service is created by the Datadog Operator following convention: <datadog-agent-name>-agent | ||
- name: DD_AGENT_HOST | ||
value: "datadog-agent-apm-agent" | ||
- name: DD_SERVICE | ||
value: "e2e-test-apm-agent-service" | ||
- name: DD_ENV | ||
value: "e2e-operator" | ||
resources: | ||
requests: | ||
memory: "32Mi" | ||
cpu: "2m" | ||
limits: | ||
memory: "32Mi" | ||
cpu: "10m" | ||
- name: tracegen-udp | ||
image: ghcr.io/datadog/apps-tracegen:main | ||
env: | ||
# Socket of the trace-agent | ||
- name: DD_TRACE_AGENT_URL | ||
value: "unix:///var/run/datadog/apm.socket" | ||
- name: DD_SERVICE | ||
value: "e2e-test-apm-socket" | ||
- name: DD_ENV | ||
value: "e2e-operator" | ||
resources: | ||
requests: | ||
memory: "32Mi" | ||
cpu: "2m" | ||
limits: | ||
memory: "32Mi" | ||
cpu: "10m" | ||
volumeMounts: | ||
- name: apmsocketpath | ||
mountPath: /var/run/datadog | ||
volumes: | ||
- name: apmsocketpath | ||
hostPath: | ||
path: /var/run/datadog/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters