hoeghh / kubernetes_the_easy_way

Automating Kubernetes the hard way with Vagrant and scripts
MIT License
20 stars 11 forks source link

Investigate change from ubuntu to centos #16

Closed hoeghh closed 6 years ago

hoeghh commented 6 years ago

I would like to change to centos. Let's see if its easy, before installing corosync and pacemaker.

hoeghh commented 6 years ago

Let's try :

https://app.vagrantup.com/bento/boxes/centos-7.3

hoeghh commented 6 years ago

Switching to Centos 7.4

Found bento Centos 7.4 and tried it. It failed on wget missing the feature --https-only. After removing this, everything worked

Etcd nodes

[vagrant@k8s-etcd-1 ~]$ ETCDCTL_API=3 etcdctl member list
b60af046fda391b8, started, k8s-etcd-2, https://192.168.50.12:2380, https://192.168.50.12:2379
ba7b17ef23224b09, started, k8s-etcd-1, https://192.168.50.11:2380, https://192.168.50.11:2379

Master nodes

[vagrant@k8s-master-2 ~]$ kubectl get componentstatuses
NAME                 STATUS    MESSAGE              ERROR
scheduler            Healthy   ok                   
controller-manager   Healthy   ok                   
etcd-1               Healthy   {"health": "true"}   
etcd-0               Healthy   {"health": "true"}