From 4129e0770389d1ee3f4a191a50c333593fed8108 Mon Sep 17 00:00:00 2001 From: Jun10ng Date: Tue, 31 Jan 2023 22:53:08 +0800 Subject: [PATCH 1/2] Update hello-minikube.md --- content/en/docs/tutorials/hello-minikube.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/content/en/docs/tutorials/hello-minikube.md b/content/en/docs/tutorials/hello-minikube.md index c3a48105148ee..dfaea661eb4e4 100644 --- a/content/en/docs/tutorials/hello-minikube.md +++ b/content/en/docs/tutorials/hello-minikube.md @@ -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. Use the `kubectl create` command to create a Deployment that manages a Pod. The +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 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: +3. 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: +4. 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: +5. View cluster events: ```shell kubectl get events ``` -5. View the `kubectl` configuration: +6. View the `kubectl` configuration: ```shell kubectl config view From 62ad84a1eba37049013d396fc59e57a3ee3f9a24 Mon Sep 17 00:00:00 2001 From: Jun10ng Date: Wed, 1 Feb 2023 15:52:12 +0800 Subject: [PATCH 2/2] Update hello-minikube.md --- content/en/docs/tutorials/hello-minikube.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/content/en/docs/tutorials/hello-minikube.md b/content/en/docs/tutorials/hello-minikube.md index dfaea661eb4e4..08e5b3a7d0833 100644 --- a/content/en/docs/tutorials/hello-minikube.md +++ b/content/en/docs/tutorials/hello-minikube.md @@ -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