Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

remove deprecated etcd-quorum-read flag from apiserver #2630

Merged
merged 1 commit into from
Apr 9, 2018

Conversation

seanknox
Copy link
Contributor

@seanknox seanknox commented Apr 7, 2018

What this PR does / why we need it:
The apiserver flag `--etcd-quorum-read was deprecated in Kubernetes v1.9 and removed in v1.10 because setting it to false causes bugs in controllers because of stale reads. It is true by default in from >= v1.8 upward until v1.10, where it was removed entirely.

Note: starting in v1.7 users had this option, and had to explicitly disable etcd quorum reads if desired, so this shouldn't affect older acs-engine clusters nor should it affect upgrades. This is effectively a non-issue since we use etcd3 by default which is much more performant with reads.

More info:

If applicable:

  • documentation
  • unit tests
  • tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

@ghost ghost assigned seanknox Apr 7, 2018
@ghost ghost added the in progress label Apr 7, 2018
|"--etcd-certfile"|"/etc/kubernetes/certs/etcdclient.crt"|
|"--etcd-keyfile"|"/etc/kubernetes/certs/etcdclient.key"|
|"--etcd-servers"|*calculated value that represents etcd servers*|
|"--etcd-quorum-read"|"true"|
Copy link
Contributor Author

Choose a reason for hiding this comment

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

My editor removed a lot of erroneous whitespace apparently, but this is the only line that actually changed (was removed.

@seanknox seanknox requested a review from lachie83 April 7, 2018 19:02
Copy link
Member

@jackfrancis jackfrancis left a comment

Choose a reason for hiding this comment

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

lgtm

@jackfrancis jackfrancis merged commit f60f521 into master Apr 9, 2018
@jackfrancis jackfrancis deleted the remove-etcd-quorum-read-flag branch April 9, 2018 15:52
@ghost ghost removed the in progress label Apr 9, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants