gbraad / ansible-role-kubernetes-master

4 stars 4 forks source link

CentOS atomic 7 #1

Open dkirrane opened 7 years ago

dkirrane commented 7 years ago

I'm hitting the following on latest CentOS atomic 7

TASK [gbraad.kubernetes-master : Configure etcd LISTEN CLIENTS] ********************************************************
ERROR! The requested handler 'restart etcd' was not found in either the main handlers list nor in the listening handlers list
gbraad commented 7 years ago

Can you show me the usage in full? Are you running the commands as described in the blog article, or as an individual role?

Blog: http://gbraad.nl/blog/deploying-kubernetes-using-ansible.html

dkirrane commented 7 years ago

Yes, I'm running as per the blog so:

$ git clone https://gitlab.com/gbraad/ansible-playbook-kubernetes.git
$ cd ansible-playbook-kubernetes
$ ansible-galaxy install -r roles.txt

Made changes to hosts file

[all:vars]
ansible_connection=ssh
ansible_ssh_user=root
ansible_ssh_pass=root123

[k8s-master]
master ansible_ssh_host=10.111.33.100

[k8s-nodes]
minion-1 ansible_ssh_host=10.111.33.101
minion-2 ansible_ssh_host=10.111.33.102

#[k8s-client]
#controller ansible_ssh_host=10.5.0.3

Changed deploy-kubernetes.yml remote_user: root And then ran $ ansible-playbook -i hosts deploy-kubernetes.yml