Difference between revisions of "Kubernetes/external-dns"

From Ever changing code
Jump to navigation Jump to search
(Created page with "Deploy using helm <source lang=bash> HOSTED_ZONE_IDENTIFIER=Z09EXAMPLE # private zone, acme.eu.cloud HOSTED_ZONE_NAME=acme.eu.cloud helm upgrade --install external-dns bitnami...")
 
Line 1: Line 1:
Deploy using helm
Deploy using [https://github.com/bitnami/charts/tree/master/bitnami/external-dns Bitnami helm chart]
<source lang=bash>
<source lang=bash>
HOSTED_ZONE_IDENTIFIER=Z09EXAMPLE # private zone, acme.eu.cloud
HOSTED_ZONE_IDENTIFIER=Z09EXAMPLE # private zone, acme.eu.cloud

Revision as of 19:03, 21 August 2020

Deploy using Bitnami helm chart

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

# --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 


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