Files
file/lbl-01/values.yaml
thaoduc f39909cb41 102
2025-10-08 14:10:27 +07:00

260 lines
4.9 KiB
YAML

# Default values for Label Studio Helm Chart
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
# Global parameters for the Helm chart
global:
# Global Docker registry secret names as an array
imagePullSecrets: []
# Image configuration
image:
repository: heartexlabs/label-studio
pullPolicy: IfNotPresent
tag: "develop"
# PostgreSQL configuration
pgConfig:
host: ""
port: 5432
dbName: ""
userName: ""
password:
secretName: ""
secretKey: ""
ssl:
pgSslMode: ""
pgSslSecretName: ""
pgSslRootCertSecretKey: ""
pgSslCertSecretKey: ""
pgSslKeySecretKey: ""
# Redis configuration
redisConfig:
host: ""
password:
secretName: ""
secretKey: ""
ssl:
redisSslCertReqs: ""
redisSslSecretName: ""
redisSslCaCertsSecretKey: ""
redisSslCertFileSecretKey: ""
redisSslKeyFileSecretKey: ""
# Extra environment variables
extraEnvironmentVars: {}
# PYTHONUNBUFFERED: "1"
# DEBUG: "false"
# Extra environment secrets
extraEnvironmentSecrets: {}
# Persistence configuration
persistence:
enabled: true
type: volume
config:
# S3 configuration
s3:
accessKey: ""
secretKey: ""
accessKeyExistingSecret: ""
accessKeyExistingSecretKey: ""
secretKeyExistingSecret: ""
secretKeyExistingSecretKey: ""
region: ""
bucket: ""
folder: ""
urlExpirationSecs: 86400
endpointUrl: ""
# Volume configuration
volume:
storageClass: ""
size: 10Gi
accessModes:
- ReadWriteOnce
annotations: {}
existingClaim: ""
resourcePolicy: ""
# Azure configuration
azure:
storageAccountName: ""
storageAccountKey: ""
storageAccountNameExistingSecret: ""
# Replica count
replicaCount: 1
# Image configuration (can override global settings)
image:
repository: heartexlabs/label-studio
pullPolicy: IfNotPresent
tag: ""
# Image pull secrets
imagePullSecrets: []
# Name overrides
nameOverride: ""
fullnameOverride: ""
# Service account configuration
serviceAccount:
create: true
automount: true
annotations: {}
name: ""
# Pod annotations and labels
podAnnotations: {}
podLabels: {}
# Security contexts
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
# Service configuration
service:
type: ClusterIP
annotations: {}
port: 8080
targetPort: 8080
# Ingress configuration
ingress:
enabled: false
className: ""
annotations: {}
# kubernetes.io/ingress.class: nginx
# kubernetes.io/tls-acme: "true"
# nginx.ingress.kubernetes.io/proxy-body-size: "200m"
hosts:
- host: label-studio.local
paths:
- path: /
pathType: ImplementationSpecific
tls: []
# - secretName: label-studio-tls
# hosts:
# - label-studio.local
# Gateway API HTTPRoute configuration
httpRoute:
enabled: false
annotations: {}
parentRefs:
- name: gateway
sectionName: http
hostnames:
- label-studio.local
rules:
- matches:
- path:
type: PathPrefix
value: /
# Resource limits and requests
resources:
limits:
cpu: 1000m
memory: 2Gi
requests:
cpu: 500m
memory: 1Gi
# Health checks
livenessProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 60
periodSeconds: 30
timeoutSeconds: 10
failureThreshold: 3
readinessProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 5
failureThreshold: 3
# Autoscaling configuration
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
# Additional volumes
volumes: []
# - name: data
# persistentVolumeClaim:
# claimName: label-studio-data
# Additional volume mounts
volumeMounts: []
# - name: data
# mountPath: /label-studio/data
# Node selector
nodeSelector: {}
# Tolerations
tolerations: []
# Affinity
affinity: {}
# Environment variables specific to Label Studio
env:
# Database settings
DJANGO_DB: "default"
POSTGRE_NAME: ""
POSTGRE_USER: ""
POSTGRE_PASSWORD: ""
POSTGRE_PORT: "5432"
POSTGRE_HOST: ""
# Redis settings
REDIS_LOCATION: ""
# Label Studio specific settings
LABEL_STUDIO_HOST: ""
LABEL_STUDIO_USERNAME: "admin@example.com"
LABEL_STUDIO_PASSWORD: "password"
# Storage settings
ENABLE_LOCAL_FILES_ACCESS: "true"
LOCAL_FILES_SERVING_ENABLED: "true"
# Security settings
SSRF_PROTECTION_ENABLED: "true"
# Feature flags
FEATURE_FLAGS_DEFAULT_VALUE: "false"
# ConfigMap for additional configuration
configMap:
create: true
data: {}
# Secrets for sensitive data
secrets:
create: true
data: {}