Skip to content

Instantly share code, notes, and snippets.

@flrichar
Created November 12, 2024 18:19
Show Gist options
  • Save flrichar/f5a66cbf6130523d83dc1977b58597ba to your computer and use it in GitHub Desktop.
Save flrichar/f5a66cbf6130523d83dc1977b58597ba to your computer and use it in GitHub Desktop.
K3S tiny modserver
#!/bin/bash
curl -sfL https://get.k3s.io |\
INSTALL_K3S_VERSION="v1.30.6+k3s1"
INSTALL_K3S_EXEC="server --write-kubeconfig-mode=644 --cluster-cidr=10.78.0.0/16 --service-cidr=10.78.0.0/16 --cluster-init=true --kube-controller-manager-arg=node-cidr-mask=23 --kubelet-arg=max-pods=240" \
sh -s -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment