PyratLabs / ansible-role-k3s

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

add support for experimental option "prefer-bundled-bin" #214

Closed matteyeux closed 10 months ago

matteyeux commented 11 months ago

Add support for experimental option "prefer-bundled-bin"

Summary

This pull request adds support for the experimental option prefer-bundled-bin to use bundled iptables instead of the OS iptables (which can be buggy see: https://docs.k3s.io/advanced#old-iptables-versions)

It wil be then added to the k3s config :

---

cluster-init: true
default-local-storage-path: /opt/storage
disable-network-policy: true
flannel-backend: none
node-label:
- group=vm
prefer-bundled-bin: true <--- this one

Closes #213

matteyeux commented 10 months ago

@onedr0p thank you for merging my PR, any plan to make a new release ?

onedr0p commented 10 months ago

I'm sure one will be made eventually, however in the meantime you can pin the role in your galaxy config file to branch and sha.