Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- student@student-virtual-machine:~/ckad$ history
- 1 sudo apt install vim git
- 2 git clone https://github.com/sandervanvugt/ckad
- 3 cd ckad
- 4 ls
- 5 ./minikube-docker-setup.sh
- 6 minikube start --vm-driver=docker
- 7 kubectl get all
- 8 minikube status
- 9 minikube --help
- 10 minikube dashboard
- 11 bg
- 12 history
- 13 kubectl get all
- 14 ./countdown 12
- 15 kubectl --help | less
- 16 kubectl create --help | less
- 17 kubectl create deployment --help | less
- 18 kubectl create deployment my-dep --image=nginx --replicas=3
- 19 kubectl get all
- 20 kubectl completion -h | less
- 21 source <(kubectl completion bash)
- 22 kubectl create poddisruptionbudget -h
- 23 history
- 24 kubectl config view
- 25 cd
- 26 cd .kube/
- 27 ls
- 28 vim config
- 29 history
- 30 cd
- 31 kubectl run nakegginx --image=nginx
- 32 kubectl get all
- 33 kubectl delete pod my-dep-5b7868d854-svmmv
- 34 kubectl get all
- 35 kubectl delete pod nakegginx
- 36 kubectl get all
- 37 kubectl get pods
- 38 kubectl get pods my-dep-5b7868d854-tsdp9 -o yaml | less
- 39 kubectl describe pods my-dep-5b7868d854-tsdp9 | less
- 40 kubectl run -h | less
- 41 kubectl get pods my-dep-5b7868d854-tsdp9 -o yaml | less
- 42 kubectl api-resources
- 43 kubectl api-resources | less
- 44 kubectl explain pods
- 45 kubectl explain pods.spec
- 46 kubectl explain pods.spec.containers
- 47 history
- 48 kubectl run mynginx --image=nginx --dry-run=client -o yaml
- 49 kubectl run mynginx --image=nginx --dry-run=client -o yaml > mynginx.yaml
- 50 vim mynginx.yaml
- 51 kubectl create -f mynginx.yaml
- 52 kubectl get all
- 53 kubectl delete -f mynginx.yaml
- 54 kubectl get all
- 55 vim mynginx.yaml
- 56 kubectl run sleepybox --image=busybox -- sleep 3600
- 57 kubectl get pods
- 58 kubectl get pods sleepybox -o yaml > sleepy.yaml
- 59 vim sleepy.yaml
- 60 kubectl delete pod sleepybox
- 61 kubectl apply -f sleepy.yaml
- 62 kubectl get all
- 63 kubectl run snoringbox --image=busybox -- sleep 3600
- 64 kubectl get pods snoringbox -o yaml > snore.yaml
- 65 kubectl delete pods snoringbox
- 66 kubectl create -f snore.yaml
- 67 kubectl get pods
- 68 cd ckad/
- 69 ./countdown 12
- 70 history
- 71 vim sidecar.yaml
- 72 kubectl create -f sidecar.yaml
- 73 kubectl exec -it sidecar-pod -c sidecar -- /bin/bash
- 74 history
- 75 vim sidecar.yaml
- 76 vim init-example1.yaml
- 77 kubectl create init-example1.yaml
- 78 kubectl create -f init-example1.yaml
- 79 kubectl get pods
- 80 kubectl describe pod init-demo1
- 81 vim init-example2.yaml
- 82 kubectl create -f init-example2.yaml
- 83 kubectl get pods
- 84 vim init-example1.yaml
- 85 kubectl get ns
- 86 kubectl get all
- 87 kubectl get all -n kube-system
- 88 kubectl get all -n kubernetes-dashboard
- 89 kubectl create ns mynamespace
- 90 kubectl get ns
- 91 kubectl get all -n mynamespace
- 92 kubectl run mypod --image=busybox -- sleep 3600 -n mynamespace
- 93 kubectl get pods
- 94 kubectl run mypod --image=busybox -n mynamespace -- sleep 3600
- 95 kubectl get all -n mynamespace
- 96 history
- 97 kubectl get pods
- 98 kubectl describe pods mypod
- 99 kubectl logs mypod
- 100 kubectl delete pods mypod
- 101 kubectl get pods -A
- 102 kubectl create ns secret
- 103 kubectl run secretpod --image=nginx -n secret
- 104 kubectl get pods -A
- 105 vim busybox-ns.yaml
- 106 kubectl get pods -o yaml -n secret secretpod
- 107 kubectl get pods -o yaml -n secret secretpod | less
- 108 vim busybox-ns.yaml
- 109 kubectl create -f busybox-ns.yaml
- 110 kubectl get pods -n secret
- 111 ./countdown 12
- 112 kubectl get pods
- 113 kubectl exec -it sleepybox sh
- 114 kubectl explain pods.spec
- 115 kubectl explain pods.spec.securityContext | less
- 116 kubectl explain pods.spec.containers.securityContext | less
- 117 vim securitycontextdemo2.yaml
- 118 kubectl create -f securitycontextdemo2.yaml
- 119 kubectl exec -it security-context-demo -- sh
- 120 vim securitycontextdemo.yaml
- 121 kubectl create -f securitycontextdemo.yaml
- 122 kubectl get pods
- 123 kubectl describe pods nginxsecure
- 124 kubectl create job -h
- 125 kubectl create job onejob --image=busybox -- date
- 126 kubectl get all
- 127 kubectl get jobs onejob -o yaml | less
- 128 kubectl get pods onejob--1-rnm7p -o yaml | grep restart
- 129 kubectl get pods onejob--1-rnm7p -o yaml | grep -A 5 -B 5 restart
- 130 kubectl delete job onejob
- 131 kubectl get all
- 132 kubectl create mynewjob --image=busybox --dry-run=client -o yaml -- sleep 5 > myjob.yaml
- 133 kubectl create job mynewjob --image=busybox --dry-run=client -o yaml -- sleep 5 > myjob.yaml
- 134 vim myjob.yaml
- 135 kubectl create -f myjob.yaml
- 136 kubectl get all
- 137 kubectl create cronjob -h | less
- 138 kubectl create cronjob runme --image=busybox --schedule="*/1 * * * *" -- echo greetings from kubernetes
- 139 kubectl get cronjobs,jobs,pods
- 140 kubectl logs runme-27364002--1-9rsmn
- 141 kubectl get cronjobs,jobs,pods
- 142 kubectl delete cronjobs.batch runme
- 143 kubectl get cronjobs,jobs,pods
- 144 vim frontend-resources.yaml
- 145 kubectl create -f frontend-resources.yaml
- 146 kubectl get all
- 147 kubectl describe pod frontend
- 148 kubectl get all
- 149 kubectl describe pod frontend
- 150 kubectl delete -f frontend-resources.yaml
- 151 vim frontend-resources.yaml
- 152 kubectl create -f frontend-resources.yaml
- 153 history
- 154 sudo poweroff
- 155 minikube start
- 156 source <(kubectl completion bash)
- 157 kubectl create deployment myweb --image=nginx --replicas=3
- 158 kubectl get all
- 159 kubectl get all --selector app=myweb
- 160 kubectl get all --selector app=myweb --show-labels
- 161 kubectl describe deployments.apps myweb
- 162 kubectl get all --selector app=myweb --show-labels
- 163 kubectl delete pod myweb-855c667ff6-w7mtn
- 164 kubectl get all --selector app=myweb --show-labels
- 165 kubectl run mypod --image=nginx
- 166 kubectl get pods
- 167 kubectl delete pods mypod
- 168 kubectl get pods
- 169 history
- 170 kubectl scale deployment myweb --replicas=5
- 171 kubectl get all --selector app=myweb --show-labels
- 172 kubectl edit deployments.apps myweb
- 173 cd ckad/
- 174 vim redis-deploy.yaml
- 175 kubectl create -f redis-deploy.yaml
- 176 vim redis-deploy.yaml
- 177 kubectl api-versions
- 178 vim redis-deploy.yaml
- 179 kubectl create -f redis-deploy.yaml
- 180 kubectl edit deploy redis
- 181 kubectl get all
- 182 kubectl delete replicasets.apps redis
- 183 kubectl delete replicasets.apps redis-6fb5b985bc
- 184 kubectl get all
- 185 history
- 186 kubectl create deployment nginxip --image=nginx:1.14
- 187 kubectl get all --selector app=nginxip
- 188 kubectl set image deploy nginxip nginx=nginx:1.17
- 189 kubectl get all --selector app=nginxip
- 190 kubectl create deployment bluelabel --image=nginx
- 191 kubectl get all --selector app=bluelabel
- 192 kubectl label deployments.apps bluelabel state=demo
- 193 kubectl get deployments.apps --show-labels
- 194 kubectl get deployments.apps --selector state=demo
- 195 kubectl get all --selector state=demo
- 196 kubectl describe deployments.apps bluelabel
- 197 kubectl get deploy bluelabel -o yaml | less
- 198 kubectl label pod bluelabel-765c597dd6-tdgn2 app-
- 199 kubectl get pods
- 200 kubectl run blacklabel --image=nginx --label=bluelabel
- 201 kubectl run --help | less
- 202 kubectl run blacklabel --image=nginx --labels=bluelabel
- 203 kubectl run blacklabel --image=nginx --labels bluelabel
- 204 kubectl run blacklabel --image=nginx --labels=redlabel
- 205 kubectl run --help | less
- 206 kubectl run blacklabel --image=nginx --labels=app=bluelabel
- 207 kubectl get all
- 208 kubectl get pods --show-labels
- 209 kubectl get pods --show-labels | grep run
- 210 kubectl get deploy
- 211 kubectl scale deployment webginx --replicas=0
- 212 kubectl get all --selector app=webginx
- 213 kubectl get all
- 214 kubectl get all --show-labels
- 215 kubectl get all --selector k8s-app=webginx
- 216 kubectl rollout history
- 217 kubectl rollout history deployment
- 218 kubectl get deployments.apps bluelabel -o yaml
- 219 kubectl scale deploy bluelabel --replicas=4
- 220 kubectl get all --selector app=bluelabel
- 221 kubectl set env deploy bluelabel type=blended
- 222 kubectl get all --selector app=s
- 223 kubectl set env deploy bluelabel type=singlemalt
- 224 kubectl get all --selector app=bluelabel
- 225 vim rolling.yaml
- 226 kubectl create -f rolling.yaml
- 227 kubectl rollout history deployment
- 228 kubectl edit deployments.apps rolling-nginx
- 229 kubectl rollout history deployment
- 230 kubectl describe deployments.apps rolling-nginx
- 231 kubectl rollout history deployment rolling-nginx --revision=2
- 232 kubectl rollout history deployment rolling-nginx --revision=1
- 233 kubectl rollout undo deployment rolling-nginx --to-revision=1
- 234 ./countdown 12
- 235 kubectl create deploy nginxsvc --image=nginx --replicas=3
- 236 kubectl get all --selector app=nginxsvc
- 237 kubectl get all --selector app=nginxsvc -o wide
- 238 curl 172.17.0.34
- 239 kubectl expose deployment nginxsvc --port=80
- 240 kubectl get all --selector app=nginxsvc -o wide
- 241 kubectl describe svc nginxsvc
- 242 kubectl get endpoints
- 243 kubectl get svc
- 244 curl 10.98.218.40
- 245 minikube ssh
- 246 kubectl edit svc nginxsvc
- 247 kubectl get svc
- 248 minikube ip
- 249 curl 192.168.49.2:32000
- 250 history
- 251 kubectl describe svc nginxsvc
- 252 kubectl edit svc nginxsvc
- 253 kubectl describe svc nginxsvc
- 254 kubectl edit svc nginxsvc
- 255 kubectl get all -n kube-system
- 256 kubectl run testpod --image=busybox
- 257 kubectl get pods testpod
- 258 kubectl describe pods testpod
- 259 kubectl get pods testpod
- 260 kubectl delete pod testpod
- 261 kubectl run testpod --image=busybox -- sleep 3600
- 262 kubectl get svc
- 263 kubectl get svc,pods -n kube-system
- 264 kubectl get endpoints -n kube-system
- 265 kubectl get svc,pods -n kube-system -o wide
- 266 kubectl exec -ti testpod -- cat /etc/resolv.conf
- 267 kubectl get svc,pods -n kube-system -o wide
- 268 kubectl exec -it testpod -- nslookup nginxsvc
- 269 history
- 270 ./countdown 5
- 271 kubectl expose --help
- 272 kubectl expose --help | less
- 273 kubectl create service --help | less
- 274 kubectl create service nodeport --help
- 275 ./countdown 12
- 276 minikube addons list
- 277 minikube addons enable ingress
- 278 kubectl get ns
- 279 kubectl get all -n ingress-nginx
- 280 kubectl get deploy
- 281 kubectl get svc nginxsvc
- 282 curl http://$(minikube ip):32000
- 283 kubectl create ingress --help | less
- 284 kubectl create ingress nginxsvc-ingress --rule="/=nginxsvc:80" --rule="/hello=newdep:8080:
- 285 kubectl create ingress nginxsvc-ingress --rule="/=nginxsvc:80" --rule="/hello=newdep:8080"
- 286 minikube ip
- 287 sudo vim /etc/hosts
- 288 kubectl get ingress
- 289 curl nginxsvc.info
- 290 kubectl describe ingress nginxsvc-ingress
- 291 kubectl create deploy newdep --image=gcr.io/google-samples/hello-app:2.0
- 292 kubectl expose deployment newdep --port=8080
- 293 curl nginxsvc.info/hello
- 294 kubectl describe ingress nginxsvc-ingress
- 295 history
- 296 kubectl explain pod.spec.volumes | less
- 297 vim morevolumes.yaml
- 298 kubectl create -f morevolumes.yaml
- 299 kubectl get pods morevol
- 300 kubectl get pods morevol2
- 301 kubectl describe pods morevol2 | less
- 302 kubectl exec -it morevol2 -c centos1 -- touch /centos1/test1
- 303 kubectl exec -it morevol2 -c centos2 -- ls -l /centos2
- 304 ./countdown 13
- 305 kubectl describe pod morevol2
- 306 vim morevolumes.yaml
- 307 vim pv.yaml
- 308 kubectl create -f pv.yaml
- 309 kubectl get pv
- 310 vim pvc.yaml
- 311 kubectl create -f pvc.yaml
- 312 kubectl get pv,pvc
- 313 kubectl get storageclass
- 314 kubectl describe pv pvc-8328b15a-3404-4339-8b91-42838713ad16
- 315 vim pv-pvc-pod.yaml
- 316 vim pv-pod.yaml
- 317 kubectl create -f pv-pod.yaml
- 318 kubectl describe pod pv-pod
- 319 kubectl exec -it pv-pod -- echo hello > /usr/share/nginx/html/myfile
- 320 kubectl exec -it pv-pod -- 'echo hello > /usr/share/nginx/html/myfile'
- 321 kubectl exec -it pv-pod -- touch /usr/share/nginx/html
- 322 kubectl exec -it pv-pod -- touch /usr/share/nginx/html/mynewfile
- 323 kubectl get pvc
- 324 kubectl describe pv pvc-8328b15a-3404-4339-8b91-42838713ad16
- 325 minikube ssh
- 326 history
- 327 kubectl get pv
- 328 kubectl explain pv.spec.fc
- 329 kubectl explain pv.spec.iscsi
- 330 kubectl explain pv.spec.glusterfs
- 331 kubectl describe pod pv-pod
- 332 history
- 333 sudo poweroff
- 334 minikube start
- 335 kubectl get pods -n kube-system
- 336 minikube stop
- 337 minikube delete
- 338 minikube start --cni=calico
- 339 kubectl get all
- 340 kubectl get pods -n kube-system
- 341 cd ckad/
- 342 ls
- 343 vim nwpolicy-complete-example.yaml
- 344 kubectl apply -f nwpolicy-complete-example.yaml
- 345 kubectl get networkpolicy,pods
- 346 kubectl exec -it busybox -- wget --spider --timeout=1 nginx
- 347 kubectl exec -it busybox -- bash
- 348 kubectl exec -it busybox -- sh
- 349 kubectl expose --help | less
- 350 kubectl expose pod nginx --port=80
- 351 kubectl get svc nginx
- 352 kubectl exec -it busybox -- wget --spider --timeout=1 nginx
- 353 kubectl get pods --show-labels
- 354 kubectl describe networkpolicy
- 355 kubectl label pod busybox access=true
- 356 kubectl exec -it busybox -- wget --spider --timeout=1 nginx
- 357 history
- 358 kubectl create deploy mydb --image=mariadb
- 359 kubectl get all
- 360 source <(kubectl completion bash)
- 361 kubectl describe pods mydb-6875fcdfbd-v9p6q
- 362 kubectl logs mydb-6875fcdfbd-v9p6q
- 363 kubectl set env deploy mydb MYSQL_ROOT_PASSWORD=password; kubectl get all
- 364 kubectl get all
- 365 kubectl get deployments.apps mydb -o yaml > mydb.yaml
- 366 vim mydb.yaml
- 367 kubectl delete deploy mydb
- 368 vim varsfile
- 369 kubectl create cm mydbvars --from-env-file=varsfile
- 370 rm varsfile
- 371 kubectl describe cm mydbvars
- 372 kubectl create cm morevars --from-literal=MYSQL_DB=book
- 373 kubectl describe cm morevars
- 374 kubectl create deployment mydb --image=mariadb --replicas=3
- 375 kubectl get all
- 376 kubectl set env deploy mydb --from=configmap/mydbvars
- 377 kubectl get all
- 378 kubectl get deploy mydb -o yaml > mynewdb.yaml
- 379 vim mynewdb.yaml
- 380 history
- 381 echo "hello world" > index.html
- 382 kubectl create cm myindex --from-file=index.html
- 383 kubectl describe cm myindex
- 384 kubectl create deploy myweb --image=nginx --dry-run=client -o yaml > myweb.yaml
- 385 vim myweb.yaml
- 386 kubectl create -f myweb.yaml
- 387 kubectl exec -it myweb -- cat /usr/share/nginx/html/index.html
- 388 kubectl get pods
- 389 kubectl exec -it myweb-54bd6bcb94-b7btg -- cat /usr/share/nginx/html/index.html
- 390 ls -lrt
- 391 vim mynewdb.yaml
- 392 kubectl get pods
- 393 history
- 394 kubectl create cm mycm --from-literal=MYSQL_ROOT_PASSWORD=password
- 395 kubectl create deploy mysqlserver --image=mysql
- 396 kubectl set env --from=configmap/mycm deploy/mysqlserver
- 397 kubectl get all
- 398 kubectl create secret -h | less
- 399 kubectl create secret generic -h | less
- 400 kubectl create secret generic dbpw --from-literal=ROOT_PASSWORD=password
- 401 kubectl describe secrets dbpw
- 402 kubectl get secret dbpw -o yaml
- 403 echo cGFzc3dvcmQ= | base64 -d
- 404 kubectl get deploy
- 405 kubectl delete deploy mydb,mysqlserver
- 406 kubectl delete deploy mydb
- 407 kubectl delete deploy mysqlserver
- 408 kubectl create deploy mynewdb --image=mariadb
- 409 kubectl set env deploy mynewdb --from=secret/dbpw --prefix=MYSQL_
- 410 kubectl api-resources | less
- 411 kubectl get pods -n kube-system
- 412 kubectl config view
- 413 kubectl --v=10 get pods
- 414 kubectl proxy --port=8001 &
- 415 curl http://localhost:8001
- 416 kubectl get deploy
- 417 curl http://localhost:8001/version
- 418 curl http://localhost:8001/api/v1/namespaces/default/pods
- 419 kubectl get pods
- 420 curl http://localhost:8001/api/v1/namespaces/default/pods/nginx
- 421 curl http://localhost:8001/api/v1/namespaces/default/pods/nginx/
- 422 kubectl get pods
- 423 curl -XDELETE http://localhost:8001/api/v1/namespaces/default/pods/nginx
- 424 kubectl get pods
- 425 cat ~/.kube/config
- 426 kubectl auth can-i get pods
- 427 kubectl auth can-i get pods --as [email protected]
- 428 kubectl get pods
- 429 kubectl get pods busybox -o yaml
- 430 kubectl get serviceaccount
- 431 kubectl get serviceaccount -A
- 432 vim mypod.yaml
- 433 kubectl create -f mypod.yaml
- 434 kubectl get pods mypod -o yaml | less
- 435 kubectl exec -it mypod -- sh
- 436 vim mysa.yaml
- 437 kubectl create -f mysa.yaml
- 438 vim list-pods.yaml
- 439 kubectl apply -f list-pods.yaml
- 440 vim list-pods-mysa-binding.yaml
- 441 kubectl create -f list-pods-mysa-binding.yaml
- 442 vim mysapod.yaml
- 443 kubectl create -f mysapod.yaml
- 444 kubectl exec -it mysapod -- sh
- 445 kubectl create role --help
- 446 kubectl create rolebinding --help
- 447 ./countdown 12
- 448 cd
- 449 git clone https://github.com/helm/helm/releases
- 450 wget https://get.helm.sh/helm-v3.7.2-linux-arm64.tar.gz
- 451 ls
- 452 tar xvf helm-v3.7.2-linux-arm64.tar.gz
- 453 wget https://get.helm.sh/helm-v3.7.2-linux-amd64.tar.gz
- 454 tar xvf helm-v3.7.2-linux-amd64.tar.gz
- 455 cd linux-amd64/
- 456 ls
- 457 sudo mv helm /usr/local/bin
- 458 helm version
- 459 helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/
- 460 helm install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard
- 461 helm repo add bitnami https://charts.bitnami.com/bitnami
- 462 helm repo list
- 463 helm search repo bitnami
- 464 helm repo update
- 465 helm install bitnami/mysql --generate-name
- 466 kubectl get all
- 467 helm show chart bitnami/mysql
- 468 helm show all bitnami/mysql
- 469 helm list
- 470 helm status mysql-1642009227
- 471 history
- 472 helm show values bitnami/nginx
- 473 helm pull bitnami/nginx
- 474 tar xvf nginx-9.7.1.tgz
- 475 vim nginx/values.yaml
- 476 helm template --debug nginx
- 477 helm install -f nginx/values.yaml mynginx nginx/
- 478 helm list
- 479 kubectl create deploy blue-nginx --image=nginx:1.14 --replicas=3
- 480 kubectl expose blue-nginx --port=80 --name=ngnginx
- 481 kubectl expose deploy blue-nginx --port=80 --name=ngnginx
- 482 kubectl get deploy,pods,svc --show-labels
- 483 kubectl get deploy,pods,svc --show-labels --selector app=blue-nginx
- 484 kubectl describe svc ngnginx
- 485 kubectl get deploy blue-nginx -o yaml > green-nginx.yaml
- 486 vim green-nginx.yaml
- 487 kubectl create -f green-nginx.yaml
- 488 kubectl get deploy,pods,svc --show-labels --selector app=blue-nginx
- 489 kubectl get deploy,pods,svc --show-labels --selector app=green-nginx
- 490 kubectl delete svc ngnginx; kubectl expose deploy green-nginx --port=80 --name=ngnginx
- 491 kubectl get pods -o wide
- 492 kubectl describe svc ngnginx
- 493 kubectl get all --selector app=blue-nginx
- 494 kubectl scale deploy blue-nginx --replicas=0
- 495 kubectl get all --selector app=blue-nginx
- 496 history
- 497 cd ../ckad/
- 498 ./countdown 12
- 499 kubectl create deploy old-nginx --image=nginx:1.14 --replicas=3 --dry-run=client -o yaml > oldnginx.yaml
- 500 vim oldnginx.yaml
- 501 kubectl create -f oldnginx.yaml
- 502 kubectl expose deploy old-nginx --name=oldnginx --port=80 --selector type=canary
- 503 kubectl get svc
- 504 kubectl get endpoints
- 505 minikube ssh
- 506 kubectl cp old-nginx-5b4869b6fd-2v95q:/usr/share/nginx/html/index.html index.html
- 507 vim index.html
- 508 kubectl create cm canary --from-file=index.html
- 509 kubectl describe cm canary
- 510 vim canary.yaml
- 511 kubectl create -f canary.yaml
- 512 kubectl get svc
- 513 kubectl get endpoints
- 514 minikube ssh
- 515 kubectl get deploy
- 516 kubectl scale new-nginx --replicas=3
- 517 kubectl scale deploy new-nginx --replicas=3
- 518 kubectl get deploy
- 519 kubectl scale deployment old-nginx --replicas=0
- 520 history
- 521 vim crd-object.yaml
- 522 kubectl create -f crd-object.yaml
- 523 kubectl api-resources | grep backup
- 524 vim crd-backup.yaml
- 525 kubectl create -f crd-backup.yaml
- 526 kubectl get backups
- 527 vim busybox-ready.yaml
- 528 kubectl create -f busybox-ready.yaml
- 529 kubectl get pods
- 530 kubectl describe pods busybox-ready
- 531 kubectl edit pods busybox-read
- 532 kubectl edit pods busybox-ready
- 533 kubectl exec -it busybox-ready -- sh
- 534 kubectl get pods
- 535 vim nginx-probes.yaml
- 536 kubectl create -f nginx-probes.yaml
- 537 kubectl get pods
- 538 history
Add Comment
Please, Sign In to add comment