LEDController/deployments/kubernetes/deploy.yaml

51 lines
1.2 KiB
YAML
Raw Normal View History

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:
- env:
- name: LISTEN_PORT
value: "5353"
- name: PANEL_IP
value: "192.168.1.139"
- name: PANEL_WIDTH
value: "68"
- name: PANEL_HEIGHT
value: "4"
- name: PANEL_BRIGHTNESS
value: "10"
image: imartyn/ledcontroller:0.0-linux-amd64
imagePullPolicy: Always
name: ledcontroller
ports:
- name: web
containerPort: 5353
resources: {}
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
dnsPolicy: ClusterFirst
restartPolicy: Always
schedulerName: default-scheduler
securityContext: {}
terminationGracePeriodSeconds: 30