Longhorn: use values yaml for helm to reduce replicas
This commit is contained in:
@@ -28,7 +28,8 @@ install:
|
|||||||
--install \
|
--install \
|
||||||
--cleanup-on-fail \
|
--cleanup-on-fail \
|
||||||
--namespace ${LONGHORN_NAMESPACE} \
|
--namespace ${LONGHORN_NAMESPACE} \
|
||||||
--create-namespace
|
--create-namespace \
|
||||||
|
--values longhorn-values.yaml
|
||||||
|
|
||||||
uninstall:
|
uninstall:
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|||||||
@@ -1,18 +1,6 @@
|
|||||||
global:
|
|
||||||
nodeSelector:
|
|
||||||
node.longhorn.io/create-default-disk: "true"
|
|
||||||
|
|
||||||
service:
|
|
||||||
ui:
|
|
||||||
type: NodePort
|
|
||||||
nodePort: 30050
|
|
||||||
manager:
|
|
||||||
type: ClusterIP
|
|
||||||
|
|
||||||
# Replica count for the default Longhorn StorageClass.
|
# Replica count for the default Longhorn StorageClass.
|
||||||
persistence:
|
persistence:
|
||||||
defaultClass: false
|
|
||||||
defaultFsType: ext4
|
|
||||||
defaultClassReplicaCount: 2
|
defaultClassReplicaCount: 2
|
||||||
reclaimPolicy: Delete
|
reclaimPolicy: Delete
|
||||||
|
|
||||||
@@ -25,12 +13,10 @@ csi:
|
|||||||
|
|
||||||
# Default replica count and storage path
|
# Default replica count and storage path
|
||||||
defaultSettings:
|
defaultSettings:
|
||||||
upgradeChecker: false
|
|
||||||
kubernetesClusterAutoscalerEnabled: false
|
kubernetesClusterAutoscalerEnabled: false
|
||||||
allowCollectingLonghornUsageMetrics: false
|
allowCollectingLonghornUsageMetrics: false
|
||||||
createDefaultDiskLabeledNodes: true
|
|
||||||
defaultReplicaCount: 2
|
defaultReplicaCount: 2
|
||||||
defaultDataPath: "/k8s-data"
|
# defaultDataPath: "/k8s-data"
|
||||||
|
|
||||||
longhornUI:
|
longhornUI:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user