- STATE MANAGEMENT - when you POST it should persist in the GET. idk what is going on
- Port forwarding vs. NodePort (LoadBalancer?)
- Overriding metrics-api (image)
- Condense READMEs
- Tooling:
brew install minikube helm
- Helm plugins:
helm repo add kedacore https://kedacore.github.io/charts && helm repo update
- Start minikube:
minikube start
- Deploy KEDA in minikube:
helm install keda kedacore/keda --namespace keda --create-namespace
- Deploy Hello-World App:
kubectl apply -f k8s/hello-world.yaml
- Deploy Metris-API:
kubectl apply -f k8s/metrics-api.yaml
- Optional: Expose to localhost for REST invocations to change response:
kubectl port-forward svc/metrics-api-service 7051
. POST http://localhost:7051/value
with request body. Inspected KEDA value will be overwritten to whatever is supplied in the request body.
- Optional: Expose to localhost for REST invocations to change response:
- Deploy KEDA configs:
kubectl apply -f k8s/keda.yaml
- Teardown manifests with
kubectl delete -f <file>
. - KEDA uninstall instructions here
minikube stop
- Optional:
minikube delete
for hard-destroying minikube.