The Kubernetes API server should only allow explicitly authorized requests

Set up the kubernetes integration.

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

Description

The API server should not be configured to allow all requests. This mode should not be used on any production cluster.

Remediation

Edit the API server pod specification file /etc/kubernetes/manifests/kube-apiserver.yaml on the master node, and set the --authorization-mode parameter to values other than AlwaysAllow. For example, --authorization-mode=RBAC,Node.