kubeadm init phase

ETC

[오류해결] kubectl_Unable to connect to the server: tls: failed to verify certificate: x509: certificate is valid

문제사항 내부에 기구축된 k8s 클러스터가 존재하여 외부에서 `kubectl`을 통한 클러스터 접근이 필요한 상황에서, 공유기의 포트포워딩 설정 후 공인아이피로 kubeconfig 파일수정 후 접근 시 아래 오류 발생 Unable to connect to the server: tls: failed to verify certificate: x509: certificate is valid for 10.96.0.1, 192.168.219.200, not {public-ip} 임시 해결 방법 `kubectl [command] --insecure-skip-tls-verify`시 인증서 검증 없이 명령을 처리하기 때문에 조회가 가능함 kubectl get pod --insecure-skip-tls-verify NA..

junkmm
'kubeadm init phase' 태그의 글 목록