Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.7] etcd: Disable heartbeat quorum check by default #12755

Merged
merged 1 commit into from
Aug 4, 2020

Conversation

tgraf
Copy link
Member

@tgraf tgraf commented Aug 3, 2020

Disable the heartbeat check by default as the sudden requirement for the
cilium-operator to be always available can come to a surprise to existing 1.7
users.

Require etcd.enableHeartbeat=true to be set in order to enable the requirement
for the heartbeat.

Diable the heartbeat check by default as the sudden requirement for the
cilium-operator to be always available can come to a surprise to existing 1.7
users.

Require etcd.enableHeartbeat=true to be set in order to enable the requirement
for the heartbeat.

Signed-off-by: Thomas Graf <thomas@cilium.io>
@tgraf tgraf requested a review from a team as a code owner August 3, 2020 22:25
@maintainer-s-little-helper maintainer-s-little-helper bot added the kind/backports This PR provides functionality previously merged into master. label Aug 3, 2020
@tgraf
Copy link
Member Author

tgraf commented Aug 3, 2020

test-backport-1.7

Copy link
Member

@joestringer joestringer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is this configured? Is it by editing the configmap to extend kvstore-opt like the below?

kvstore-opt: '{"etcd.config": "/var/lib/etcd-config/etcd.config", "etcd.enableHeartbeat": "true"}'

And given this only modifies the client side, I assume that the heartbeat will still be written and assuming we get the right command, it's possible to check whether the heartbeat is working at runtime? Let's say for instance if you suspect a quorum issue in this v1.7 branch.

@maintainer-s-little-helper maintainer-s-little-helper bot added ready-to-merge This PR has passed all tests and received consensus from code owners to merge. labels Aug 4, 2020
@tklauser tklauser merged commit 629efeb into v1.7 Aug 4, 2020
@tklauser tklauser deleted the pr/tgraf/disable-etcd-heartbeat branch August 4, 2020 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/backports This PR provides functionality previously merged into master. ready-to-merge This PR has passed all tests and received consensus from code owners to merge.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants