Skip to content
Clone
main
100 lines 2.7 KB YAML
image:
repository: harbor.gitdata.me/app/gitdata
tag: "fad06fd"
pullPolicy: IfNotPresent
serviceAccount:
create: true
config:
env:
APP_REDIS__MODE: "cluster"
APP_REDIS__POOL_SIZE: "8"
APP_S3__ENDPOINT: "http://rustfs-svc.rustfs.svc.cluster.local:9000"
APP_S3__PUBLIC_ENDPOINT: "https://object.gitdata.ai"
APP_S3__BUCKET: "gitdata"
APP_S3__REGION: "us-east-1"
APP_S3__PATH_STYLE: "true"
APP_LIVEKIT__ENABLED: "true"
APP_LIVEKIT__URL: "wss://livekit.gitdata.ai"
APP_LIVEKIT__API_URL: "https://livekit.gitdata.ai"
APP_PUSH__ENABLED: "true"
APP_PUSH__VAPID_PUBLIC_KEY: "BG4X_BUPF-hgTX7xCzpRw9B1y3RO3y6lEBcuh0A62S4A1sjs79C54gUOzp3h8zy0oFsjVFM7A2OVM_6crzhLhMw"
APP_PUSH__VAPID_SUBJECT: "mailto:bot@mail.gitdata.ai"
APP_WEB__WEB_BASE_URL: "https://gitdata.ai"
APP_WEB__CORS_ALLOW_ORIGINS: '["https://gitdata.ai"]'
APP_SESSION__SECURE: "true"
APP_GIT__BASE_URL: "https://gitdata.ai"
APP_LIVEKIT__RECORDING_ENABLED: "false"
RUST_LOG: "info"
OTEL_TRACES_SAMPLER: "parentbased_traceidratio"
OTEL_TRACES_SAMPLER_ARG: "0.2"
metrics:
otlpEndpoint: "http://otel-collector.monitoring.svc.cluster.local:4318"
ingress:
enabled: true
controller: traefik
className: traefik
host: gitdata.ai
annotations:
traefik.ingress.kubernetes.io/service.sticky.cookie: "true"
traefik.ingress.kubernetes.io/service.sticky.cookie.name: "GD-AFFINITY"
traefik.ingress.kubernetes.io/service.sticky.cookie.httpOnly: "true"
traefik.ingress.kubernetes.io/service.sticky.cookie.secure: "true"
traefik.ingress.kubernetes.io/service.sticky.cookie.sameSite: "Lax"
tls:
enabled: true
secretName: ""
clusterIssuer: cloudflare-acme-cluster-issuer
apihost:
resources:
requests: { cpu: 250m, memory: 512Mi }
limits: { memory: 1Gi }
autoscaling:
enabled: true
minReplicas: 2
maxReplicas: 6
targetCPUUtilizationPercentage: 65
targetMemoryUtilizationPercentage: 80
behavior:
scaleUp:
stabilizationWindowSeconds: 20
policies:
- type: Percent
value: 100
periodSeconds: 30
- type: Pods
value: 4
periodSeconds: 30
selectPolicy: Max
scaleDown:
stabilizationWindowSeconds: 300
policies:
- type: Pods
value: 1
periodSeconds: 60
kenshell:
endpoint: "http://kenshell:50091"
rpcKey: ""
timeoutSecs: 3600
httpCloneBaseUrl: "https://gitdata.ai"
sshCloneHost: "ssh.gitdata.ai"
sshClonePort: 22
persistence:
repos:
enabled: true
existingClaim: gitdata-repos
size: 2Ti
storageClassName: aliyun-nfs-gitdata
accessModes: ["ReadWriteMany"]
mountPath: /opt/gitdata
migrate:
enabled: true