control plane1 kubernetes 설정 - 1 (컨트롤 플레인) #!/bin/bashset -eecho "===== [STEP 1] Kernel / cgroup / swap 설정 ====="# swap 비활성화sudo swapoff -asudo sed -i '/swap/d' /etc/fstab# 커널 모듈 로드sudo tee /etc/modules-load.d/k8s.conf /dev/nullsudo sed -i 's/SystemdCgroup = false/SystemdCgroup = true/' /etc/containerd/config.tomlsudo systemctl restart containerdsudo systemctl enable containerd# Kubernetes 패키지 준비sudo apt install -y apt-transport-https c.. 2025. 11. 26. 이전 1 다음