Skip to content

Commit

Permalink
salt: Enable initial-corrupt-check for etcd
Browse files Browse the repository at this point in the history
  • Loading branch information
TeddyAndrieux committed Mar 31, 2022
1 parent a141c84 commit 769e44d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
left with no solutions Images available from the internal registry
(PR[#3741](https://github.com/scality/metalk8s/pull/3741))

- Enable `initial-corrupt-check` for etcd in order to try
to avoid data inconsistency issue in etcd
(PR[#3742](https://github.com/scality/metalk8s/pull/3742))

## Release 2.11.4
### Bug fixes

Expand Down
3 changes: 3 additions & 0 deletions salt/metalk8s/kubernetes/etcd/installed.sls
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ Create local etcd Pod manifest:
- --trusted-ca-file=/etc/kubernetes/pki/etcd/ca.crt
# }
- --initial-cluster-state={{ state }}
# See https://github.com/etcd-io/etcd/issues/13766
# https://groups.google.com/a/kubernetes.io/g/dev/c/B7gJs88XtQc/m/rSgNOzV2BwAJ?utm_medium=email&utm_source=footer
- --experimental-initial-corrupt-check=true
volumes:
- path: /var/lib/etcd
name: etcd-data
Expand Down

0 comments on commit 769e44d

Please sign in to comment.