ソースを参照

update services

Josh Bicking 7 ヶ月 前
コミット
7cfa4556cf
6 ファイル変更201 行追加10 行削除
  1. 45 0
      homeassistant-pvc.yaml
  2. 150 0
      homeassistant.yaml
  3. 3 1
      miniflux.yaml
  4. 1 1
      nextcloud/values.yaml
  5. 1 1
      plex.yaml
  6. 1 7
      vaultwarden.yaml

+ 45 - 0
homeassistant-pvc.yaml

@@ -17,3 +17,48 @@ spec:
   resources:
     requests:
       storage: 20Gi
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: whisper-pvc
+  namespace: homeassistant
+  labels:
+    app: whisper
+spec:
+  storageClassName: ceph-block
+  accessModes:
+    - ReadWriteOnce
+  resources:
+    requests:
+      storage: 20Gi
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: piper-pvc
+  namespace: homeassistant
+  labels:
+    app: piper
+spec:
+  storageClassName: ceph-block
+  accessModes:
+    - ReadWriteOnce
+  resources:
+    requests:
+      storage: 20Gi
+---
+apiVersion: v1
+kind: PersistentVolumeClaim
+metadata:
+  name: openwakeword-pvc
+  namespace: homeassistant
+  labels:
+    app: openwakeword
+spec:
+  storageClassName: ceph-block
+  accessModes:
+    - ReadWriteOnce
+  resources:
+    requests:
+      storage: 20Gi

+ 150 - 0
homeassistant.yaml

@@ -59,3 +59,153 @@ spec:
     - kind: Service
       name: homeassistant-service
       port: 8123
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: whisper
+  namespace: homeassistant
+spec:
+  selector:
+    matchLabels:
+      app: whisper
+  replicas: 1
+  template:
+    metadata:
+      labels:
+        app: whisper
+    spec:
+      hostNetwork: true
+      containers:
+      - name: homeassistant
+        image: rhasspy/wyoming-whisper
+        args:
+          - --model
+          - base-int8
+          - --language
+          - en
+        ports:
+        - containerPort: 10300
+          name: http-web-svc
+        volumeMounts:
+        - mountPath: "/data"
+          name: tmpfs
+      volumes:
+      - name: tmpfs
+        emptyDir:
+          medium: Memory
+          sizeLimit: 2Gi
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: piper
+  namespace: homeassistant
+spec:
+  selector:
+    matchLabels:
+      app: piper
+  replicas: 1
+  template:
+    metadata:
+      labels:
+        app: piper
+    spec:
+      hostNetwork: true
+      containers:
+      - name: homeassistant
+        image: rhasspy/wyoming-piper
+        args:
+          - --voice
+          - en_US-lessac-high
+        ports:
+        - containerPort: 10200
+          name: http-web-svc
+        volumeMounts:
+        - mountPath: "/data"
+          name: tmpfs
+      volumes:
+      - name: tmpfs
+        emptyDir:
+          medium: Memory
+          sizeLimit: 2Gi
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: openwakeword
+  namespace: homeassistant
+spec:
+  selector:
+    matchLabels:
+      app: openwakeword
+  replicas: 1
+  template:
+    metadata:
+      labels:
+        app: openwakeword
+    spec:
+      hostNetwork: true
+      containers:
+      - name: homeassistant
+        image: rhasspy/wyoming-openwakeword
+        args:
+          - --preload-model
+          - hey_jarvis
+          - --custom-model-dir
+          - /custom
+        ports:
+        - containerPort: 10400
+          name: http-web-svc
+        volumeMounts:
+        - mountPath: "/custom"
+          name: tmpfs
+      volumes:
+      - name: tmpfs
+        emptyDir:
+          medium: Memory
+          sizeLimit: 2Gi
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: mosquitto
+  namespace: homeassistant
+spec:
+  selector:
+    matchLabels:
+      app: mosquitto
+  replicas: 1
+  template:
+    metadata:
+      labels:
+        app: mosquitto
+    spec:
+      hostNetwork: true
+      containers:
+      - name: homeassistant
+        image: eclipse-mosquitto:2.0.18
+        ports:
+        - containerPort: 1883
+          name: noenc-noauth
+        volumeMounts:
+        - name: config
+          mountPath: /mosquitto/config
+          readOnly: true
+      volumes:
+      - name: config
+        configMap:
+          name: mosquitto
+          items:
+          - key: mosquitto.conf
+            path: mosquitto.conf
+---
+apiVersion: v1
+kind: ConfigMap
+metadata:
+  name: mosquitto
+  namespace: homeassistant
+data:
+  mosquitto.conf: |
+    listener 1883
+    allow_anonymous true

+ 3 - 1
miniflux.yaml

@@ -21,7 +21,7 @@ spec:
     spec:
       containers:
       - name: miniflux
-        image: miniflux/miniflux:2.0.39
+        image: miniflux/miniflux:2.1.1
         ports:
         - containerPort: 8080
           name: http-web-svc
@@ -31,6 +31,8 @@ spec:
         env:
         - name: RUN_MIGRATIONS
           value: "1"
+        - name: BASE_URL
+          value: https://miniflux.jibby.org
         livenessProbe:
           exec:
             command: ["/usr/bin/miniflux", "-healthcheck", "auto"]

+ 1 - 1
nextcloud/values.yaml

@@ -22,7 +22,7 @@
 ##
 image:
   repository: nextcloud
-  tag: 26.0.9-apache
+  tag: 28.0.2-apache
   pullPolicy: IfNotPresent
   # pullSecrets:
   #   - myRegistrKeySecretName

+ 1 - 1
plex.yaml

@@ -23,7 +23,7 @@ spec:
     spec:
       containers:
       - name: plex
-        image: linuxserver/plex:amd64-version-1.32.5.7516-8f4248874
+        image: linuxserver/plex:version-1.40.1.8227-c0dd5a73e
         # for debugging
         # command: ["/bin/sh"]
         # args: ["-c", "sleep 3600"]

+ 1 - 7
vaultwarden.yaml

@@ -21,12 +21,10 @@ spec:
     spec:
       containers:
       - name: vaultwarden
-        image: vaultwarden/server:1.29.2
+        image: vaultwarden/server:latest
         ports:
         - containerPort: 80
           name: http-web-svc
-        - containerPort: 3012
-          name: http-sock-svc
         envFrom:
         - secretRef:
             name: vaultwarden-secret
@@ -64,7 +62,3 @@ spec:
     protocol: TCP
     port: 80
     targetPort: http-web-svc
-  - name: vaultwarden-sock-port
-    protocol: TCP
-    port: 3012
-    targetPort: http-sock-svc