Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated tutorial steps #19402

Merged
merged 2 commits into from
Aug 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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