PyratLabs / ansible-role-k3s

Ansible role for installing k3s as either a standalone server or HA cluster.
BSD 3-Clause "New" or "Revised" License
637 stars 135 forks source link

Option to deploy calico cni #121

Closed onedr0p closed 3 years ago

onedr0p commented 3 years ago

Summary

This is very popular CNI and lots of us have been running it in k3s with or without BGP for a long time. It's very stable and has more features than flannel.

For the most basic configuration we'll need at least the following:

cni_calico_enabled: true
cni_calico_encapsulation: IPIP, VXLAN, IPIPCrossSubnet, VXLANCrossSubnet, None
cni_calico_bgp_enabled: false
cni_calico_bgp_peer: 192.168.42.1
cni_calico_bgp_as_number: 64512
cni_calico_bgp_cidr: 192.168.69.0/24

Issue Type

onedr0p commented 3 years ago

CLosing this issue because it is entirely possible with k3s_server_manifests_templates