Update k8s.io/docs/tutorials/hello-minikube (#18673)

* Update k8s.io/docs/tutorials/hello-minikube

* Update hello-minikube.md
This commit is contained in:
Kartik494 2020-01-16 23:18:22 +05:30 committed by Kubernetes Prow Robot
parent 66372da95e
commit 9b9910c0d4
1 changed files with 8 additions and 9 deletions

View File

@ -187,7 +187,6 @@ Minikube has a set of built-in {{< glossary_tooltip text="addons" term_id="addon
efk: disabled
freshpod: disabled
gvisor: disabled
heapster: disabled
helm-tiller: disabled
ingress: 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
```
2. Enable an addon, for example, `heapster`:
2. Enable an addon, for example, `metrics-server`:
```shell
minikube addons enable heapster
minikube addons enable metrics-server
```
The output is similar to:
```
heapster was successfully enabled
metrics-server was successfully enabled
```
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
pod/coredns-5644d7b6d9-mh9ll 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/influxdb-grafana-b29w8 2/2 Running 0 26s
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
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/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
```
4. Disable `heapster`:
4. Disable `metrics-server`:
```shell
minikube addons disable heapster
minikube addons disable metrics-server
```
The output is similar to:
```
heapster was successfully disabled
metrics-server was successfully disabled
```
## Clean up