main
ycz008 2023-07-26 19:10:02 +08:00
parent 22f77c9161
commit e6a9059cd1
1 changed files with 6 additions and 6 deletions

View File

@ -6,13 +6,13 @@ metadata:
spec: spec:
storageClassName: local-elastic storageClassName: local-elastic
capacity: capacity:
storage: 50Gi storage: 30Gi
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
local: local:
path: /data/elastic-release/es_data path: /data/elastic-release/es_data
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: required:
nodeSelectorTerms: nodeSelectorTerms:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
@ -28,13 +28,13 @@ metadata:
spec: spec:
storageClassName: local-elastic storageClassName: local-elastic
capacity: capacity:
storage: 50Gi storage: 30Gi
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
local: local:
path: /data/elastic-release/es_data path: /data/elastic-release/es_data
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: required:
nodeSelectorTerms: nodeSelectorTerms:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname
@ -50,13 +50,13 @@ metadata:
spec: spec:
storageClassName: local-elastic storageClassName: local-elastic
capacity: capacity:
storage: 50Gi storage: 30Gi
accessModes: accessModes:
- ReadWriteOnce - ReadWriteOnce
local: local:
path: /data/elastic-release/es_data path: /data/elastic-release/es_data
nodeAffinity: nodeAffinity:
requiredDuringSchedulingIgnoredDuringExecution: required:
nodeSelectorTerms: nodeSelectorTerms:
- matchExpressions: - matchExpressions:
- key: kubernetes.io/hostname - key: kubernetes.io/hostname