Information
Disable cAdvisor.
Rationale:
cAdvisor provides potentially sensitive data and there's currently no way to block access to it using anything other than iptables. It does not require authentication/authorization to connect to the cAdvisor port. Hence, you should disable the port.
Solution
Edit the `/etc/kubernetes/kubelet` file on each node and set the `KUBELET_ARGS` parameter to `'--cadvisor-port=0'`: `KUBELET_ARGS='--cadvisor-port=0'`
Based on your system, restart the `kubelet` service. For example: `systemctl restart kubelet.service`
Impact:
cAdvisor will not be available directly. You need to work with `/metrics` endpoint on the API server.