JCC-CSScheduler/deploy/x86/yaml/executor.yaml

30 lines
617 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: schexecutor
name: schexecutor
namespace: default
spec:
selector:
matchLabels:
app: schexecutor
template:
metadata:
labels:
app: schexecutor
spec:
containers:
- name: schexecutorservice
image: 112.95.163.90:5010/schexecutorservice-x86:latest
imagePullPolicy: Always
volumeMounts:
- name: schexecutorconfig
mountPath: /opt/confs
volumes:
- name: schexecutorconfig
configMap:
name: schexecutor-config
restartPolicy: Always