Update deployment
Some checks are pending
CI / build (push) Waiting to run

This commit is contained in:
Dustin Pianalto 2021-07-09 01:03:29 -08:00
parent e50faabd94
commit b7aa0a83aa

View File

@ -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>