Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
cat <<EOF | sudo tee /etc/rancher/rke2/config.yaml
kube-controller-manager-arg:
- "cluster-signing-legacy-unknown-cert-file=/var/lib/rancher/rke2/server/tls/server-ca.crt"
- "cluster-signing-legacy-unknown-key-file=/var/lib/rancher/rke2/server/tls/server-ca.key"
write-kubeconfig-mode: "0644"
write-kubeconfig: "/root/.kube/config"
cni: "calico"
tls-san:
- triton
- 10.148.0.60
- 34.87.135.216
EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment