From 8a6cb5208d3bc59c519c348daf38bce67b0e9cd3 Mon Sep 17 00:00:00 2001 From: Jack Brown Date: Sun, 11 Aug 2024 15:15:26 -0700 Subject: [PATCH 1/2] Update module5.md Removed unnecessary command to recreate deployment The previous module didn't actually include a step to delete the deployment, so this could be confusing to users following the guide. --- site/content/en/docs/tutorials/kubernetes_101/module5.md | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/site/content/en/docs/tutorials/kubernetes_101/module5.md b/site/content/en/docs/tutorials/kubernetes_101/module5.md index c3512b96bf29..8dc8e86f6a1f 100644 --- a/site/content/en/docs/tutorials/kubernetes_101/module5.md +++ b/site/content/en/docs/tutorials/kubernetes_101/module5.md @@ -10,13 +10,7 @@ The goal of this scenario is to scale a deployment with kubectl scale and to see ## Step 1 - Scaling a deployment -First, let's recreate the Deployment we deleted in the previous module: - -```shell -kubectl expose deployment/kubernetes-bootcamp --type="NodePort" --port 8080 -``` - -To list your deployments use the `get deployment` command: +First, let's list the deployments using the `get deployment` command: ```shell kubectl get deployments From 3b2576d897cc939193457c54dd8933146bd68ccd Mon Sep 17 00:00:00 2001 From: Jack Brown Date: Sun, 11 Aug 2024 15:26:14 -0700 Subject: [PATCH 2/2] Fixed typo --- site/content/en/docs/tutorials/kubernetes_101/module5.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/en/docs/tutorials/kubernetes_101/module5.md b/site/content/en/docs/tutorials/kubernetes_101/module5.md index 8dc8e86f6a1f..734ca73adfd0 100644 --- a/site/content/en/docs/tutorials/kubernetes_101/module5.md +++ b/site/content/en/docs/tutorials/kubernetes_101/module5.md @@ -87,7 +87,7 @@ export NODE_PORT=$(kubectl get services/kubernetes-bootcamp -o go-template='{{(i echo NODE_PORT=$NODE_PORT ``` -Next, we'll do a `curl` to the exposed IP and port. Execute the command mulitple times: +Next, we'll do a `curl` to the exposed IP and port. Execute the command multiple times: ```shell curl $(minikube ip):$NODE_PORT