I created a cluster on GKE with Container-Optimized OS and when trying to create a wireguard interface inside a Pod, I get the error message
# wg-quick up wg0
[#] ip link add wg0 type wireguard
RTNETLINK answers: Not supported
Typically, this means that the wireguard kernel module is not installed. On a Linux machine, you would install wireguard-dkms and run ‘modprobe wireguard’ to resolve this issue.
Does CO-OS support wireguard? SHould I choose a different kernel for my cluster’s nodes to be able to create wireguard interfaces inside the Pods?
Cluster information:
Kubernetes version: 1.15.9-gke.24
Cloud being used: (put bare-metal if not on a public cloud)
Installation method: Web
Host OS: Container-Optimized OS
CNI and version:
CRI and version:
You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.