Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add KEDA to Dev cluster #2078

Merged
merged 5 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions clusters/development/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ resources:
- ../../components/third-party/kube-prometheus-stack
- ../../components/third-party/kubernetes-replicator
- ../../components/third-party/kured
- ../../components/third-party/keda
- ../../components/third-party/tekton
- ../../components/third-party/velero
- ./overlay/radix-platform/radix-acr-cleanup/radix-acr-cleanup.yaml
Expand Down
1 change: 1 addition & 0 deletions clusters/development/postBuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ spec:
GRAFANA_DB_HOST: s941-radix-grafana-dev.mysql.database.azure.com
GRAFANA_LOKI: 2.10.2 # https://artifacthub.io/packages/helm/grafana/loki-stack
GRAFANA_VERSION: 7.3.9 # https://artifacthub.io/packages/helm/grafana/grafana
KEDA_VERSION: 2.14.2 # https://artifacthub.io/packages/helm/kedacore/keda
KUBE_PROMETHEUS_STACK: 58.3.3 # https://artifacthub.io/packages/helm/prometheus-community/kube-prometheus-stack
KUBERNETES_REPLICATOR: v2.9.2 # https://github.com/mittwald/kubernetes-replicator
NGINX_VERSION: 4.10.1 # https://artifacthub.io/packages/helm/ingress-nginx/ingress-nginx
Expand Down
19 changes: 19 additions & 0 deletions components/third-party/keda/helmRelease.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: helm.toolkit.fluxcd.io/v2beta1
kind: HelmRelease
metadata:
name: keda
namespace: keda
spec:
releaseName: keda
chart:
spec:
chart: keda
version: ${KEDA_VERSION}
sourceRef:
kind: HelmRepository
name: keda
namespace: flux-system
interval: 5m
install:
remediation:
retries: 3
8 changes: 8 additions & 0 deletions components/third-party/keda/helmRepo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: keda
namespace: flux-system
spec:
interval: 10m
url: https://kedacore.github.io/charts
6 changes: 6 additions & 0 deletions components/third-party/keda/kustomization.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- namespace.yaml
- helmRepo.yaml
- helmRelease.yaml
4 changes: 4 additions & 0 deletions components/third-party/keda/namespace.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: keda
Loading