-
Ansible playbook for deploying k3s fails to complete Expected BehaviorK3s deploys with master nodes and agent nodes based on all.yaml and hosts.ini with kube-vip without error Current BehaviorDuring execution of the ansible-playbook the "Configure kubectl cluster" step fails. Error can be viewed here: Steps to Reproduce1.Create ubuntu 22.04.1 servers using cloud-init on proxmox Context (variables)Operating system: Ubuntu server 22.04.1 Hardware: Proxmox running on: VMs: Variables Used
k3s_version: "v1.24.6+k3s1"
ansible_user: NA
systemd_dir: "/etc/systemd/system"
flannel_iface: "eth0"
apiserver_endpoint: "192.168.10.50"
k3s_token: "NA"
extra_server_args: " {{ extra_args }}
{{ '--node-taint node-role.kubernetes.io/master=true:NoSchedule' if k3s_master_taint else '' }}
--tls-san {{ apiserver_endpoint }}
--disable servicelb
--disable traefik"
extra_agent_args: " {{ extra_args }}"
kube_vip_tag_version: "v0.5.5"
metal_lb_speaker_tag_version: "v0.13.6"
metal_lb_controller_tag_version: "v0.13.6"
metal_lb_ip_range: "192.168.10.40-192.168.10.49" Hosts
[master]
192.168.10.51
192.168.10.52
192.168.10.53
[node]
192.168.10.57
192.168.10.58
192.168.10.59
[k3s_cluster:children]
master
node Possible SolutionIt seems kube-vip is not deploying properly
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Try running: ansible-galaxy collection install -r ./collections/requirements.yml prior to playbook execution. |
Beta Was this translation helpful? Give feedback.
-
I'll update the steps but I've already done that. |
Beta Was this translation helpful? Give feedback.
Try running: ansible-galaxy collection install -r ./collections/requirements.yml prior to playbook execution.