This commit is contained in:
parent
e50faabd94
commit
b7aa0a83aa
@ -21,21 +21,28 @@ status:
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
apiVersion: v1
|
apiVersion: apps/v1
|
||||||
apiVersion: batch/v1beta1
|
kind: Deployment
|
||||||
kind: CronJob
|
|
||||||
metadata:
|
metadata:
|
||||||
name: snowflake-server
|
name: snowflake-server
|
||||||
namespace: default
|
namespace: dca
|
||||||
labels:
|
labels:
|
||||||
app: snowflake-server
|
app: snowflake-server
|
||||||
spec:
|
spec:
|
||||||
schedule: "0 0 * * *"
|
replicas: 1
|
||||||
jobTemplate:
|
selector:
|
||||||
spec:
|
matchLabels:
|
||||||
|
app: snowflake-server
|
||||||
|
strategy:
|
||||||
|
rollingUpdate:
|
||||||
|
maxSurge: 1
|
||||||
|
maxUnavailable: 1
|
||||||
|
minReadySeconds: 30
|
||||||
template:
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: snowflake-server
|
||||||
spec:
|
spec:
|
||||||
restartPolicy: "OnFailure"
|
|
||||||
containers:
|
containers:
|
||||||
- name: snowflake-server
|
- name: snowflake-server
|
||||||
image: <IMAGE>
|
image: <IMAGE>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user