From 04c1de1467de09f857af024c5785c44a67ee8b36 Mon Sep 17 00:00:00 2001 From: Edward Cheng Date: Thu, 27 Jun 2024 02:13:18 +1000 Subject: [PATCH] update consul volumes --- .../consul/app/statefulset.yaml | 35 ------------------- 1 file changed, 35 deletions(-) diff --git a/kubernetes/infrastructure/consul/app/statefulset.yaml b/kubernetes/infrastructure/consul/app/statefulset.yaml index 0761a26..5f45270 100644 --- a/kubernetes/infrastructure/consul/app/statefulset.yaml +++ b/kubernetes/infrastructure/consul/app/statefulset.yaml @@ -35,47 +35,12 @@ spec: imagePullPolicy: IfNotPresent volumes: - name: consul-data - persistentVolumeClaim: - claimName: consul-data-pvc hostPath: path: /mnt/nfs/AppData/consul/data type: Directory - name: consul-config - persistentVolumeClaim: - claimName: consul-config-pvc hostPath: path: /mnt/nfs/AppData/consul/config type: Directory restartPolicy: Always - volumeClaimTemplates: - - kind: PersistentVolumeClaim - apiVersion: v1 - metadata: - name: consul-data-pvc - namespace: consul - labels: - name: consul-data-pvc - spec: - storageClassName: local-path - volumeMode: Filesystem - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 10Gi - - kind: PersistentVolumeClaim - apiVersion: v1 - metadata: - name: consul-config-pvc - namespace: consul - labels: - name: consul-config-pvc - spec: - storageClassName: local-path - volumeMode: Filesystem - accessModes: - - ReadWriteOnce - resources: - requests: - storage: 10Mi serviceName: consul