Certificate-based kubelet authentication should be required

Set up the kubernetes integration.

이 페이지는 아직 한국어로 제공되지 않으며 번역 작업 중입니다. 번역에 관한 질문이나 의견이 있으시면 언제든지 저희에게 연락해 주십시오.

Description

Certificate based kubelet authentication should be enabled. The API server, by default, does not authenticate itself to the kubelet’s HTTPS endpoints. The requests from the API server are treated anonymously. Certificate-based kubelet authentication should be set up to ensure that the apiserver authenticates itself to kubelets when submitting requests.

Remediation

Follow the Kubernetes documentation and set up the TLS connection between the apiserver and kubelets. Then, edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml on the master node and set the kubelet client certificate and key parameters as below.

--kubelet-client-certificate=<path/to/client-certificate-file> 
--kubelet-client-key=<path/to/client-key-file>