Skip to content

Commit

Permalink
Changed the Deployment strategy to 'Recreate' so multiple external-dn…
Browse files Browse the repository at this point in the history
…s pods don't conflict with each other.

Signed-off-by: Mac Chaffee <machaffe@renci.org>
  • Loading branch information
mac-chaffee committed May 26, 2022
1 parent 347a2bf commit ac675e5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions charts/external-dns/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Deprecated
### Removed -->

## [v1.9.0] - UNRELEASED
## [v1.9.1]

### Changed

- Changed the Deployment strategy to "Recreate" so multiple external-dns pods don't conflict with each other. [#9999]()

## [v1.9.0]

### Changed

- Update _ExternalDNS_ version to [v0.11.0](https://github.com/kubernetes-sigs/external-dns/releases/tag/v0.11.0).

## [v1.8.0] - UNRELEASED
## [v1.8.0]

### Added

Expand Down
4 changes: 2 additions & 2 deletions charts/external-dns/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: external-dns
description: ExternalDNS synchronizes exposed Kubernetes Services and Ingresses with DNS providers.
type: application
version: 1.9.0
version: 1.9.1
appVersion: 0.11.0
keywords:
- kubernetes
Expand All @@ -20,4 +20,4 @@ maintainers:
annotations:
artifacthub.io/changes: |
- kind: changed
description: "Update ExternalDNS version to v0.11.0"
description: "Changed the Deployment strategy to 'Recreate' so multiple external-dns pods don't conflict with each other."
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 @@ -13,6 +13,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 @@ -118,3 +118,6 @@ domainFilters: []
provider: aws

extraArgs: []

deploymentStrategy:
type: Recreate

0 comments on commit ac675e5

Please sign in to comment.