From 8428495057257158d0261da1e1572461709c6f15 Mon Sep 17 00:00:00 2001 From: Sarah Franc Date: Wed, 12 Oct 2022 18:26:03 +0200 Subject: [PATCH] [doc] update the doc --- 07-deployment/README.md | 12 ++++++++++++ README.md | 4 +--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/07-deployment/README.md b/07-deployment/README.md index 0ab1228..d61c23a 100644 --- a/07-deployment/README.md +++ b/07-deployment/README.md @@ -116,11 +116,23 @@ You can also use `kubectl scale`: kubectl scale --replicas=5 -f 07-deployment/01-simple-deployment.yml ``` +Check the number of pods you have now: +```sh +kubectl get pod +NAME READY STATUS RESTARTS AGE +simple-deployment-7679fffff7-77wr2 1/1 Running 0 23m +simple-deployment-7679fffff7-hv494 1/1 Running 0 23m +simple-deployment-7679fffff7-kg55p 1/1 Running 0 38s +simple-deployment-7679fffff7-x5cdb 1/1 Running 0 38s +simple-deployment-7679fffff7-zhm72 1/1 Running 0 38s +``` + You can also edit the manifest in place with `kubectl edit`: ```sh kubectl edit deployment simple-deployment ``` +The changes are applied immediately after saving the deployment manifest. `kubectl get pod` to check. I would recommend to only use `kubectl apply` as it is declarative and local to your computer, so you can commit it afterwards. diff --git a/README.md b/README.md index bd1e839..106ffe4 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,9 @@ This hands-on course in under the [CC BY-NC-SA](./LICENSE) license. - Docker: ```sh -open https://download.docker.com/mac/stable/Docker.dmg +brew install --cask docker ``` -- VirtualBox: - - minikube: Install minikube and the "ingress" and "metrics-server" addons: