Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marcosstefani/kubewatch
Library to listen to the kubernetes
https://github.com/marcosstefani/kubewatch
devops-tools flask flask-restful kubernetes minikube python python3
Last synced: 7 days ago
JSON representation
Library to listen to the kubernetes
- Host: GitHub
- URL: https://github.com/marcosstefani/kubewatch
- Owner: marcosstefani
- License: mit
- Created: 2020-05-08T20:31:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-03-20T03:53:27.000Z (over 3 years ago)
- Last Synced: 2023-11-16T00:24:35.268Z (12 months ago)
- Topics: devops-tools, flask, flask-restful, kubernetes, minikube, python, python3
- Language: Python
- Size: 25.4 KB
- Stars: 2
- Watchers: 4
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kubewatch
Library to listen to the kubernetesDocker Hub: https://hub.docker.com/orgs/pykubewatch
The idea of this project is that we have a docker machine that runs a flask application that will manage a minikube that will be on the docker machine where the machine with the flask will be.
Initially we developed the get function that will bring all the pods, services, pvs, pvcs and replicasets of a pre-installed minikube machine. I will create several Issues to evolve progressively until we have a machine that:
- Start up and create a minikube inside the Docker the first time
- Initialize main of the kubewatch project and place it on the desired port
- Bring the list of all elements (pods, services, pvs, pvcs, etc ...). *This is already in the project, you may need to improve it.*
- Search for yaml generated by the flask application from the content of the minikube of the docker machine
- Add and remove new elements (pods, services, pvs, pvcs, etc ...) via the flask API
- And in the end, maybe have a visual interface using the flask templates## APIs already created:
- Get All Information: `GET /`
- Get All Pods: `GET /pod`
- Get All Services: `GET /service`
- Get All PV: `GET /persistent_volume`
- Get All PVC: `GET /persistent_volume_claim`
- Get All Replica Sets: `GET /replica_set`