Добавлен ресурс piraeus.yaml в kustomization.yaml, исправлены параметры nodeAffinity и volumeBindingMode в piraeus-cluster.yaml.
This commit is contained in:
@@ -5,7 +5,7 @@ metadata:
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 5m
|
||||
path: ../../../../soft/piraeus
|
||||
path: ../../../soft/piraeus
|
||||
prune: true
|
||||
sourceRef:
|
||||
kind: GitRepository
|
||||
|
@@ -4,6 +4,7 @@ resources:
|
||||
- gotk-components.yaml
|
||||
- gotk-sync.yaml
|
||||
|
||||
- ../../soft/piraeus.yaml
|
||||
- ../../soft/cpng.yaml
|
||||
- ../../soft/ingress-nginx.yaml
|
||||
- ../../soft/metrics-server.yaml
|
||||
|
@@ -2,12 +2,12 @@ apiVersion: piraeus.io/v1
|
||||
kind: LinstorCluster
|
||||
metadata:
|
||||
name: linstorcluster
|
||||
spec: {}
|
||||
# nodeAffinity:
|
||||
# nodeSelectorTerms:
|
||||
# - matchExpressions:
|
||||
# - key: node-role.kubernetes.io/control-plane
|
||||
# operator: DoesNotExist
|
||||
spec:
|
||||
nodeAffinity:
|
||||
nodeSelectorTerms:
|
||||
- matchExpressions:
|
||||
- key: node-role.kubernetes.io/control-plane
|
||||
operator: DoesNotExist
|
||||
---
|
||||
|
||||
apiVersion: piraeus.io/v1
|
||||
@@ -66,7 +66,7 @@ metadata:
|
||||
storageclass.kubernetes.io/is-default-class: "true"
|
||||
provisioner: linstor.csi.linbit.com
|
||||
allowVolumeExpansion: true
|
||||
volumeBindingMode: WaitForFirstConsumer
|
||||
volumeBindingMode: Immediate
|
||||
parameters:
|
||||
linstor.csi.linbit.com/storagePool: pool1
|
||||
---
|
||||
@@ -77,7 +77,7 @@ metadata:
|
||||
name: piraeus-storage-replicated
|
||||
provisioner: linstor.csi.linbit.com
|
||||
allowVolumeExpansion: true
|
||||
volumeBindingMode: WaitForFirstConsumer
|
||||
volumeBindingMode: Immediate
|
||||
parameters:
|
||||
linstor.csi.linbit.com/storagePool: pool1
|
||||
linstor.csi.linbit.com/placementCount: "2"
|
||||
|
Reference in New Issue
Block a user