forked from linkong/planet
139 lines
2.6 KiB
YAML
139 lines
2.6 KiB
YAML
global:
|
|
imageRegistry: gitea.rclaw.top
|
|
imageNamespace: linkong/planet
|
|
imagePullSecrets: []
|
|
|
|
fullnameOverride: planet
|
|
|
|
image:
|
|
tag: latest
|
|
pullPolicy: IfNotPresent
|
|
|
|
frontend:
|
|
replicaCount: 1
|
|
image:
|
|
repository: frontend
|
|
service:
|
|
port: 3000
|
|
ingress:
|
|
enabled: true
|
|
className: nginx
|
|
host: planet.example.com
|
|
annotations:
|
|
nginx.ingress.kubernetes.io/proxy-read-timeout: "180"
|
|
nginx.ingress.kubernetes.io/proxy-send-timeout: "180"
|
|
nginx.ingress.kubernetes.io/proxy-body-size: "25m"
|
|
tls: []
|
|
resources:
|
|
requests:
|
|
cpu: 50m
|
|
memory: 64Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 256Mi
|
|
|
|
backend:
|
|
replicaCount: 1
|
|
image:
|
|
repository: backend
|
|
service:
|
|
port: 8000
|
|
env:
|
|
APP_ENV: production
|
|
PLANET_ROLE: all
|
|
PROJECT_NAME: Planet
|
|
CORS_ORIGINS: '[]'
|
|
ACCESS_TOKEN_EXPIRE_MINUTES: "60"
|
|
REFRESH_TOKEN_EXPIRE_DAYS: "7"
|
|
COLLECTOR_MAX_CONCURRENCY: "2"
|
|
COLLECTOR_HEAVY_CONCURRENCY: "1"
|
|
secretEnv:
|
|
SECRET_KEY: replace-with-strong-32-char-random-secret
|
|
AI_PROVIDER_SERVICE_TOKEN: replace-with-internal-token
|
|
SETTINGS_ENCRYPTION_KEY: ""
|
|
INITIAL_ADMIN_USERNAME: ""
|
|
INITIAL_ADMIN_EMAIL: ""
|
|
INITIAL_ADMIN_PASSWORD: ""
|
|
persistence:
|
|
earthBrand:
|
|
existingClaim: ""
|
|
# Earth boundary sources + PMTiles artifacts (built by the Earth "高精" rebuild).
|
|
earthBoundaries:
|
|
existingClaim: ""
|
|
collectorCache:
|
|
existingClaim: ""
|
|
resources:
|
|
requests:
|
|
cpu: 250m
|
|
memory: 512Mi
|
|
limits:
|
|
cpu: "2"
|
|
memory: 2Gi
|
|
|
|
worker:
|
|
enabled: false
|
|
resources:
|
|
requests:
|
|
cpu: 250m
|
|
memory: 512Mi
|
|
limits:
|
|
cpu: "2"
|
|
memory: 2Gi
|
|
|
|
aiprovider:
|
|
replicaCount: 1
|
|
image:
|
|
repository: aiprovider
|
|
service:
|
|
port: 8010
|
|
env:
|
|
APP_ENV: production
|
|
AI_PROVIDER: openai
|
|
AI_MODEL: gpt-4o-mini
|
|
secretEnv:
|
|
AI_API_KEY: ""
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: "1"
|
|
memory: 512Mi
|
|
|
|
postgresql:
|
|
internal:
|
|
enabled: false
|
|
resources:
|
|
requests:
|
|
cpu: 250m
|
|
memory: 512Mi
|
|
limits:
|
|
cpu: "2"
|
|
memory: 2Gi
|
|
external:
|
|
host: postgres.example.com
|
|
port: 5432
|
|
database: planet_db
|
|
username: postgres
|
|
password: postgres
|
|
|
|
redis:
|
|
internal:
|
|
enabled: false
|
|
resources:
|
|
requests:
|
|
cpu: 100m
|
|
memory: 128Mi
|
|
limits:
|
|
cpu: 500m
|
|
memory: 512Mi
|
|
external:
|
|
host: redis.example.com
|
|
port: 6379
|
|
db: 0
|
|
|
|
smoke:
|
|
frontendPath: /
|
|
backendHealthPath: /health/ready
|
|
aiProviderHealthPath: /health
|