재부팅 시 kubernetes 안올라올 때
swapoff -a # 제일 중요
systemctl enable kubelet && systemctl start kubelet
Unable to connect to the server: tls: failed to verify certificate: x509
export KUBECONFIG=/etc/kubernetes/admin.conf
reset kubernetes
sudo kubeadm reset --force
sudo systemctl restart kubelet
rm -rf $HOME/.kube/*
rm /etc/cni/net.d
sudo reboot
[ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]
sudo modprobe br_netfilter
[ERROR FileContent--proc-sys-net-ipv4-ip_forward]
/sbin/sysctl -w net.ipv4.ip_forward=1
[swap off]
swapoff -a
couldn't get current server API group list
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/kubelet.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
kubectl _get_comp_words_by_ref: command not found
source <(kubectl completion bash)
source /etc/bash_completion
'기타정보' 카테고리의 다른 글
[정보] kubernetes etcd 상태확인 (0) | 2024.01.18 |
---|---|
[정보] kubernetes 사용에 도움되는 ansible playbook (0) | 2024.01.18 |
[정보] ubuntu 20.04 쿠버네티스 한방 설치(containerd/keepalived) - (단일구성/다중구성) (0) | 2024.01.17 |
[정보] 메일서버 쉽게 만들기 mail in a box (0) | 2024.01.09 |
[정보] mailhog 메일 테스트용 SMTP 서 (0) | 2024.01.09 |