зеркало из https://github.com/Azure/kube-advisor.git
Update README.md
This commit is contained in:
Родитель
b0fad9344d
Коммит
923ce09e7c
11
README.md
11
README.md
|
@ -4,7 +4,8 @@ kube-advisor is a diagnostic tool for Kubernetes clusters. At the moment, it ret
|
|||
|
||||
![screenshot](https://user-images.githubusercontent.com/1231630/44505638-5a2c0500-a657-11e8-8bf1-1766d69fa2ff.png)
|
||||
|
||||
## Running in a Kubernetes cluster without RBAC enabled
|
||||
## Running
|
||||
### Running in a Kubernetes cluster without RBAC enabled
|
||||
|
||||
Just run the pod by itself:
|
||||
|
||||
|
@ -12,21 +13,21 @@ Just run the pod by itself:
|
|||
# kubectl run --rm -i -t kube-advisor --image=mcr.microsoft.com/kube-advisor --restart=Never
|
||||
```
|
||||
|
||||
## Running in a Kubernetes cluster with RBAC enabled
|
||||
### Running in a Kubernetes cluster with RBAC enabled
|
||||
|
||||
### Create the service account and cluster role binding
|
||||
#### Create the service account and cluster role binding
|
||||
|
||||
```bash
|
||||
# kubectl apply -f https://raw.githubusercontent.com/Azure/kube-advisor/master/sa.yaml?token=ABLLDrNcuHMro9jQ0xduCaEbpzLupzQUks5bh3RhwA%3D%3D
|
||||
```
|
||||
|
||||
### Run the pod
|
||||
#### Run the pod
|
||||
|
||||
```bash
|
||||
# kubectl run --rm -i -t kube-advisor --image=mcr.microsoft.com/kube-advisor --restart=Never --overrides="{ \"apiVersion\": \"v1\", \"spec\": { \"serviceAccountName\": \"kube-advisor\" } }"
|
||||
```
|
||||
|
||||
### If desired, delete the service account and cluster role binding
|
||||
#### If desired, delete the service account and cluster role binding
|
||||
|
||||
```bash
|
||||
# kubectl delete -f https://raw.githubusercontent.com/Azure/kube-advisor/master/sa.yaml?token=ABLLDrNcuHMro9jQ0xduCaEbpzLupzQUks5bh3RhwA%3D%3D
|
||||
|
|
Загрузка…
Ссылка в новой задаче