Merge pull request #39190 from Jun10ng/add-reminder

Update hello-minikube.md
This commit is contained in:
Kubernetes Prow Robot 2023-02-06 15:00:59 -08:00 committed by GitHub
commit f948d810b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -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
@ -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
@ -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