-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #321 from STCLab-Inc/main
Adding Wave Autoscale to the Partners
- Loading branch information
Showing
7 changed files
with
409 additions
and
0 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/external-secret.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
apiVersion: external-secrets.io/v1beta1 | ||
kind: ExternalSecret | ||
metadata: | ||
name: wa-external-secret | ||
namespace: wave-autoscale | ||
spec: | ||
refreshInterval: 1m | ||
secretStoreRef: | ||
name: eksa-secret-store #The secret store name we have just created. | ||
kind: ClusterSecretStore | ||
target: | ||
name: wa-secret # Secret name in k8s | ||
data: | ||
- secretKey: WA_LICENSE | ||
remoteRef: | ||
key: WA_LICENSE | ||
- secretKey: GHRC_TOKEN | ||
remoteRef: | ||
key: GHRC_TOKEN |
8 changes: 8 additions & 0 deletions
8
eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/namespace.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
apiVersion: v1 | ||
kind: Namespace | ||
metadata: | ||
name: wave-autoscale | ||
labels: | ||
aws.conformance.vendor: STCLab | ||
aws.conformance.vendor-solution: wave-autoscale | ||
aws.conformance.vendor-solution-version: 1.10.0 |
9 changes: 9 additions & 0 deletions
9
eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-agent-source.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
37 changes: 37 additions & 0 deletions
37
eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-agent.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
9 changes: 9 additions & 0 deletions
9
eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale-source.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
apiVersion: source.toolkit.fluxcd.io/v1beta2 | ||
kind: HelmRepository | ||
metadata: | ||
name: wave-autoscale-helm | ||
namespace: flux-system | ||
spec: | ||
interval: 30s | ||
url: https://release.waveautoscale.io/ghcr-helm/wa |
50 changes: 50 additions & 0 deletions
50
eks-anywhere-common/Addons/Partner/STCLab/WaveAutoscale/wave-autoscale.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
--- | ||
apiVersion: helm.toolkit.fluxcd.io/v2beta1 | ||
kind: HelmRelease | ||
metadata: | ||
name: wave-autoscale | ||
namespace: wave-autoscale | ||
spec: | ||
chart: | ||
spec: | ||
chart: wave-autoscale-helm | ||
reconcileStrategy: ChartVersion | ||
sourceRef: | ||
kind: HelmRepository | ||
name: wave-autoscale-helm | ||
namespace: flux-system | ||
version: 1.10.2 | ||
interval: 1m0s | ||
targetNamespace: wave-autoscale | ||
values: | ||
ghcr: | ||
enabled: true | ||
spec: | ||
core: | ||
resources: | ||
requests: | ||
cpu: 250m | ||
memory: 300Mi | ||
env: | ||
- name: WA_LICENSE | ||
valueFrom: | ||
secretKeyRef: | ||
name: wa-secret | ||
key: WA_LICENSE | ||
- name: WA_API_SERVER_HOST | ||
value: "0.0.0.0" | ||
webConsole: | ||
resources: | ||
requests: | ||
cpu: 250m | ||
memory: 300Mi | ||
autopilot: | ||
resources: | ||
requests: | ||
cpu: 250m | ||
memory: 300Mi | ||
valuesFrom: | ||
- kind: Secret | ||
name: wa-secret | ||
valuesKey: GHRC_TOKEN | ||
targetPath: ghcr.dockerconfigjson |
Oops, something went wrong.