2020-05-17 12:36:49 +00:00
|
|
|
apiVersion: apps/v1
|
|
|
|
kind: Deployment
|
|
|
|
metadata:
|
|
|
|
labels:
|
|
|
|
run: LEDController
|
2020-05-17 15:03:26 +00:00
|
|
|
name: ledcontroller
|
2020-05-17 12:36:49 +00:00
|
|
|
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:
|
2020-05-17 15:03:26 +00:00
|
|
|
- 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
|
2020-05-18 09:47:30 +00:00
|
|
|
imagePullPolicy: Always
|
2020-05-17 15:03:26 +00:00
|
|
|
name: ledcontroller
|
2020-05-17 12:36:49 +00:00
|
|
|
ports:
|
|
|
|
- name: web
|
|
|
|
containerPort: 5353
|
|
|
|
resources: {}
|
|
|
|
terminationMessagePath: /dev/termination-log
|
|
|
|
terminationMessagePolicy: File
|
|
|
|
dnsPolicy: ClusterFirst
|
|
|
|
restartPolicy: Always
|
|
|
|
schedulerName: default-scheduler
|
|
|
|
securityContext: {}
|
|
|
|
terminationGracePeriodSeconds: 30
|