merge repos
This commit is contained in:
+78
-36
@@ -1,40 +1,82 @@
|
||||
---
|
||||
kind: Pod
|
||||
apiVersion: v1
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: dconz
|
||||
namespace: dconz
|
||||
name: deconz
|
||||
labels:
|
||||
appName: deconz
|
||||
namespace: deconz
|
||||
spec:
|
||||
containers:
|
||||
- name: dconz
|
||||
image: marthoc/deconz
|
||||
tty: true
|
||||
stdin: true
|
||||
command: ["/bin/sh"]
|
||||
securityContext:
|
||||
privileged: true
|
||||
env:
|
||||
- name: DECONZ_DEVICE
|
||||
value: /dev/ttyACM0
|
||||
volumeMounts:
|
||||
- name: conbee
|
||||
mountPath: /dev/ttyACM0
|
||||
- name: dconzrc
|
||||
mountPath: /root/.local/share/dresden-elektronik/deCONZ
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: deconz
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: deconz
|
||||
spec:
|
||||
containers:
|
||||
- name: deconz
|
||||
image: deconzcommunity/deconz
|
||||
#tty: true
|
||||
#stdin: true
|
||||
#command: ["/bin/sh"]
|
||||
securityContext:
|
||||
privileged: true
|
||||
ports:
|
||||
- containerPort: 8124
|
||||
env:
|
||||
- name: DECONZ_WEB_PORT
|
||||
value: "8124"
|
||||
- name: DECONZ_WS_PORT
|
||||
value: "4443"
|
||||
- name: DECONZ_VNC_PORT
|
||||
value: "5930"
|
||||
- name: DECONZ_VNC_PASSWORD
|
||||
value: "gentoo123"
|
||||
- name: DECONZ_VNC_MODE
|
||||
value: "1"
|
||||
- name: DECONZ_UPNP
|
||||
value: "1"
|
||||
- name: DECONZ_DEVICE
|
||||
value: "/dev/ttyUSB0"
|
||||
- name: DECONZ_BAUDRATE
|
||||
value: "115200"
|
||||
- name: DEBUG_INFO
|
||||
value: "1"
|
||||
- name: DEBUG_APS
|
||||
value: "0"
|
||||
- name: DEBUG_ZCL
|
||||
value: "0"
|
||||
- name: DEBUG_ZDP
|
||||
value: "0"
|
||||
- name: DEBUG_OTA
|
||||
value: "0"
|
||||
- name: TZ
|
||||
value: "Europe/Berlin"
|
||||
resources:
|
||||
limits:
|
||||
akri.sh/akri-conbee3: "1"
|
||||
requests:
|
||||
akri.sh/akri-conbee3: "1"
|
||||
volumeMounts:
|
||||
# - name: conbee
|
||||
# mountPath: /dev/ttyUSB0
|
||||
- name: deconz-config
|
||||
mountPath: /opt/deCONZ
|
||||
- name: localtime
|
||||
mountPath: /etc/localtime
|
||||
readOnly: true
|
||||
# nodeSelector:
|
||||
# environment: zigbee
|
||||
volumes:
|
||||
# - name: conbee
|
||||
# hostPath:
|
||||
# path: /dev/ttyUSB0
|
||||
- name: deconz-config
|
||||
persistentVolumeClaim:
|
||||
claimName: deconz-pvc
|
||||
- name: localtime
|
||||
mountPath: /etc/localtime
|
||||
readOnly: true
|
||||
volumes:
|
||||
- name: conbee
|
||||
hostPath:
|
||||
path: /dev/ttyACM0
|
||||
- name: dconzrc
|
||||
hostPath:
|
||||
path: /home/luke/.local/share/dresden-elektronik/deCONZ
|
||||
type: DirectoryOrCreate
|
||||
- name: localtime
|
||||
hostPath:
|
||||
path: /etc/localtime
|
||||
restartPolicy: Always
|
||||
nodeSelector:
|
||||
kubernetes.io/arch: arm64
|
||||
hostPath:
|
||||
path: /etc/localtime
|
||||
|
||||
Reference in New Issue
Block a user