Using freifunkMUC/wg-access-server-chart (which is a fork of Place1/wg-access-server) we create a Wireguard based VPN server in k8s.
-
install wireguard
sudo apt-get install wireguard
-
create a key-pair
wg genkey | tee privatekey | wg pubkey > publickey