Skip to content

Commit 6d264d4

Browse files
committed
fix: Replica を 1 に
1 parent 31c37e2 commit 6d264d4

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

applications/base/longhorn.yaml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,17 @@ spec:
99
targetRevision: v1.8.0
1010
chart: longhorn
1111
helm:
12-
# シングルノード向け設定
13-
# https://github.com/longhorn/longhorn/discussions/5737
14-
# persistence.defaultClassReplicaCount
15-
# 3台以下で構成されてるクラスタなら2でいいんじゃん?とのこと
16-
# https://longhorn.io/docs/archives/1.4.1/references/settings/#default-replica-count
17-
# defaultSettings.replicaSoftAntiAffinity
18-
# 多分 node 単位で replica が分かれる設定を無効化するという話だと思う
19-
# https://longhorn.io/docs/archives/1.4.1/references/settings/#replica-node-level-soft-anti-affinity
20-
values: |
12+
valuesObject:
2113
preUpgradeChecker:
2214
jobEnabled: false
2315
persistence:
24-
defaultClassReplicaCount: 2
16+
# シングルノード向け設定
17+
# https://github.com/longhorn/longhorn/discussions/5737
18+
# https://longhorn.io/docs/archives/1.4.1/references/settings/#default-replica-count
19+
defaultClassReplicaCount: 1
2520
defaultSettings:
21+
# node 単位で replica が分かれる設定を無効化する(多分そう)
22+
# https://longhorn.io/docs/archives/1.4.1/references/settings/#replica-node-level-soft-anti-affinity
2623
replicaSoftAntiAffinity: true
2724
destination:
2825
server: https://kubernetes.default.svc

0 commit comments

Comments
 (0)