mirror of
https://github.com/PyratLabs/ansible-role-k3s.git
synced 2024-12-02 13:25:00 +01:00
f709caf371
Fixes #16 This is because without a CNI, nodes will never be ready and the task will fail. You need to deploy your choice of CNI manually (such as Calico) then check the state of the cluster using `kubectl get nodes`.
28 lines
659 B
YAML
28 lines
659 B
YAML
---
|
|
- name: Converge
|
|
hosts: all
|
|
become: true
|
|
vars:
|
|
molecule_is_test: true
|
|
k3s_no_coredns: true
|
|
k3s_no_traefik: true
|
|
k3s_no_servicelb: true
|
|
k3s_no_flannel: true
|
|
k3s_no_local_storage: true
|
|
k3s_default_local_storage_path: false
|
|
k3s_no_metrics_server: true
|
|
k3s_disable_scheduler: true
|
|
k3s_disable_cloud_controller: true
|
|
k3s_disable_network_policy: true
|
|
k3s_control_workers: false
|
|
k3s_node_labels:
|
|
- foo: bar
|
|
- hello: world
|
|
k3s_node_taints:
|
|
- key1: value1:NoExecute
|
|
k3s_kubelet_args:
|
|
- cloud-provider: external
|
|
- provider-id: azure
|
|
roles:
|
|
- role: xanmanning.k3s
|