Kubernetes/external-dns

From Ever changing code
< Kubernetes
Revision as of 15:10, 25 August 2020 by Pio2pio (talk | contribs)
Jump to navigation Jump to search

Deploy using Bitnami helm chart

helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update

HOSTED_ZONE_IDENTIFIER=Z09EXAMPLE # private zone, acme.eu.cloud
HOSTED_ZONE_NAME=acme.eu.cloud
helm upgrade --install external-dns bitnami/external-dns \
  --set provider=aws \
  --set aws.zoneType=public \
  --set txtOwnerId=$HOSTED_ZONE_IDENTIFIER \
  --set domainFilters[0]=$HOSTED_ZONE_NAME \
  --set aws.zoneType=private \
  --set policy=upsert-only \
  --set sources=\{service\,istio-gateway\} \
  --namespace external-dns \
  --create-namespace \
  --set dryRun=true \
  --dry-run

helm diff upgrade external-dns bitnami/external-dns \
  --set provider=aws \
  --set aws.zoneType=public \
  --set txtOwnerId=$HOSTED_ZONE_IDENTIFIER \
  --set domainFilters[0]=$HOSTED_ZONE_NAME \
  --set aws.zoneType=private \
  --set policy=upsert-only \
  --set sources=\{service\,istio-gateway\} \
  --namespace external-dns \
  --set dryRun=true

# Flags explained, additional to use:
#   --set namespace=external-dns # Limit sources of endpoints to a specific namespace (default: all namespaces)
#   --set dryRun=true # When enabled, prints DNS record changes rather than actually performing them

Resources