77 lines
1.5 KiB
YAML
77 lines
1.5 KiB
YAML
replicaCount: 2
|
|
|
|
image:
|
|
repository: ghcr.io/wundergraph/cosmo/router
|
|
pullPolicy: IfNotPresent
|
|
tag: "latest"
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 3002
|
|
|
|
# Environment variables for the container
|
|
env:
|
|
DEV_MODE: "true"
|
|
LISTEN_ADDR: "0.0.0.0:3002"
|
|
|
|
# Production resource limits (important for k3s stability)
|
|
resources:
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
|
|
# Ingress Configuration
|
|
ingress:
|
|
enabled: true
|
|
className: "traefik"
|
|
hosts:
|
|
- host: cosmo.local
|
|
paths:
|
|
- path: /
|
|
pathType: Prefix
|
|
|
|
# Autoscaling
|
|
autoscaling:
|
|
enabled: true
|
|
minReplicas: 2
|
|
maxReplicas: 5
|
|
targetCPUUtilizationPercentage: 80
|
|
|
|
serviceAccount:
|
|
# Specifies whether a service account should be created
|
|
create: true
|
|
# Automatically mount a ServiceAccount token into the pod
|
|
automount: true
|
|
# Annotations to add to the service account
|
|
annotations: {}
|
|
# The name of the service account to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name: ""
|
|
# image:
|
|
# repository: ghcr.io/wundergraph/cosmo/router
|
|
# tag: latest
|
|
# pullPolicy: IfNotPresent
|
|
|
|
# service:
|
|
# type: ClusterIP
|
|
# port: 3002
|
|
|
|
# env:
|
|
# DEV_MODE: "true"
|
|
# LISTEN_ADDR: "0.0.0.0:3002"
|
|
|
|
# ingressClassName: traefik
|
|
# # # Map your local volumes to ConfigMaps or Secrets in K8s
|
|
# # configFiles:
|
|
# # router.json: |
|
|
# # { "example": "config" }
|
|
# # config.yaml: |
|
|
# # # Your cosmo config here
|
|
|
|
podAnnotations:
|
|
linkerd.io/inject: disabled
|
|
|
|
# pathType: ImplementationSpecific |