Skip to content

Commit 3e2e616

Browse files
authored
Merge pull request #32562 from my-git9/access-api-from-pod
[zh] Update configure-pdb.md
2 parents b1f9801 + 1e3943a commit 3e2e616

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

content/zh/docs/tasks/run-application/configure-pdb.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -317,11 +317,17 @@ automatically responds to changes in the number of replicas of the corresponding
317317
<!--
318318
## Create the PDB object
319319
320-
You can create the PDB object with a command like `kubectl apply -f mypdb.yaml`.
320+
You can create or update the PDB object using kubectl.
321+
```shell
322+
kubectl apply -f mypdb.yaml
323+
```
321324
-->
322325
## 创建 PDB 对象
323326

324-
你可以通过类似 `kubectl apply -f mypdb.yaml` 的命令来创建 PDB。
327+
你可以使用 kubectl 创建或更新 PDB 对象。
328+
```shell
329+
kubectl apply -f mypdb.yaml
330+
```
325331

326332
<!--
327333
You cannot update PDB objects. They must be deleted and re-created.

0 commit comments

Comments
 (0)