add homeassistant

This commit is contained in:
TapTap committed 2026-10-20 15:47:57 +02:00
1 parent b045e93985
commit 4bcbf57049
8 files changed
+429

No files matched your search

+52
View File
@@ -0,0 +1,52 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: matter-server-deployment
labels:
app: matter-server
spec:
replicas: 1
selector:
matchLabels:
app: matter-server
template:
metadata:
labels:
app: matter-server
spec:
hostNetwork: true # Required for mDNS discovery to work effectively
# dnsPolicy: ClusterFirstWithHostNet
dnsPolicy: Default
containers:
- name: matter-server
image: ghcr.io/home-assistant-libs/python-matter-server:stable
args:
- "--storage-path"
- "/data"
- "--paa-root-cert-dir"
- "/data/credentials"
- "--primary-interface"
- "ens18"
volumeMounts:
- name: matter-data
mountPath: /data
ports:
- name: matter-api
containerPort: 5580
volumes:
- name: matter-data
hostPath:
path: /root/kubernetes/homeassistant/data/matter
---
apiVersion: v1
kind: Service
metadata:
name: matter-server-service
spec:
selector:
app: matter-server
ports:
- name: matter-api
protocol: TCP
port: 5580
targetPort: 5580