Update k8s.io/docs/tutorials/hello-minikube (#18673)
* Update k8s.io/docs/tutorials/hello-minikube * Update hello-minikube.md
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
66372da95e
commit
9b9910c0d4
@@ -187,7 +187,6 @@ Minikube has a set of built-in {{< glossary_tooltip text="addons" term_id="addon
|
|||||||
efk: disabled
|
efk: disabled
|
||||||
freshpod: disabled
|
freshpod: disabled
|
||||||
gvisor: disabled
|
gvisor: disabled
|
||||||
heapster: disabled
|
|
||||||
helm-tiller: disabled
|
helm-tiller: disabled
|
||||||
ingress: disabled
|
ingress: disabled
|
||||||
ingress-dns: disabled
|
ingress-dns: disabled
|
||||||
@@ -201,16 +200,16 @@ Minikube has a set of built-in {{< glossary_tooltip text="addons" term_id="addon
|
|||||||
storage-provisioner-gluster: disabled
|
storage-provisioner-gluster: disabled
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Enable an addon, for example, `heapster`:
|
2. Enable an addon, for example, `metrics-server`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
minikube addons enable heapster
|
minikube addons enable metrics-server
|
||||||
```
|
```
|
||||||
|
|
||||||
The output is similar to:
|
The output is similar to:
|
||||||
|
|
||||||
```
|
```
|
||||||
heapster was successfully enabled
|
metrics-server was successfully enabled
|
||||||
```
|
```
|
||||||
|
|
||||||
3. View the Pod and Service you just created:
|
3. View the Pod and Service you just created:
|
||||||
@@ -225,7 +224,7 @@ Minikube has a set of built-in {{< glossary_tooltip text="addons" term_id="addon
|
|||||||
NAME READY STATUS RESTARTS AGE
|
NAME READY STATUS RESTARTS AGE
|
||||||
pod/coredns-5644d7b6d9-mh9ll 1/1 Running 0 34m
|
pod/coredns-5644d7b6d9-mh9ll 1/1 Running 0 34m
|
||||||
pod/coredns-5644d7b6d9-pqd2t 1/1 Running 0 34m
|
pod/coredns-5644d7b6d9-pqd2t 1/1 Running 0 34m
|
||||||
pod/heapster-9jttx 1/1 Running 0 26s
|
pod/metrics-server-67fb648c5 1/1 Running 0 26s
|
||||||
pod/etcd-minikube 1/1 Running 0 34m
|
pod/etcd-minikube 1/1 Running 0 34m
|
||||||
pod/influxdb-grafana-b29w8 2/2 Running 0 26s
|
pod/influxdb-grafana-b29w8 2/2 Running 0 26s
|
||||||
pod/kube-addon-manager-minikube 1/1 Running 0 34m
|
pod/kube-addon-manager-minikube 1/1 Running 0 34m
|
||||||
@@ -236,22 +235,22 @@ Minikube has a set of built-in {{< glossary_tooltip text="addons" term_id="addon
|
|||||||
pod/storage-provisioner 1/1 Running 0 34m
|
pod/storage-provisioner 1/1 Running 0 34m
|
||||||
|
|
||||||
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
|
||||||
service/heapster ClusterIP 10.96.241.45 <none> 80/TCP 26s
|
service/metrics-server ClusterIP 10.96.241.45 <none> 80/TCP 26s
|
||||||
service/kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP 34m
|
service/kube-dns ClusterIP 10.96.0.10 <none> 53/UDP,53/TCP 34m
|
||||||
service/monitoring-grafana NodePort 10.99.24.54 <none> 80:30002/TCP 26s
|
service/monitoring-grafana NodePort 10.99.24.54 <none> 80:30002/TCP 26s
|
||||||
service/monitoring-influxdb ClusterIP 10.111.169.94 <none> 8083/TCP,8086/TCP 26s
|
service/monitoring-influxdb ClusterIP 10.111.169.94 <none> 8083/TCP,8086/TCP 26s
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Disable `heapster`:
|
4. Disable `metrics-server`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
minikube addons disable heapster
|
minikube addons disable metrics-server
|
||||||
```
|
```
|
||||||
|
|
||||||
The output is similar to:
|
The output is similar to:
|
||||||
|
|
||||||
```
|
```
|
||||||
heapster was successfully disabled
|
metrics-server was successfully disabled
|
||||||
```
|
```
|
||||||
|
|
||||||
## Clean up
|
## Clean up
|
||||||
|
|||||||
Reference in New Issue
Block a user