fp/apps/base/windmill/windmill.yaml

149 lines
4.8 KiB
YAML
Raw Normal View History

2024-04-28 01:00:23 +00:00
---
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
2024-04-28 01:16:04 +00:00
name: bitnami
2024-04-28 01:00:23 +00:00
namespace: futureporn
spec:
2024-04-28 01:13:53 +00:00
type: "oci"
2024-04-28 01:00:23 +00:00
interval: 24h
2024-04-28 01:16:04 +00:00
url: oci://registry-1.docker.io/bitnamicharts
2024-04-28 01:00:23 +00:00
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
2024-04-28 01:13:53 +00:00
name: postgresql
2024-04-28 01:00:23 +00:00
namespace: futureporn
spec:
interval: 24h
chart:
spec:
2024-04-28 01:13:53 +00:00
chart: postgresql
2024-04-28 01:00:23 +00:00
version: "12.3.1"
sourceRef:
kind: HelmRepository
2024-04-28 01:31:11 +00:00
name: bitnami
2024-04-28 01:00:23 +00:00
values:
2024-05-28 06:01:32 +00:00
fullnameOverride: windmill-postgresql
2024-04-28 02:21:49 +00:00
postgresql:
auth:
2024-05-28 06:31:11 +00:00
postgresPassword: windmill-default-password
database: windmill-chonker
2024-04-28 02:21:49 +00:00
primary:
persistence:
# It would be $0.20/mo cheaper to use 8Gi NVMe,
# but it's not available in Vultr's DFW datacenter
# so instead we use the minimum HDD size, 40Gi
storageClass: "vultr-block-storage-hdd"
size: "40Gi"
resources:
limits:
cpu: "1"
memory: "2Gi"
requests:
cpu: "250m"
memory: "1024Mi"
2024-04-28 01:00:23 +00:00
---
2024-04-27 00:31:57 +00:00
apiVersion: source.toolkit.fluxcd.io/v1beta2
kind: HelmRepository
metadata:
name: windmill
2024-04-28 01:00:23 +00:00
namespace: futureporn
2024-04-27 00:31:57 +00:00
spec:
interval: 10m
url: https://windmill-labs.github.io/windmill-helm-charts
---
apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: windmill
2024-04-28 01:00:23 +00:00
namespace: futureporn
2024-04-27 00:31:57 +00:00
spec:
interval: 60m
chart:
spec:
chart: windmill
version: "2.0.170"
sourceRef:
kind: HelmRepository
name: windmill
values:
2024-04-27 22:19:33 +00:00
postgresql:
2024-05-28 06:17:40 +00:00
enabled: true
2024-04-27 00:31:57 +00:00
windmill:
# domain as shown in browser, this is used together with `baseProtocol` as part of the BASE_URL environment variable in app and worker container and in the ingress resource, if enabled
baseDomain: windmill2.sbtp.xyz
baseProtocol: https
# postgres URI, pods will crashloop if database is unreachable, sets DATABASE_URL environment variable in app and worker container
2024-05-28 06:33:39 +00:00
databaseUrl: postgres://poopatroopa:blahblahblah@windmill-postgresql/windmill?sslmode=disable
2024-04-27 00:31:57 +00:00
# replica for the application app
2024-05-28 05:17:49 +00:00
appReplicas: 1
2024-04-27 00:31:57 +00:00
# replicas for the workers, jobs are executed on the workers
lspReplicas: 2
workerGroups:
# The default worker group is the one that will execute jobs with any taggs except the native ones. Windmill has a default worker group configuration for it
- name: "default"
2024-05-28 05:17:49 +00:00
replicas: 1
2024-04-27 00:31:57 +00:00
# -- Annotations to apply to the pods
annotations: {}
# -- Labels to apply to the pods
labels: {}
# -- Node selector to use for scheduling the pods
nodeSelector: {}
# -- Tolerations to apply to the pods
tolerations: []
# -- Affinity rules to apply to the pods
affinity: {}
# -- Resource limits and requests for the pods
resources:
requests:
memory: "1028Mi"
cpu: "500m"
limits:
memory: "2048Mi"
cpu: "1000m"
# -- Extra environment variables to apply to the pods
extraEnv: []
# -- Extra sidecar containers
extraContainers: []
# -- Mode for workers, defaults to "worker" - alternative "agent" requires Enterprise license
mode: "worker"
# Thenative worker group will only execute native jobs. Windmill has a default worker group configuration for it
- name: "native"
2024-05-28 06:01:32 +00:00
replicas: 1
2024-04-27 00:31:57 +00:00
# -- Resource limits and requests for the pods
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "256Mi"
cpu: "200m"
# -- Extra environment variables to apply to the pods
extraEnv: []
# -- Extra sidecar containers
extraContainers: []
# -- Mode for workers, defaults to "worker" - alternative "agent" requires Enterprise license
mode: "worker"
- name: "gpu"
replicas: 0
# Use those to override the tag or image used for the app and worker containers. Windmill uses the same image for both.
# By default, if enterprise is enable, the image is set to ghcr.io/windmill-labs/windmill-ee, otherwise the image is set to ghcr.io/windmill-labs/windmill
#tag: "mytag"
#image: "ghcr.io/windmill-labs/windmill"
# enable postgres (bitnami) on kubernetes
# enable minio (bitnami) on kubernetes
minio:
enabled: false
ingress:
2024-04-27 19:54:50 +00:00
enabled: true
2024-04-27 20:37:19 +00:00
className: nginx
2024-04-27 19:54:50 +00:00
annotations:
kubernetes.io/ingress.class: "nginx"
cert-manager.io/cluster-issuer: "letsencrypt"
tls:
- secretName: windmill-tls
hosts:
- windmill2.sbtp.xyz
2024-04-27 00:31:57 +00:00
enterprise:
enable: false