pcm-kubernetes/deploy/jcce-schedule-deployment.yaml

45 lines
1017 B
YAML
Raw Permalink Normal View History

2022-09-07 09:06:05 +08:00
kind: Deployment
apiVersion: apps/v1
metadata:
name: jcce-schedule-deployment
namespace: jcce-system
labels:
k8s-app: jcce-schedule
spec:
replicas: 1
selector:
matchLabels:
k8s-app: jcce-schedule
template:
metadata:
name: jcce-schedule
labels:
k8s-app: jcce-schedule
spec:
imagePullSecrets:
- name: SECRET_NAME
containers:
- name: jcce-schedule
image: IMAGE_NAME
resources: {}
imagePullPolicy: Always
securityContext:
privileged: false
procMount: Default
ports:
- containerPort: 80
volumeMounts: []
volumes: []
restartPolicy: Always
terminationGracePeriodSeconds: 30
dnsPolicy: ClusterFirst
securityContext: {}
schedulerName: default-scheduler
strategy:
type: RollingUpdate
rollingUpdate:
maxUnavailable: 25%
maxSurge: 25%
revisionHistoryLimit: 10
progressDeadlineSeconds: 600