# Default values for backend.
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.
replicaCount: 1
env: development
additionalEnv: development
Dept: community
extraEnv: []
image:
repository: nginx
pullPolicy: Always
imageAddr:
# Overrides the image tag whose default is the chart version.
tag: ""
argsJar: ""
argsMemory:
Xmx: "768"
Xms: "768"
Xmn: "256"
argsTimeZone: 'UTC'
skywalkingEnable: true
addExtraArgs: []
extraArgs:
- '-Xloggc:/usr/src/app/log/gc.log'
- '-XX:+CMSClassUnloadingEnabled'
- '-XX:+CMSParallelRemarkEnabled'
- '-XX:+CMSScavengeBeforeRemark'
- '-XX:+HeapDumpOnOutOfMemoryError'
- '-XX:+PrintGCDateStamps'
- '-XX:+PrintGCDetails'
- '-XX:+PrintTenuringDistribution'
- '-XX:+UseCMSInitiatingOccupancyOnly'
- '-XX:+UseConcMarkSweepGC'
- '-XX:+UseFastAccessorMethods'
- '-XX:CMSFullGCsBeforeCompaction=2'
- '-XX:CMSInitiatingOccupancyFraction=70'
- '-XX:HeapDumpPath=/usr/src/app/log/heapdump.hprof'
- '-XX:MaxMetaspaceSize=256m'
- '-XX:NewRatio=2'
- '-XX:SurvivorRatio=8'
- '-javaagent:./jmx/jmx_prometheus_javaagent-0.16.0.jar=5002:jmx/config.yaml'
skywalking:
agent: '-javaagent:skywalking/agent-8.4.0/skywalking-agent.jar'
server_host: 'skywalking-oap.development-arch.svc.cluster.local'
server_port: '11800'
livenessProbe:
initialDelaySeconds: 80
failureThreshold: 5
periodSeconds: 10
timeoutSeconds: 1
readinessProbe:
httpGet:
path: '/health'
initialDelaySeconds: 80
failureThreshold: 5
periodSeconds: 10
timeoutSeconds: 2
lifecycle:
sleeptime: 120
terminationGracePeriodSeconds: 130
imagePullSecrets: [name: "ali-docker-registry"]
nameOverride: ""
fullnameOverride: ""
serviceAccount:
# Specifies whether a service account should be created
create: 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: ""
podAnnotations:
annotation_prometheus_io_jvm_scrape: 'true'
annotation_prometheus_io_jvm_port: '5002'
podSecurityContext: {}
# fsGroup: 2000
securityContext: {}
# capabilities:
# drop:
# - ALL
# readOnlyRootFilesystem: true
# runAsNonRoot: true
# runAsUser: 1000
service:
type: ClusterIP
port: 80
targetPort: 5000
ingress:
enabled: false
intranet: false
sndDomain: false
rpc:
enabled: false
annotations:
nginx.ingress.kubernetes.io/service-weight: ''
annotation_prometheus_io_jvm_scrape: true
annotation_prometheus_io_jvm_port: 5002
nginx:
whitelist:
enabled: true
whitelistSourceRange: "103.7.30.0/25,203.205.219.128/25,101.226.103.0/25,58.251.80.0/25,47.98.208.90,47.96.6.6,47.111.131.204,218.17.227.163,218.17.227.164,112.95.74.187,112.95.74.188,172.16.0.0/16,111.200.213.98,1.203.103.122,124.204.78.122,47.96.31.94,111.200.213.98,111.200.213.99,111.200.213.100,111.200.213.101,111.200.213.102,118.178.58.253,113.57.107.64,113.57.107.65,113.57.107.66,113.57.107.67,113.57.107.68,113.57.107.69,113.57.107.70,113.57.107.71,58.49.74.26,58.49.74.27,58.49.74.28,58.49.74.29,58.49.74.30,218.17.88.218,218.17.88.219,218.17.88.220,218.17.88.221,218.17.88.222,58.251.23.98,58.251.23.99,58.251.23.100,58.251.23.101,58.251.23.102,8.210.98.188,218.17.88.216/29,58.251.23.98/29"
#whitelistSourceRange: "0.0.0.0/0"
sslRedirect: true
hosts:
- host: chart-example.local
paths:
- path: /
serviceName: ''
tls:
- secretName: codemao-biz
hosts:
- chart-example.local
resources:
# We usually recommend not to specify default resources and to leave this as a conscious
# choice for the user. This also increases chances charts run on environments with little
# resources, such as Minikube. If you do want to specify resources, uncomment the following
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
limits:
cpu: 2000m
memory: 2048Mi
requests:
cpu: 50m
memory: 1024Mi
cron_autoscaling:
enabled: false
# spec:
# jobs:
# - name: scale-up
# schedule: "0 0 17-22 * * *"
# targetSize: 3
# runOnce: 'false'
# - name: scale-down
# schedule: "0 0 23 * * *"
# targetSize: 2
# runOnce: 'true'
autoscaling:
enabled: false
minReplicas: 1
maxReplicas: 100
targetCPUUtilizationPercentage: 80
# targetMemoryUtilizationPercentage: 80
nodeSelector_enabled: false
nodeSelector: {}
tolerations_enabled: false
tolerations: []
affinity_prefer_enabled: true
affinity_enabled: false
affinity: {}
filebeat: false
# podAntiAffinity:
# requiredDuringSchedulingIgnoredDuringExecution:
# - labelSelector:
# topologyKey: kubernetes.io/hostname
# matchExpressions:
# - key: app.kubernetes.io/instance
# operator: In
# values:
# - abc
nacos:
enabled: false
config:
server: "dev-internal.nacos2.codemao.cn:8848"
discovery:
serverAddr: "dev-internal.nacos2.codemao.cn:8848"
#ConfigMap
ConfigMap:
enabled: true
serverPort: 5000
apolloMate: http://dev-internal.service-config-center.codemao.cn/,http://dev-slave-internal.service-config-center.codemao.cn/
eruekaDefaultZone: http://discovery:MuB7DEoxfH4LgQ4733RGg3847EqxHe@dev-discovery.center.codemao.cn/eureka/
preferIpAddress: true
codemaoXxlJobEnable: false
codemaoXxlJobAddress: http://dev-schedule.codemao.cn
codemaoXxlJobAppname: ""
codemaoXxlJobPort: 5001
codemaoXxlJobLogPath: /usr/src/app/log/xxl_job
codemaoXxlJobLogRetentionDays: 1
accessTokeEnabled: true
codemaoXxlJobaccesstoken: '04jClDBftP9WOMdbOKBUuSWj'
newXxlJobEnable: false
codemaoNewXxlJobAddress: http://xxl-job.development-arch.svc.cluster.local
appid:
name: ""
enabled: false