Kubernetes nodes - unable to create wireguard in the Pod

Posted May 13, 2020 542 views

I use the Digital Ocean managed Kubernetes cluster and would like to create a wireguard interface.
For the command
wg-quick up wg0

the error message is ‘RTNETLINK answers: Not supported’.

How would I go about getting a node that has the support for the wireguard kernel module?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

We currently run a debian-maintained Linux 4.19 whereas the in-tree wireguard didn’t make it into the kernel until 5.6. We’re currently looking into upgrading to Linux 5.7 which is consideration to be released soon.

Submit an Answer