docs/doc/source/security/kubernetes/enable-pod-security-policy-checking.rst
Ron Stone f125a8b892 Remove spurious escapes (r8,dsR8)
This change addresses a long-standing issue in rST documentation imported from XML.
That import process added backslash escapes in front of various characters. The three
most common being '(', ')', and '_'.
These instances are removed.

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Id43a9337ffcd505ccbdf072d7b29afdb5d2c997e
2023-03-01 11:19:04 +00:00

33 lines
787 B
ReStructuredText

.. vca1590088383576
.. _enable-pod-security-policy-checking:
===================================
Enable Pod Security Policy Checking
===================================
.. rubric:: |proc|
#. Set the kubernetes kube_apiserver admission_plugins system parameter to
include PodSecurityPolicy.
.. code-block:: none
~(keystone_admin)]$ system service-parameter-add kubernetes kube_apiserver admission_plugins=PodSecurityPolicy
#. Apply the Kubernetes system parameters.
.. code-block:: none
~(keystone_admin)]$ system service-parameter-apply kubernetes
#. View the automatically added pod security policies.
.. code-block:: none
$ kubectl get psp
$ kubectl describe <psp> privileged
$ kubectl describe <psp> restricted