1
0
mirror of synced 2025-02-20 09:18:27 +01:00

Add Kubernetes deployment

This commit is contained in:
Sean Turner 2018-02-07 11:54:49 +00:00
parent ed6c73fc16
commit f82f27bef0

30
no.yaml Normal file
View File

@ -0,0 +1,30 @@
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
annotations:
deployment.kubernetes.io/revision: "1"
labels:
run: scratch
name: scratch
spec:
replicas: 1
selector:
matchLabels:
run: scratch
strategy:
rollingUpdate:
maxSurge: 1
maxUnavailable: 1
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
run: scratch
spec:
containers:
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30