Document pss at cluster level for recent release
This commit is contained in:
@@ -19,6 +19,9 @@ to all namespaces in a cluster.
|
|||||||
|
|
||||||
To apply Pod Security Standards to specific namespaces, refer to [Apply Pod Security Standards at the namespace level](/docs/tutorials/security/ns-level-pss).
|
To apply Pod Security Standards to specific namespaces, refer to [Apply Pod Security Standards at the namespace level](/docs/tutorials/security/ns-level-pss).
|
||||||
|
|
||||||
|
If you are running a version of Kubernetes other than v{{< skew currentVersion >}},
|
||||||
|
check the documentation for that version.
|
||||||
|
|
||||||
## {{% heading "prerequisites" %}}
|
## {{% heading "prerequisites" %}}
|
||||||
|
|
||||||
Install the following on your workstation:
|
Install the following on your workstation:
|
||||||
@@ -38,12 +41,12 @@ that are most appropriate for your configuration, do the following:
|
|||||||
1. Create a cluster with no Pod Security Standards applied:
|
1. Create a cluster with no Pod Security Standards applied:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kind create cluster --name psa-wo-cluster-pss --image kindest/node:v1.23.0
|
kind create cluster --name psa-wo-cluster-pss --image kindest/node:v{{< skew currentVersion >}}.0
|
||||||
```
|
```
|
||||||
The output is similar to this:
|
The output is similar to this:
|
||||||
```
|
```
|
||||||
Creating cluster "psa-wo-cluster-pss" ...
|
Creating cluster "psa-wo-cluster-pss" ...
|
||||||
✓ Ensuring node image (kindest/node:v1.23.0) 🖼
|
✓ Ensuring node image (kindest/node:v{{< skew currentVersion >}}.0) 🖼
|
||||||
✓ Preparing nodes 📦
|
✓ Preparing nodes 📦
|
||||||
✓ Writing configuration 📜
|
✓ Writing configuration 📜
|
||||||
✓ Starting control-plane 🕹️
|
✓ Starting control-plane 🕹️
|
||||||
@@ -245,12 +248,12 @@ following:
|
|||||||
these Pod Security Standards:
|
these Pod Security Standards:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
kind create cluster --name psa-with-cluster-pss --image kindest/node:v1.23.0 --config /tmp/pss/cluster-config.yaml
|
kind create cluster --name psa-with-cluster-pss --image kindest/node:v{{< skew currentVersion >}}.0 --config /tmp/pss/cluster-config.yaml
|
||||||
```
|
```
|
||||||
The output is similar to this:
|
The output is similar to this:
|
||||||
```
|
```
|
||||||
Creating cluster "psa-with-cluster-pss" ...
|
Creating cluster "psa-with-cluster-pss" ...
|
||||||
✓ Ensuring node image (kindest/node:v1.23.0) 🖼
|
✓ Ensuring node image (kindest/node:v{{< skew currentVersion >}}.0) 🖼
|
||||||
✓ Preparing nodes 📦
|
✓ Preparing nodes 📦
|
||||||
✓ Writing configuration 📜
|
✓ Writing configuration 📜
|
||||||
✓ Starting control-plane 🕹️
|
✓ Starting control-plane 🕹️
|
||||||
|
|||||||
Reference in New Issue
Block a user