add homeassistant
This commit is contained in:
1 parent
b045e93985
commit
4bcbf57049
8 files changed
+429
No files matched your search
@@ -0,0 +1,48 @@
|
||||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: otbr-deployment
|
||||
spec:
|
||||
replicas: 1
|
||||
selector:
|
||||
matchLabels:
|
||||
app: otbr
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: otbr
|
||||
spec:
|
||||
hostNetwork: true # CRITICAL for Thread discovery
|
||||
containers:
|
||||
- name: otbr
|
||||
image: ghcr.io/ownbee/hass-otbr-docker:latest
|
||||
securityContext:
|
||||
privileged: true
|
||||
env:
|
||||
- name: DEVICE
|
||||
value: "/dev/ttyACM0" # Verify this on your host
|
||||
- name: BAUDRATE
|
||||
value: "460800"
|
||||
- name: BACKBONE_IF
|
||||
value: "ens18" # Your node's network interface
|
||||
- name: OTBR_WEB_PORT
|
||||
value: "30090"
|
||||
- name: OTBR_REST_PORT
|
||||
value: "30091"
|
||||
- name: FIREWALL
|
||||
value: "0"
|
||||
- name: NAT64
|
||||
value: "0"
|
||||
volumeMounts:
|
||||
- mountPath: /dev/ttyACM0
|
||||
name: otbr-zbt2
|
||||
- mountPath: /data
|
||||
name: otbr-data
|
||||
volumes:
|
||||
- name: otbr-zbt2
|
||||
hostPath:
|
||||
path: /dev/serial/by-id/usb-Nabu_Casa_ZBT-2_DCB4D90C0AF4-if00
|
||||
type: CharDevice
|
||||
- name: otbr-data
|
||||
hostPath:
|
||||
path: /root/kubernetes/homeassistant/data/otbr/thread
|
||||
Reference in new issue
Block a user