Difference between revisions of "Kubernetes/external-dns"
Jump to navigation
Jump to search
| Line 1: | Line 1: | ||
Deploy using [https://github.com/bitnami/charts/tree/master/bitnami/external-dns Bitnami helm chart] | Deploy using [https://github.com/bitnami/charts/tree/master/bitnami/external-dns Bitnami helm chart] | ||
<source lang=bash> | <source lang=bash> | ||
helm repo add bitnami https://charts.bitnami.com/bitnami | |||
helm repo update | |||
HOSTED_ZONE_IDENTIFIER=Z09EXAMPLE # private zone, acme.eu.cloud | HOSTED_ZONE_IDENTIFIER=Z09EXAMPLE # private zone, acme.eu.cloud | ||
HOSTED_ZONE_NAME=acme.eu.cloud | HOSTED_ZONE_NAME=acme.eu.cloud | ||
Revision as of 15:10, 25 August 2020
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