From d1b0538bde3db0811f83683b8e4a0047a16aa46a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rcio=20Fernandes?= Date: Mon, 13 Jul 2026 14:06:31 +0000 Subject: [PATCH] modified: services/wyoming/deploy/app/kustomization.yaml modified: services/wyoming/deploy/app/piper-deployment.yaml deleted: services/wyoming/deploy/app/pvc.yaml new file: services/wyoming/deploy/app/storage.yaml --- .../wyoming/deploy/app/kustomization.yaml | 2 +- .../wyoming/deploy/app/piper-deployment.yaml | 12 --- services/wyoming/deploy/app/pvc.yaml | 11 --- services/wyoming/deploy/app/storage.yaml | 73 +++++++++++++++++++ 4 files changed, 74 insertions(+), 24 deletions(-) delete mode 100644 services/wyoming/deploy/app/pvc.yaml create mode 100644 services/wyoming/deploy/app/storage.yaml diff --git a/services/wyoming/deploy/app/kustomization.yaml b/services/wyoming/deploy/app/kustomization.yaml index 05072a8..82f535a 100644 --- a/services/wyoming/deploy/app/kustomization.yaml +++ b/services/wyoming/deploy/app/kustomization.yaml @@ -2,7 +2,7 @@ apiVersion: kustomize.config.k8s.io/v1beta1 kind: Kustomization namespace: wyoming resources: - - pvc.yaml + - storage.yaml - piper-deployment.yaml - piper-service.yaml - whisper-deployment.yaml diff --git a/services/wyoming/deploy/app/piper-deployment.yaml b/services/wyoming/deploy/app/piper-deployment.yaml index 25ae7c4..d26475e 100644 --- a/services/wyoming/deploy/app/piper-deployment.yaml +++ b/services/wyoming/deploy/app/piper-deployment.yaml @@ -34,15 +34,3 @@ spec: - name: data persistentVolumeClaim: claimName: wyoming-piper ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: wyoming-piper - namespace: wyoming -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 2Gi diff --git a/services/wyoming/deploy/app/pvc.yaml b/services/wyoming/deploy/app/pvc.yaml deleted file mode 100644 index 40c95b2..0000000 --- a/services/wyoming/deploy/app/pvc.yaml +++ /dev/null @@ -1,11 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: wyoming-whisper - namespace: wyoming -spec: - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 8Gi \ No newline at end of file diff --git a/services/wyoming/deploy/app/storage.yaml b/services/wyoming/deploy/app/storage.yaml new file mode 100644 index 0000000..b83ec8c --- /dev/null +++ b/services/wyoming/deploy/app/storage.yaml @@ -0,0 +1,73 @@ + +apiVersion: v1 +kind: PersistentVolume +metadata: + name: wyoming-whisper + namespace: wyoming +spec: + capacity: + storage: 8Gi + accessModes: + - ReadWriteOnce + hostPath: + path: /dataDisks/nvme00/k3s/storageStatic/pv-wyoming-whisper + nodeAffinity: + required: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/hostname + operator: In + values: + - casa-minion-01 +--- + +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: wyoming-whisper + namespace: wyoming +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 8Gi + storageClassName: "" +--- + + +apiVersion: v1 +kind: PersistentVolume +metadata: + name: wyoming-piper + namespace: wyoming +spec: + capacity: + storage: 2Gi + accessModes: + - ReadWriteOnce + hostPath: + path: /dataDisks/nvme00/k3s/storageStatic/pv-wyoming-piper + nodeAffinity: + required: + nodeSelectorTerms: + - matchExpressions: + - key: kubernetes.io/hostname + operator: In + values: + - casa-minion-01 + +--- + +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: wyoming-piper + namespace: wyoming +spec: + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 2Gi + storageClassName: "" \ No newline at end of file