nwcdheap / kops-cn

AWS中国宁夏区域/北京区域,快速Kops部署K8S集群
Apache License 2.0
121 stars 74 forks source link

etcd3 as the default cluster #31

Open pahud opened 5 years ago

pahud commented 5 years ago

According to Kops and etcd roadmap document https://github.com/kubernetes/kops/blob/af4df08b694e2a1f8814a7b3649060477be67c86/docs/etcd/roadmap.md

etcd3 will eventually become the default cluster version, however, for some reason it still sticks to v2.2 at this moment.

We have a PR trying to get it sorted but at this moment, to align to the Kops upstream, we still stick to v2.2 now.

If you prefer to provision etcd3 as the default cluster, you can update the spec.yml like this https://github.com/nwcdlabs/kops-cn/pull/29/files#diff-ce22796966d5547919fe1967f7781563

Hi @jansony1 , feel free to update this issue if you have any other useful insights.

Thanks.

pahud commented 5 years ago

A note is added in the English README

Hi @seimutig can you cut a PR and help update the Chinese README accordingly?

Thanks.

jansony1 commented 5 years ago

According to their official blogs, etcdv2 will be deprecated @coreos https://coreos.com/blog/toward-etcd-v3-in-container-linux.html

And also, you could not upgrade etcdv2.2 to etcdv3 as mentioned @coreos https://coreos.com/etcd/docs/latest/upgrades/upgrade_3_0.html

Consider all the news, If you decide to make this as your production environment, please be sure about your buildup choice.