jonlangemak / ansible_kubernetes

An Ansible role designed to install and configure a Kubernetes cluster
13 stars 4 forks source link

error on etcd cluster-health #8

Open a-curia opened 7 years ago

a-curia commented 7 years ago

Hello,I'm trying this on openstack machines (ip's like 10.97.177....). The installation has finished with no error but when i try to check the etcd cluster it's down kubectl get componentstatus NAME STATUS MESSAGE ERROR controller-manager Healthy ok
etcd-0 Unhealthy Get https://192.168.0.49:2379/health: x509: certificate is valid for 10.11.12.1, 127.0.0.1, 10.97.177.xx, 10.97.177.xx, 10.97.177.xx, 10.97.177.xx, 10.97.177.xx, not 192.168.0.49 scheduler Healthy ok

What i've changed is:

  1. user from "user" to "ubuntu"; this is a sudoer
  2. IP's and machine names
  3. on /etc/hosts on each machine i've added all the machines with names and the associated IP's

I don't understand why the etcd cluster it's down. Please advice. Thank You

a-curia commented 7 years ago

Something similar on coreos works fine.