Updated
parent
48a659c8f1
commit
4aa11efe04
|
@ -27,7 +27,7 @@ service/kube-dns created
|
|||
|
||||
List the pods created by the `kube-dns` deployment:
|
||||
|
||||
[//]: # (sleep:15)
|
||||
[//]: # (command:kubectl wait deployment -n kube-system coredns --for condition=Available=True --timeout=90s)
|
||||
|
||||
```bash
|
||||
kubectl get pods -l k8s-app=kube-dns -n kube-system
|
||||
|
@ -51,7 +51,7 @@ Create a `busybox` pod:
|
|||
kubectl run busybox --image=busybox:1.28 --command -- sleep 3600
|
||||
```
|
||||
|
||||
[//]: # (sleep:10)
|
||||
[//]: # (command:kubectl wait pods -n default -l run=busybox --for condition=Ready --timeout=90s)
|
||||
|
||||
|
||||
List the pod created by the `busybox` pod:
|
||||
|
|
|
@ -64,7 +64,7 @@ Create a deployment for the [nginx](https://nginx.org/en/) web server:
|
|||
kubectl create deployment nginx --image=nginx:1.23.1
|
||||
```
|
||||
|
||||
[//]: # (sleep:15)
|
||||
[//]: # (command:kubectl wait deployment -n default nginx --for condition=Available=True --timeout=90s)
|
||||
|
||||
List the pod created by the `nginx` deployment:
|
||||
|
||||
|
|
|
@ -89,6 +89,11 @@ for doc in glob.glob(os.path.join(docs_path, '*.md')):
|
|||
f'sleep {value}',
|
||||
newline
|
||||
])
|
||||
elif token == 'command':
|
||||
script.extend([
|
||||
value,
|
||||
newline
|
||||
])
|
||||
elif token == 'comment':
|
||||
script.extend([
|
||||
'#######################################################################',
|
||||
|
|
Loading…
Reference in New Issue