install-k8s-on-ubuntu-2204/initialize-k8s-ctrlr.sh
Eliezer Croitoru 4022aafe7c 12
2024-01-28 11:05:27 +00:00

10 lines
238 B
Bash
Executable File

#!/usr/bin/env bash
kubeadm config images pull --cri-socket /run/containerd/containerd.sock
kubeadm init \
--pod-network-cidr=10.244.0.0/16 \
--upload-certs \
--node-name $(hostname -f )
--control-plane-endpoint=$(hostname -f )