Skip to content

Commit

Permalink
[docs/tutorials]: update kube-state-metrics install details (#17570)
Browse files Browse the repository at this point in the history
  • Loading branch information
tariq1890 authored and k8s-ci-robot committed Nov 18, 2019
1 parent ce299d5 commit 1ef778e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ kubectl get pods --namespace=kube-system | grep kube-state

```shell
git clone https://github.com/kubernetes/kube-state-metrics.git kube-state-metrics
kubectl create -f kube-state-metrics/kubernetes
kubectl get pods --namespace=kube-system | grep kube-state
kubectl create -f examples/standard
kubectl get pods --namespace=kube-system | grep kube-state-metrics
```
Verify that kube-state-metrics is running and ready
```shell
kubectl get pods -n kube-system -l k8s-app=kube-state-metrics
kubectl get pods -n kube-system -l app.kubernetes.io/name=kube-state-metrics
```

Output:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ kubectl get pods --namespace=kube-system | grep kube-state

```shell
git clone https://github.com/kubernetes/kube-state-metrics.git kube-state-metrics
kubectl create -f kube-state-metrics/kubernetes
kubectl get pods --namespace=kube-system | grep kube-state
kubectl create -f examples/standard
kubectl get pods --namespace=kube-system | grep kube-state-metrics
```
kube-state-metrics이 실행 중이고 준비되었는지 확인한다.
```shell
kubectl get pods -n kube-system -l k8s-app=kube-state-metrics
kubectl get pods -n kube-system -l app.kubernetes.io/name=kube-state-metrics
```

출력
Expand Down

0 comments on commit 1ef778e

Please sign in to comment.