https://github.com/dipankardas011/vmware
Student Ambassador
https://github.com/dipankardas011/vmware
Last synced: 5 months ago
JSON representation
Student Ambassador
- Host: GitHub
- URL: https://github.com/dipankardas011/vmware
- Owner: dipankardas011
- Created: 2022-03-19T10:03:58.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-04-11T02:57:30.000Z (over 3 years ago)
- Last Synced: 2025-02-16T18:26:12.158Z (8 months ago)
- Language: Go
- Size: 19 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Vertical Auto-Scaling using K8s
[](https://github.com/dipankardas011/VMWare/actions/workflows/main.yml)## Group members
1. Dipankar Das `Kalinga Institute Industrial Technology`## Tech Stack
1. Go
2. Simple csv file for the load
3. Docker## Demo Link
[*`Youtube Video Link`*](https://youtu.be/szN6RZKE51I)## References
1. VPA [Kubernetes autoscaler](https://github.com/kubernetes/autoscaler) and some of the [Google docs](https://cloud.google.com/kubernetes-engine/docs/concepts/verticalpodautoscaler)
2. Bigdata package for go[BigData](https://github.com/go-gota/gota/)
3. Charts for go[Charts](https://blog.logrocket.com/visualizing-data-go-echarts/)
4. Big data from [UCI Machine Learning Repository](https://archive.ics.uci.edu/ml/index.php)## How to Run
Container Image: `dipugodocker/vmware-sol:latest`
```bash
kubectl apply -f VPA/manifest.yml
kubectl describe deploy my-big-data-app
```## VPA
VPA docs [here]("https://github.com/kubernetes/autoscaler/tree/master/vertical-pod-autoscaler#install-command")
Let's install the VPA from a container that can access our cluster```bash
git clone https://github.com/kubernetes/autoscaler.git
cd autoscaler/vertical-pod-autoscaler/./hack/vpa-up.sh
# after few seconds, we can see the VPA components in:
kubectl -n kube-system get pods
cd -
kubectl apply -f VPA/AutoScaler.yml
# to view the recommendations
kubectl get vpa
kubectl describe vpa # to get the recommendations
# when we are Satisfied with the result being update it to the `auto` mode
```## VPA installation
## Recommendation provided by the autoscaler
## Current State of VPA and POD
## Metric for CPU util.