erp-java/services/system-tool-service/helm/values.yaml

62 lines
1.0 KiB
YAML

replicaCount: 2
image:
repository: erp/system-tool-service
tag: latest
pullPolicy: IfNotPresent
service:
type: ClusterIP
port: 8087
ingress:
enabled: true
className: nginx
host: api.erpzbbh.cn
path: /api/system
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/proxy-body-size: "10m"
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
env:
DB_HOST: "111.229.80.149"
DB_PORT: "3306"
DB_NAME: "erp_db"
DB_USER: "root"
DB_PASSWORD: "nihao588+"
REDIS_HOST: "111.229.80.149"
REDIS_PORT: "6379"
REDIS_PASSWORD: "Y(@r5tGk9$Lp2"
NACOS_SERVER: "43.226.44.101:8848"
NACOS_NAMESPACE: "public"
autoscaling:
enabled: false
minReplicas: 2
maxReplicas: 5
targetCPUUtilizationPercentage: 70
nodeSelector: {}
tolerations: []
affinity: {}
livenessProbe:
path: /actuator/health
initialDelaySeconds: 60
periodSeconds: 30
readinessProbe:
path: /actuator/health
initialDelaySeconds: 30
periodSeconds: 10