Fix spaces

This commit is contained in:
Christian Wansart 2020-03-20 19:17:29 +01:00
parent c6c14b697d
commit c08906d638
5 changed files with 43 additions and 43 deletions

View File

@ -96,24 +96,24 @@ Pod Information:
-no pod information available- -no pod information available-
Server values: Server values:
server_version=nginx: 1.13.3 - lua: 10008 server_version=nginx: 1.13.3 - lua: 10008
Request Information: Request Information:
client_address=172.17.0.1 client_address=172.17.0.1
method=GET method=GET
real path=/ real path=/
query= query=
request_version=1.1 request_version=1.1
request_scheme=http request_scheme=http
request_uri=http://192.168.99.100:8080/ request_uri=http://192.168.99.100:8080/
Request Headers: Request Headers:
accept=*/* accept=*/*
host=192.168.99.100:30674 host=192.168.99.100:30674
user-agent=curl/7.47.0 user-agent=curl/7.47.0
Request Body: Request Body:
-no body in request- -no body in request-
``` ```
```shell ```shell

View File

@ -72,24 +72,24 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
``` ```
4. The `hello-minikube` Pod is now launched but you have to wait until the Pod is up before accessing it via the exposed Service. 4. The `hello-minikube` Pod is now launched but you have to wait until the Pod is up before accessing it via the exposed Service.
Check if the Pod is up and running: Check if the Pod is up and running:
```shell ```shell
kubectl get pod kubectl get pod
``` ```
If the output shows the `STATUS` as `ContainerCreating`, the Pod is still being created: If the output shows the `STATUS` as `ContainerCreating`, the Pod is still being created:
``` ```
NAME READY STATUS RESTARTS AGE NAME READY STATUS RESTARTS AGE
hello-minikube-3383150820-vctvh 0/1 ContainerCreating 0 3s hello-minikube-3383150820-vctvh 0/1 ContainerCreating 0 3s
``` ```
If the output shows the `STATUS` as `Running`, the Pod is now up and running: If the output shows the `STATUS` as `Running`, the Pod is now up and running:
``` ```
NAME READY STATUS RESTARTS AGE NAME READY STATUS RESTARTS AGE
hello-minikube-3383150820-vctvh 1/1 Running 0 13s hello-minikube-3383150820-vctvh 1/1 Running 0 13s
``` ```
5. Get the URL of the exposed Service to view the Service details: 5. Get the URL of the exposed Service to view the Service details:
```shell ```shell
minikube service hello-minikube --url minikube service hello-minikube --url
``` ```
6. To view the details of your local cluster, copy and paste the URL you got as the output, on your browser. 6. To view the details of your local cluster, copy and paste the URL you got as the output, on your browser.
The output is similar to this: The output is similar to this:
@ -119,7 +119,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
Request Body: Request Body:
-no body in request- -no body in request-
``` ```
If you no longer want the Service and cluster to run, you can delete them. If you no longer want the Service and cluster to run, you can delete them.
7. Delete the `hello-minikube` Service: 7. Delete the `hello-minikube` Service:
```shell ```shell
kubectl delete services hello-minikube kubectl delete services hello-minikube
@ -145,7 +145,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
Stopping "minikube"... Stopping "minikube"...
"minikube" stopped. "minikube" stopped.
``` ```
For more information, see [Stopping a Cluster](#stopping-a-cluster). For more information, see [Stopping a Cluster](#stopping-a-cluster).
10. Delete the local Minikube cluster: 10. Delete the local Minikube cluster:
```shell ```shell
minikube delete minikube delete
@ -155,7 +155,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
Deleting "minikube" ... Deleting "minikube" ...
The "minikube" cluster has been deleted. The "minikube" cluster has been deleted.
``` ```
For more information, see [Deleting a cluster](#deleting-a-cluster). For more information, see [Deleting a cluster](#deleting-a-cluster).
## Managing your Cluster ## Managing your Cluster

View File

@ -70,9 +70,9 @@ Make sure you have kubectl installed. You can install kubectl according to the i
If you do not already have a hypervisor installed, install one of these now: If you do not already have a hypervisor installed, install one of these now:
* [KVM](https://www.linux-kvm.org/), which also uses QEMU [KVM](https://www.linux-kvm.org/), which also uses QEMU
* [VirtualBox](https://www.virtualbox.org/wiki/Downloads) [VirtualBox](https://www.virtualbox.org/wiki/Downloads)
Minikube also supports a `--driver=none` option that runs the Kubernetes components on the host and not in a VM. Minikube also supports a `--driver=none` option that runs the Kubernetes components on the host and not in a VM.
Using this driver requires [Docker](https://www.docker.com/products/docker-desktop) and a Linux environment but not a hypervisor. Using this driver requires [Docker](https://www.docker.com/products/docker-desktop) and a Linux environment but not a hypervisor.

View File

@ -84,7 +84,7 @@ Minikube поддерживает следующие возможности Kube
4. Под (Pod) `hello-minikube` теперь запущен, но нужно подождать, пока он начнёт функционировать, прежде чем обращаться к нему. 4. Под (Pod) `hello-minikube` теперь запущен, но нужно подождать, пока он начнёт функционировать, прежде чем обращаться к нему.
Проверьте, что под работает: Проверьте, что под работает:
```shell ```shell
kubectl get pod kubectl get pod
``` ```
@ -170,7 +170,7 @@ Minikube поддерживает следующие возможности Kube
Stopping "minikube"... Stopping "minikube"...
"minikube" stopped. "minikube" stopped.
``` ```
Подробности смотрите в разделе [Остановка кластера](#остановка-кластера). Подробности смотрите в разделе [Остановка кластера](#остановка-кластера).
10. Удалите локальный кластер Minikube: 10. Удалите локальный кластер Minikube:
```shell ```shell
minikube delete minikube delete

View File

@ -95,7 +95,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
<!-- <!--
For more information on starting your cluster on a specific Kubernetes version, VM, or container runtime, see [Starting a Cluster](#starting-a-cluster). For more information on starting your cluster on a specific Kubernetes version, VM, or container runtime, see [Starting a Cluster](#starting-a-cluster).
--> -->
有关使用特定 Kubernetes 版本、VM 或容器运行时启动集群的详细信息,请参阅[启动集群](#starting-a-cluster)。 有关使用特定 Kubernetes 版本、VM 或容器运行时启动集群的详细信息,请参阅[启动集群](#starting-a-cluster)。
2. 现在,您可以使用 kubectl 与集群进行交互。有关详细信息,请参阅[与集群交互](#interacting-with-your-cluster)。 2. 现在,您可以使用 kubectl 与集群进行交互。有关详细信息,请参阅[与集群交互](#interacting-with-your-cluster)。
@ -151,7 +151,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
--> -->
<!-- <!--
Check if the Pod is up and running: Check if the Pod is up and running:
--> -->
检查 Pod 是否启动并运行: 检查 Pod 是否启动并运行:
@ -159,7 +159,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
kubectl get pod kubectl get pod
``` ```
<!-- <!--
If the output shows the `STATUS` as `ContainerCreating`, the Pod is still being created: If the output shows the `STATUS` as `ContainerCreating`, the Pod is still being created:
--> -->
如果输出显示 `STATUS``ContainerCreating`,则表明 Pod 仍在创建中: 如果输出显示 `STATUS``ContainerCreating`,则表明 Pod 仍在创建中:
``` ```
@ -167,7 +167,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
hello-minikube-3383150820-vctvh 0/1 ContainerCreating 0 3s hello-minikube-3383150820-vctvh 0/1 ContainerCreating 0 3s
``` ```
<!-- <!--
If the output shows the `STATUS` as `Running`, the Pod is now up and running: If the output shows the `STATUS` as `Running`, the Pod is now up and running:
--> -->
如果输出显示 `STATUS``Running`,则 Pod 现在正在运行: 如果输出显示 `STATUS``Running`,则 Pod 现在正在运行:
``` ```
@ -223,7 +223,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
-no body in request- -no body in request-
``` ```
<!-- <!--
If you no longer want the Service and cluster to run, you can delete them. If you no longer want the Service and cluster to run, you can delete them.
--> -->
如果您不再希望运行 Service 和集群,则可以删除它们。 如果您不再希望运行 Service 和集群,则可以删除它们。
@ -282,7 +282,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
"minikube" stopped. "minikube" stopped.
``` ```
<!-- <!--
For more information, see [Stopping a Cluster](#stopping-a-cluster). For more information, see [Stopping a Cluster](#stopping-a-cluster).
--> -->
有关更多信息,请参阅[停止集群](#stopsing-a-cluster)。 有关更多信息,请参阅[停止集群](#stopsing-a-cluster)。
@ -305,7 +305,7 @@ This brief demo guides you on how to start, use, and delete Minikube locally. Fo
The "minikube" cluster has been deleted. The "minikube" cluster has been deleted.
``` ```
<!-- <!--
For more information, see [Deleting a cluster](#deleting-a-cluster). For more information, see [Deleting a cluster](#deleting-a-cluster).
--> -->
有关更多信息,请参阅[删除集群](#deletion-a-cluster)。 有关更多信息,请参阅[删除集群](#deletion-a-cluster)。