Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Ring-MQTT manifest for my Kubernetes cluster.
---
apiVersion: apps/v1
kind: Deployment
metadata:
labels:
app: ring-mqtt
name: ring-mqtt
namespace: homeassistant
spec:
replicas: 1
selector:
matchLabels:
app: ring-mqtt
template:
metadata:
labels:
app: ring-mqtt
spec:
volumes:
- name: ring-config
nfs:
server: mnemosyne.arkane-systems.lan
path: "/swarm/harmony/homeassistant/ring-mqtt"
containers:
- image: tsightler/ring-mqtt:4.8.3
name: ring-mqtt
env:
- name: "MQTTHOST"
value: "mosquitto.default.svc.cluster.local"
- name: "ENABLECAMERAS"
value: "true"
- name: "SNAPSHOTMODE"
value: "all"
- name: "ENABLEPANIC"
value: "true"
- name: "DISARMCODE"
value: "<REDACTED>"
- name: "DEBUG"
value: "ring-mqtt"
volumeMounts:
- mountPath: "/data"
name: ring-config
ports:
- containerPort: 8554
name: rtsp
---
apiVersion: v1
kind: Service
metadata:
name: ring-mqtt
namespace: homeassistant
spec:
selector:
app: ring-mqtt
ports:
- protocol: TCP
port: 8554
name: rtsp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment