kubeadm-ansible
kubeadm-ansible copied to clipboard
Build a Kubernetes cluster using kubeadm via Ansible.
Hi. So I've been trying to use this playbook to set up a kubernetes cluster and I'm not able to make it initialize. Everytime I arrive at the init step...
This scripts only installs latest version. When I change K8_version in the all.yaml to 1.20.0 it fails due to the fact that it installs latest kubeadm. Could you please help...
Does this support such an act? Can I make a pull request to add multi-master support?
TASK [commons/pre-install : Install Kubernetes packages] *********************** Thursday 12 August 2021 17:12:07 -0700 (0:00:00.171) 0:00:52.200 ******* included: /home/yy/kubeadm-ansible/roles/commons/pre-install/tasks/pkg.yml for 192.168.0.11, 192.168.0.12 TASK [commons/pre-install : Add Kubernetes APT GPG key] ************************...
fatal: [10.200.152.11]: FAILED! => changed=true cmd: |- kubeadm init --service-cidr 10.96.0.0/12 --kubernetes-version v1.22.2 --pod-network-cidr 10.244.0.0/16 --token b0f7b8.8d1767876297d85c --apiserver-advertise-address 10.200.152.11 --cri-socket=/var/run/containerd/containerd.sock delta: '0:00:10.179032' end: '2021-09-22 16:00:24.597867' msg: non-zero return code rc:...
While setting up cluster using calico CNI, helm install command failed with below Errors. dial tcp 10.96.0.1:443: i/o timeout error
I would expect when I run the site playbook for a second time it would leave the kubernetes cluster in its current state. In its current version the site playbook...
#vi host.ini [master] 192.168.0.38 [node] 192.168.0.4 **192.168.0.20** (new node) 192.168.0.17 [kube-cluster:children] master node kubeadm-ansible]# ansible-playbook site.yaml TASK [kubernetes/node : Join to Kubernetes cluster] *********************************************************************************************************************** Friday 20 December 2019 04:56:28 +0200...
Only flannel and calico networks are supported. It would be nice to have canal networking support too https://kubernetes.io/docs/setup/independent/create-cluster-kubeadm/#pod-network