Skip to content

Instantly share code, notes, and snippets.

@matiasah
Created December 5, 2022 17:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matiasah/324a23a0bfb301ae8b0f70985e497d74 to your computer and use it in GitHub Desktop.
Save matiasah/324a23a0bfb301ae8b0f70985e497d74 to your computer and use it in GitHub Desktop.
Install DataDog Synthetics Private Location.md

Add Helm repo

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

Create namespace

kubectl create namespace datadog

Create secret

kubectl create secret generic datadog-synthetics-config-secret --namespace datadog --from-file=synthetics-check-runner.json=<CONFIG JSON FILE>

Create values.yaml

image:
  tag: "1.28.0"
  repository: ???

securityContext:
  runAsUser: 0

Template Synthetics Private Location

helm template datadog -f values.yaml datadog/synthetics-private-location --namespace datadog --debug --set configSecret=datadog-synthetics-config-secret > datadog-synthetics-private-location.yaml

Install Synthetics Private Location

kubectl apply -f datadog-synthetics-private-location.yaml --namespace datadog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment