Merge pull request #44211 from 1000Delta/zh_sync_cluster-level-pss

[zh] Sync cluster-level-pss.
pull/44218/head
Kubernetes Prow Robot 2023-12-05 06:37:12 +01:00 committed by GitHub
commit 73c7bf9898
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 0 deletions

View File

@ -42,6 +42,7 @@ Pod 安全是一个准入控制器,当新的 Pod 被创建时,它会根据 K
请查阅该版本的文档。
## {{% heading "prerequisites" %}}
<!--
Install the following on your workstation:
@ -434,6 +435,8 @@ following:
-->
7. 在 default 名字空间下创建一个 Pod
{{% code_sample file="security/example-baseline-pod.yaml" %}}
```shell
kubectl apply -f https://k8s.io/examples/security/example-baseline-pod.yaml
```

View File

@ -0,0 +1,10 @@
apiVersion: v1
kind: Pod
metadata:
name: nginx
spec:
containers:
- image: nginx
name: nginx
ports:
- containerPort: 80