From 34456fcbbe797727533d773e08857f79b7c0b3cd Mon Sep 17 00:00:00 2001 From: Ari-suhyeon Date: Tue, 10 Dec 2024 14:00:13 +0900 Subject: [PATCH] Add Helm repository and release configuration for Wave Autoscale agent --- .../wave-autoscale-agent-source.yaml | 9 +++++ .../WaveAutoscale/wave-autoscale-agent.yaml | 37 +++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-agent-source.yaml create mode 100644 eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-agent.yaml diff --git a/eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-agent-source.yaml b/eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-agent-source.yaml new file mode 100644 index 00000000..d3bc0972 --- /dev/null +++ b/eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-agent-source.yaml @@ -0,0 +1,9 @@ +--- +apiVersion: source.toolkit.fluxcd.io/v1beta2 +kind: HelmRepository +metadata: + name: wave-autoscale-agent-helm + namespace: flux-system +spec: + interval: 30s + url: https://release.waveautoscale.io/ghcr-helm/wa-agent diff --git a/eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-agent.yaml b/eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-agent.yaml new file mode 100644 index 00000000..7dd7443a --- /dev/null +++ b/eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-agent.yaml @@ -0,0 +1,37 @@ +--- +apiVersion: helm.toolkit.fluxcd.io/v2beta1 +kind: HelmRelease +metadata: + name: wave-autoscale-agent + namespace: wave-autoscale +spec: + chart: + spec: + chart: wave-autoscale-agent-helm + reconcileStrategy: ChartVersion + sourceRef: + kind: HelmRepository + name: wave-autoscale-agent-helm + namespace: flux-system + version: 1.8.0 + interval: 1m0s + targetNamespace: wave-autoscale + values: + ghcr: + enabled: true + spec: + agent: + resources: + requests: + cpu: 100m + memory: 50Mi + cadvisor: + resources: + requests: + cpu: 50m + memory: 50Mi + valuesFrom: + - kind: Secret + name: wa-secret + valuesKey: GHRC_TOKEN + targetPath: ghcr.dockerconfigjson