Merge pull request #44211 from 1000Delta/zh_sync_cluster-level-pss
[zh] Sync cluster-level-pss.pull/44218/head
commit
73c7bf9898
|
@ -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
|
||||
```
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: nginx
|
||||
spec:
|
||||
containers:
|
||||
- image: nginx
|
||||
name: nginx
|
||||
ports:
|
||||
- containerPort: 80
|
Loading…
Reference in New Issue