LEDController/deployments/kubernetes/deploy.yaml

40 lines
911 B
YAML
Executable File

apiVersion: apps/v1
kind: Deployment
metadata:
labels:
run: LEDController
name: LEDController
spec:
progressDeadlineSeconds: 600
replicas: 1
revisionHistoryLimit: 10
selector:
matchLabels:
run: LEDController
strategy:
rollingUpdate:
maxSurge: 25%
maxUnavailable: 25%
type: RollingUpdate
template:
metadata:
creationTimestamp: null
labels:
run: LEDController
spec:
containers:
- image: imartyn/LEDController:devel
imagePullPolicy: IfNotPresent
name: LEDController
ports:
- name: web
containerPort: 5353
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30