Skip to content

Commit

Permalink
Merge pull request #19402 from jackcbrown89/patch-1
Browse files Browse the repository at this point in the history
Updated tutorial steps
  • Loading branch information
spowelljr authored Aug 26, 2024
2 parents 528a46a + 3b2576d commit d46be9a
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions site/content/en/docs/tutorials/kubernetes_101/module5.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -93,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
Expand Down

0 comments on commit d46be9a

Please sign in to comment.