Difference between revisions of "Kubernetes/external-dns"
Jump to navigation
Jump to search
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= AWS - Route53 = | |||
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 | ||
| Line 15: | Line 19: | ||
--set dryRun=true \ | --set dryRun=true \ | ||
--dry-run | --dry-run | ||
helm diff upgrade external-dns bitnami/external-dns \ | helm diff upgrade external-dns bitnami/external-dns \ | ||
| Line 30: | Line 30: | ||
--namespace external-dns \ | --namespace external-dns \ | ||
--set dryRun=true | --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 | |||
</source> | |||
= GCP - Cloud DNS = | |||
<source lang=bash> | |||
helm repo add external-dns https://kubernetes-sigs.github.io/external-dns/ | |||
helm repo list | |||
helm repo update external-dns | |||
helm search repo external-dns --versions | |||
</source> | </source> | ||
= Resources = | |||
* [https://github.com/kubernetes-sigs/external-dns/blob/master/docs/tutorials/istio.md Configuring ExternalDNS to use the Istio Gateway and/or Istio Virtual Service Source] | |||
Latest revision as of 15:39, 19 May 2022
AWS - Route53
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
GCP - Cloud DNS
helm repo add external-dns https://kubernetes-sigs.github.io/external-dns/ helm repo list helm repo update external-dns helm search repo external-dns --versions