Skip to content

Instantly share code, notes, and snippets.

View caguiclajmg's full-sized avatar
boat goes binted

John Mark Gabriel Caguicla caguiclajmg

boat goes binted
  • Hiding in your WiFi
  • 15:57 (UTC +08:00)
View GitHub Profile
@zeratax
zeratax / k3s.nix
Last active July 11, 2024 03:31
simulating a k3s cluster in nixos
{ pkgs, lib, config, ... }:
let
### Variables:
kubeMasterIP = "192.168.188.89";
kubeMasterGateway = "192.168.188.1";
kubeMasterHostname = "gestalt.local";
kubeMasterAPIServerPort = 6443;
kubeMasterInterface = "eno1";
kubeMasterMacVlanInterface = "mv-${kubeMasterInterface}";