Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Azure/kube-advisor
Check if containers are using resource and request limits and other useful things.
https://github.com/Azure/kube-advisor
Last synced: 29 days ago
JSON representation
Check if containers are using resource and request limits and other useful things.
- Host: GitHub
- URL: https://github.com/Azure/kube-advisor
- Owner: Azure
- License: mit
- Archived: true
- Created: 2018-08-17T19:18:18.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-27T19:37:08.000Z (over 5 years ago)
- Last Synced: 2024-10-01T16:12:44.624Z (2 months ago)
- Language: Go
- Homepage:
- Size: 44.9 KB
- Stars: 120
- Watchers: 29
- Forks: 31
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-k8s - kube-advisor
README
# kube-advisor
kube-advisor is a diagnostic tool for Kubernetes clusters. At the moment, it returns pods that are missing resource and request limits.
![screenshot](https://user-images.githubusercontent.com/1231630/44505638-5a2c0500-a657-11e8-8bf1-1766d69fa2ff.png)
## Running in a Kubernetes cluster without RBAC enabled
Just run the pod by itself:
```bash
# kubectl run --rm -i -t kube-advisor --image=mcr.microsoft.com/aks/kubeadvisor --restart=Never
```## Running in a Kubernetes cluster with RBAC enabled
### Create the service account and cluster role binding
```bash
# kubectl apply -f https://raw.githubusercontent.com/Azure/kube-advisor/master/sa.yaml?token=ABLLDqUpCcBLHrAoMNOCwSahn4b-hwKKks5bl-0QwA%3D%3D
```### Run the pod
```bash
# kubectl run --rm -i -t kube-advisor --image=mcr.microsoft.com/aks/kubeadvisor --restart=Never --overrides="{ \"apiVersion\": \"v1\", \"spec\": { \"serviceAccountName\": \"kube-advisor\" } }"
```### 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=ABLLDqUpCcBLHrAoMNOCwSahn4b-hwKKks5bl-0QwA%3D%3D
```