https://github.com/j0hn-b/keda_demo
Demo application scaling via KEDA
https://github.com/j0hn-b/keda_demo
argocd autoscaler demo gitops k3d keda kubernetes
Last synced: 8 months ago
JSON representation
Demo application scaling via KEDA
- Host: GitHub
- URL: https://github.com/j0hn-b/keda_demo
- Owner: J0hn-B
- Created: 2022-01-04T18:07:44.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-10T21:29:51.000Z (almost 4 years ago)
- Last Synced: 2025-01-11T10:44:24.324Z (10 months ago)
- Topics: argocd, autoscaler, demo, gitops, k3d, keda, kubernetes
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Keda: Kubernetes Event-driven Autoscaling
Demo environment, using k3d and ArgoCD, to deploy [Keda](https://keda.sh/) and a [sample application](https://github.com/kedacore/sample-go-rabbitmq/).
## How to
```bash
git clone https://github.com/J0hn-B/keda_demo.git
```
```bash
cd ~/keda_demo
```
```bash
# Create a cluster with k3d, deploy argocd, deploy argocd applications and access the argocd dashboard
make apply
# Execute the publisher kubernetes job
kubectl apply -f k8s/apps/keda-demo/publisher/deploy-publisher-job.yaml
# Watch the hpa scaling
kubectl get hpa -w
# Clean up
make destroy
# Check makefile for more commands ;-)
```
### Prerequisites
k3d, make, docker-desktop
## Usage
**`$ make apply`**
> Be sure to wait until the deployment has completed before continuing.

Access the [argocd dashboard](https://localhost:8080) and **sync the keda-demo application.**

✅ The keda-demo application is now synced.

**Execute the publisher kubernetes job:**
```bash
kubectl apply -f k8s/apps/keda-demo/publisher/deploy-publisher-job.yaml
```
**Watch the hpa scaling:**
```bash
kubectl get hpa -w
```
