external-dns
Bitnami Helm chart for ExternalDNS
10M+
ExternalDNS is a Kubernetes addon that configures public DNS servers with information about exposed Kubernetes services to make them discoverable.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/external-dns
Note: You need to substitute the placeholders
REGISTRY_NAMEandREPOSITORY_NAMEwith a reference to your Helm chart registry and repository.
This chart bootstraps a ExternalDNS deployment on a Kubernetes cluster using the Helm package manager.
To install the chart with the release name my-release:
helm install my-release oci://REGISTRY_NAME/REPOSITORY_NAME/external-dns
Note: You need to substitute the placeholders
REGISTRY_NAMEandREPOSITORY_NAMEwith a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to useREGISTRY_NAME=registry-1.docker.ioandREPOSITORY_NAME=bitnamicharts.
The command deploys ExternalDNS on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
This section describes credentials, configuration, and other installation options.
Bitnami charts allow setting resource requests and limits for all containers inside the chart deployment. These are inside the resources value (check parameter table). Setting requests is essential for production workloads and these should be adapted to your specific use case.
To make this process easier, the chart contains the resourcesPreset values, which automatically sets the resources section according to different presets. Check these presets in the bitnami/common chart. However, in production workloads using resourcesPreset is discouraged as it may not fully adapt to your specific needs. Find more information on container resource management in the official Kubernetes documentation.
It is strongly recommended to use immutable tags in a production environment. This ensures your deployment does not change automatically if the same tag is updated with a different image.
Bitnami will release a new chart updating its containers if a new version of the main container, significant changes, or critical vulnerabilities exist.
This chart can be integrated with Prometheus by setting metrics.enabled to true. This will expose external-dns native Prometheus endpoint in the service. It will have the necessary annotations to be automatically scraped by Prometheus.
It is necessary to have a working installation of Prometheus or Prometheus Operator for the integration to work. Install the Bitnami Prometheus helm chart or the Bitnami Kube Prometheus helm chart to easily have a working Prometheus in your cluster.
The chart can deploy ServiceMonitor objects for integration with Prometheus Operator installations. To do so, set the value metrics.serviceMonitor.enabled=true. Ensure that the Prometheus Operator CustomResourceDefinitions are installed in the cluster or it will fail with the following error:
no matches for kind "ServiceMonitor" in version "monitoring.coreos.com/v1"
Install the Bitnami Kube Prometheus helm chart for having the necessary CRDs and the Prometheus Operator.
To back up and restore Helm chart deployments on Kubernetes, you need to back up the persistent volumes from the source deployment and attach them to a new deployment using Velero, a Kubernetes backup/restore tool. Find the instructions for using Velero in this guide.
This chart allows you to set your custom affinity using the affinity parameter. Find more information about Pod's affinity in the kubernetes documentation.
As an alternative, you can use of the preset configurations for pod affinity, pod anti-affinity, and node affinity available at the bitnami/common chart. To do so, set the podAffinityPreset, podAntiAffinityPreset, or nodeAffinityPreset parameters.
If you are deploying to AWS EKS and you want to leverage IRSA. You will need to override fsGroup and runAsUser with 65534(nfsnobody) and 0 respectively. Otherwise service account token will not be properly mounted.
You can use the following arguments:
--set podSecurityContext.fsGroup=65534 --set podSecurityContext.runAsUser=0
Webhook providers allow integrating ExternalDNS with DNS providers through an HTTP interface. This approach decouples ExternalDNS and the Providers code which can be running in separate processes.
With the Bitnami ExternalDNS chart, you can deploy Webhook Providers and configure ExternalDNS easily using sidecars and extraArgs values:
provider: webhook
extraArgs:
webhook-provider-url: http://localhost:8080
txt-prefix: reg-
sidecars:
- name: my-webhook
image: <external-dns-webhook-image>
ports:
- containerPort: 8080
name: http
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
timeoutSeconds: 5
readinessProbe:
tcpSocket:
port: http
initialDelaySeconds: 10
timeoutSeconds: 5
env:
- name: <WEBHOOK-CONFIG-ENV-VAR>
value: TEST
...
More information about these new providers can be found in the ExternalDNS documentation
The FIPS parameters only have effect if you are using images from the Bitnami Secure Images catalog.
For more information on this new support, please refer to the FIPS Compliance section.
Find information about the requirements for each DNS provider on the link below:
For instance, to install ExternalDNS on AWS, you need to:
Note: replace the placeholder HOSTED_ZONE_IDENTIFIER and HOSTED_ZONE_NAME, with your hosted zoned identifier and name, respectively.
helm install my-release \
--set provider=aws \
--set aws.zoneType=public \
--set txtOwnerId=HOSTED_ZONE_IDENTIFIER \
--set domainFilters[0]=HOSTED_ZONE_NAME \
oci://REGISTRY_NAME/REPOSITORY_NAME/external-dns
Note: You need to substitute the placeholders
REGISTRY_NAMEandREPOSITORY_NAMEwith a reference to your Helm chart registry and repository. For example, in the case of Bitnami, you need to useREGISTRY_NAME=registry-1.docker.ioandREPOSITORY_NAME=bitnamicharts.
The following subsections list global, common, and component-specific parameters.
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.defaultFips | Default value for the FIPS configuration (allowed values: '', restricted, relaxed, off). Can be overridden by the 'fips' object | restricted |
global.security.allowInsecureImages | Allows skipping image verification | false |
global.compatibility.openshift.adaptSecurityContext | Adapt the securityContext sections of the deployment to make them compatible with Openshift restricted-v2 SCC: remove runAsUser, runAsGroup and fsGroup and let the platform use their allowed default IDs. Possible values: auto (apply if the detected running cluster is Openshift), force (perform the adaptation always), disabled (do not perform adaptation) | auto |
| Name | Description | Value |
|---|---|---|
nameOverride | String to partially override common.names.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override common.names.fullname template | "" |
namespaceOverride | String to fully override common.names.namespace | "" |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
commonLabels | Labels to add to all deployed objects | {} |
commonAnnotations | Annotations to add to all deployed objects | {} |
extraDeploy | Array of extra objects to deploy with the release (evaluated as a template). | [] |
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
| Name | Description | Value |
|---|---|---|
image.registry | ExternalDNS image registry | REGISTRY_NAME |
image.repository | ExternalDNS image repository | REPOSITORY_NAME/external-dns |
image.digest | ExternalDNS image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | ExternalDNS image pull policy | IfNotPresent |
image.pullSecrets | ExternalDNS image pull secrets | [] |
revisionHistoryLimit | sets number of replicaset to keep in k8s | 10 |
automountServiceAccountToken | Mount Service Account token in pod | true |
hostAliases | Deployment pod host aliases | [] |
updateStrategy | update strategy type | {} |
command | Override kiam default command | [] |
args | Override kiam default args | [] |
sources | K8s resources type to be observed for new DNS entries by ExternalDNS | [] |
provider | DNS provider where the DNS records will be created. | aws |
initContainers | Attach additional init containers to the pod (evaluated as a template) | [] |
dnsPolicy | Specifies the DNS policy for the external-dns deployment | "" |
dnsConfig | allows users more control on the DNS settings for a Pod. Required if dnsPolicy is set to None | {} |
sidecars | Attach additional containers to the pod (evaluated as a template) | [] |
namespace | Limit sources of endpoints to a specific namespace (default: all namespaces) | "" |
watchReleaseNamespace | Watch only namespace used for the release | false |
fqdnTemplates | Templated strings that are used to generate DNS names from sources that don't define a hostname themselves | [] |
containerPorts.http | HTTP Container port | 7979 |
combineFQDNAnnotation | Combine FQDN template and annotations instead of overwriting | false |
ignoreHostnameAnnotation | Ignore hostname annotation when generating DNS names, valid only when fqdn-template is set | false |
publishInternalServices | Allow external-dns to publish DNS records for ClusterIP services | false |
publishHostIP | Allow external-dns to publish host-ip for headless services | false |
serviceTypeFilter | The service types to take care about (default: all, options: ClusterIP, NodePort, LoadBalancer, ExternalName) | [] |
validation.enabled | Enable chart validation | true |
akamai.host | Hostname to use for EdgeGrid auth | "" |
akamai.accessToken | Access Token to use for EdgeGrid auth | "" |
akamai.clientToken | Client Token to use for EdgeGrid auth | "" |
akamai.clientSecret | When using the Akamai provider, AKAMAI_CLIENT_SECRET to set (optional) | "" |
akamai.secretName | Use an existing secret with key "akamai_api_seret" defined. | "" |
alibabacloud.accessKeyId | When using the Alibaba Cloud provider, set accessKeyId in the Alibaba Cloud configuration file (optional) |
Note: the README for this chart is longer than the DockerHub length limit of 25000, so it has been trimmed. The full README can be found at https://techdocs.broadcom.com/us/en/vmware-tanzu/bitnami-secure-images/bitnami-secure-images/services/bsi-app-doc/apps-charts-external-dns-index.html
Content type
Image
Digest
sha256:2538e4788…
Size
7.8 kB
Last updated
11 months ago
docker pull bitnamicharts/external-dns:sha256-c1e6e796585ff4b9f5eb93edfab9a07085a0066c995a26923585dda0d2e1a136Pulls:
160,978
Jun 29 to Jul 5