From 22a484f20edfdbf256c72f69153f97d150909a85 Mon Sep 17 00:00:00 2001 From: zyy19981018 <76578326+zyy19981018@users.noreply.github.com> Date: Thu, 5 May 2022 10:04:37 +0800 Subject: [PATCH] Update job.md --- content/zh/docs/concepts/workloads/controllers/job.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/content/zh/docs/concepts/workloads/controllers/job.md b/content/zh/docs/concepts/workloads/controllers/job.md index 27af7b22b1..0a1c6b484d 100644 --- a/content/zh/docs/concepts/workloads/controllers/job.md +++ b/content/zh/docs/concepts/workloads/controllers/job.md @@ -66,7 +66,7 @@ It takes around 10s to complete. ```shell kubectl apply -f https://kubernetes.io/examples/controllers/job.yaml ``` -The output is similar to this: + 输出类似于: ``` @@ -79,7 +79,7 @@ job.batch/pi created ```shell kubectl describe jobs/pi ``` -The output is similar to this: + 输出类似于: ``` @@ -131,7 +131,7 @@ To list all the Pods that belong to a Job in a machine readable form, you can us pods=$(kubectl get pods --selector=job-name=pi --output=jsonpath='{.items[*].metadata.name}') echo $pods ``` -The output is similar to this: + 输出类似于: ``` @@ -154,7 +154,6 @@ kubectl logs $pods ``` -The output is similar to this: 输出类似于: ``` @@ -972,7 +971,7 @@ Before deleting it, you make a note of what selector it uses: ```shell kubectl get job old -o yaml ``` -The output is similar to this: + 输出类似于: ```yaml