Skip to content
This repository has been archived by the owner on Jul 30, 2021. It is now read-only.

templates: enable etcd-quorum-read in apiserver #655

Merged
merged 1 commit into from
Jul 18, 2017

Conversation

hongchaodeng
Copy link
Contributor

@hongchaodeng hongchaodeng commented Jul 18, 2017

For HA setup, enabling quorum-read is necessary.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jul 18, 2017
Copy link
Contributor

@diegs diegs left a comment

Choose a reason for hiding this comment

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

LGTM

@aaronlevy
Copy link
Contributor

@hongchaodeng can you also set it on the bootstrap apiserver?

@aaronlevy
Copy link
Contributor

@hongchaodeng hongchaodeng force-pushed the hongchaodeng-patch-2-1 branch from d1b54a2 to db8090e Compare July 18, 2017 17:36
@hongchaodeng
Copy link
Contributor Author

added to bootstrap apiserver

Copy link
Contributor

@aaronlevy aaronlevy left a comment

Choose a reason for hiding this comment

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

lgtm

@@ -175,6 +175,7 @@ spec:
- --etcd-keyfile=/etc/kubernetes/secrets/etcd-client.key
{{- end }}
- --etcd-servers={{ range $i, $e := .EtcdServers }}{{ if $i }},{{end}}{{ $e }}{{end}}
- --etcd-quorum-read=true
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: quorum comes before servers

@@ -251,6 +252,7 @@ spec:
- --etcd-keyfile=/etc/kubernetes/secrets/etcd-client.key
{{- end }}
- --etcd-servers={{ range $i, $e := .EtcdServers }}{{ if $i }},{{end}}{{ $e }}{{end}}{{ if .SelfHostedEtcd }},https://127.0.0.1:12379{{end}}
- --etcd-quorum-read=true
Copy link
Contributor

Choose a reason for hiding this comment

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

and here.

@hongchaodeng hongchaodeng force-pushed the hongchaodeng-patch-2-1 branch from db8090e to fc83f5e Compare July 18, 2017 18:29
@hongchaodeng
Copy link
Contributor Author

fixed

@hongchaodeng hongchaodeng force-pushed the hongchaodeng-patch-2-1 branch from fc83f5e to ed98d4f Compare July 18, 2017 19:16
@diegs
Copy link
Contributor

diegs commented Jul 18, 2017

Merging because the tests passed last time and this failure is unrelated.

@diegs diegs merged commit 428ee40 into master Jul 18, 2017
@diegs diegs deleted the hongchaodeng-patch-2-1 branch July 18, 2017 20:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants