125 lines
2.7 KiB
Cheetah
125 lines
2.7 KiB
Cheetah
# Default values for job_demo.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
|
|
replicaCount: 1
|
|
|
|
image:
|
|
repository: "${imageRepo}"
|
|
pullPolicy: IfNotPresent
|
|
# Overrides the image tag whose default is the chart appVersion.
|
|
tag: "${imageTag}"
|
|
|
|
imagePullSecrets: []
|
|
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: {}
|
|
|
|
podLabels:
|
|
contest.4pd.io/leaderboard-resource-type: judge_flow
|
|
contest.4pd.io/leaderboard-job-id: "0"
|
|
contest.4pd.io/leaderboard-submit-id: "0"
|
|
|
|
podSecurityContext: {}
|
|
# fsGroup: 2000
|
|
|
|
securityContext: {}
|
|
# capabilities:
|
|
# drop:
|
|
# - ALL
|
|
# readOnlyRootFilesystem: true
|
|
# runAsNonRoot: true
|
|
# runAsUser: 1000
|
|
|
|
service:
|
|
type: ClusterIP
|
|
ports:
|
|
- name: http
|
|
port: 80
|
|
|
|
ingress:
|
|
enabled: false
|
|
className: ""
|
|
annotations: {}
|
|
# kubernetes.io/ingress.class: nginx
|
|
# kubernetes.io/tls-acme: "true"
|
|
hosts:
|
|
- host: chart-example.local
|
|
paths:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
tls: []
|
|
# - secretName: chart-example-tls
|
|
# 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: 3000m
|
|
memory: 16Gi
|
|
requests:
|
|
cpu: 3000m
|
|
memory: 16Gi
|
|
|
|
autoscaling:
|
|
enabled: false
|
|
minReplicas: 1
|
|
maxReplicas: 100
|
|
targetCPUUtilizationPercentage: 80
|
|
# targetMemoryUtilizationPercentage: 80
|
|
|
|
nodeSelector:
|
|
juicefs: "on"
|
|
contest.4pd.io/cpu: INTEL-8358
|
|
|
|
tolerations: []
|
|
|
|
affinity: {}
|
|
|
|
env:
|
|
- name: TZ
|
|
value: Asia/Shanghai
|
|
- name: MY_POD_IP
|
|
valueFrom:
|
|
fieldRef:
|
|
fieldPath: status.podIP
|
|
|
|
#command: '["python","run.py"]'
|
|
|
|
volumeMounts:
|
|
- name: workspace
|
|
mountPath: /tmp/workspace
|
|
- name: datafile
|
|
mountPath: /tmp/datafile
|
|
- name: submit
|
|
mountPath: /tmp/submit_config
|
|
- name: juicefs-pv
|
|
mountPath: /tmp/juicefs
|
|
- name: customer
|
|
mountPath: /tmp/customer
|
|
- name: submit-private
|
|
mountPath: /tmp/submit_private
|
|
|
|
volumes:
|
|
- name: juicefs-pv
|
|
persistentVolumeClaim:
|
|
claimName: juicefs-pvc
|
|
|
|
|
|
priorityclassname: ''
|
|
priorityclassvalue: '0'
|