Skip to content

Commit

Permalink
Merge pull request #2772 from mac-chaffee/recreate
Browse files Browse the repository at this point in the history
Changed the Deployment strategy to 'Recreate' so multiple external-dns pods don't conflict with each other.
  • Loading branch information
k8s-ci-robot authored Aug 10, 2022
2 parents 5382a0a + 3d343ae commit f10948e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions charts/external-dns/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,3 +69,4 @@ The following table lists the configurable parameters of the _ExternalDNS_ chart
| `domainFilters` | Limit possible target zones by domain suffixes. | `[]` |
| `provider` | DNS provider where the DNS records will be created, for the available providers and how to configure them see the [README](https://github.com/kubernetes-sigs/external-dns#deploying-to-a-cluster). | `aws` |
| `extraArgs` | Extra arguments to pass to the _external-dns_ container, these are needed for provider specific arguments. | `[]` |
| `deploymentStrategy` | .spec.strategy of the external-dns Deployment. Defaults to 'Recreate' since multiple external-dns pods may conflict with each other. | `{type: Recreate}` |
2 changes: 2 additions & 0 deletions charts/external-dns/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ spec:
selector:
matchLabels:
{{- include "external-dns.selectorLabels" . | nindent 6 }}
strategy:
{{- toYaml .Values.deploymentStrategy | nindent 4 }}
template:
metadata:
labels:
Expand Down
3 changes: 3 additions & 0 deletions charts/external-dns/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,6 @@ domainFilters: []
provider: aws

extraArgs: []

deploymentStrategy:
type: Recreate

0 comments on commit f10948e

Please sign in to comment.