Difference between revisions of "Kubernetes/external-dns"

From Ever changing code
Jump to navigation Jump to search
 
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>
Line 33: Line 34:
#  --set namespace=external-dns # Limit sources of endpoints to a specific namespace (default: all namespaces)
#  --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  
#  --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 =
= 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]
* [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 16: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

Resources