Skip to content

Commit

Permalink
Merge pull request #39190 from Jun10ng/add-reminder
Browse files Browse the repository at this point in the history
Update hello-minikube.md
  • Loading branch information
k8s-ci-robot authored Feb 6, 2023
2 parents 5e2f1f2 + 62ad84a commit f948d81
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions content/en/docs/tutorials/hello-minikube.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,17 @@ tutorial has only one Container. A Kubernetes
Pod and restarts the Pod's Container if it terminates. Deployments are the
recommended way to manage the creation and scaling of Pods.

1. Katacoda environment only: At the top of the terminal pane, click the plus sign, and then click open a new terminal.

1. Use the `kubectl create` command to create a Deployment that manages a Pod. The
Pod runs a Container based on the provided Docker image.


```shell
kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.39 -- /agnhost netexec --http-port=8080
```

2. View the Deployment:
1. View the Deployment:

```shell
kubectl get deployments
Expand All @@ -110,7 +113,7 @@ Pod runs a Container based on the provided Docker image.
hello-node 1/1 1 1 1m
```

3. View the Pod:
1. View the Pod:

```shell
kubectl get pods
Expand All @@ -123,13 +126,13 @@ Pod runs a Container based on the provided Docker image.
hello-node-5f76cf6ccf-br9b5 1/1 Running 0 1m
```

4. View cluster events:
1. View cluster events:

```shell
kubectl get events
```

5. View the `kubectl` configuration:
1. View the `kubectl` configuration:

```shell
kubectl config view
Expand Down

0 comments on commit f948d81

Please sign in to comment.