Update hello-minikube.md

This commit is contained in:
Jun10ng 2023-02-01 15:52:12 +08:00 committed by GitHub
parent 4129e07703
commit 62ad84a1eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -92,7 +92,7 @@ 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.
2. Use the `kubectl create` command to create a Deployment that manages a Pod. The
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.
@ -100,7 +100,7 @@ Pod runs a Container based on the provided Docker image.
kubectl create deployment hello-node --image=registry.k8s.io/e2e-test-images/agnhost:2.39 -- /agnhost netexec --http-port=8080
```
3. View the Deployment:
1. View the Deployment:
```shell
kubectl get deployments
@ -113,7 +113,7 @@ Pod runs a Container based on the provided Docker image.
hello-node 1/1 1 1 1m
```
4. View the Pod:
1. View the Pod:
```shell
kubectl get pods
@ -126,13 +126,13 @@ Pod runs a Container based on the provided Docker image.
hello-node-5f76cf6ccf-br9b5 1/1 Running 0 1m
```
5. View cluster events:
1. View cluster events:
```shell
kubectl get events
```
6. View the `kubectl` configuration:
1. View the `kubectl` configuration:
```shell
kubectl config view