Merge pull request #364 from 3dwardch3ng/infra/grafana/dashboard/16098-node-exporter-job-20240520
update consul volumes
This commit is contained in:
@@ -35,47 +35,12 @@ spec:
|
|||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
volumes:
|
volumes:
|
||||||
- name: consul-data
|
- name: consul-data
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: consul-data-pvc
|
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /mnt/nfs/AppData/consul/data
|
path: /mnt/nfs/AppData/consul/data
|
||||||
type: Directory
|
type: Directory
|
||||||
- name: consul-config
|
- name: consul-config
|
||||||
persistentVolumeClaim:
|
|
||||||
claimName: consul-config-pvc
|
|
||||||
hostPath:
|
hostPath:
|
||||||
path: /mnt/nfs/AppData/consul/config
|
path: /mnt/nfs/AppData/consul/config
|
||||||
type: Directory
|
type: Directory
|
||||||
restartPolicy: Always
|
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
|
serviceName: consul
|
||||||
|
|||||||
Reference in New Issue
Block a user