Skip to content

Commit

Permalink
enable ha by default
Browse files Browse the repository at this point in the history
  • Loading branch information
xuriwuyun committed Oct 23, 2023
1 parent 06d2843 commit 954aeaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lorry/dcs/k8s.go
Original file line number Diff line number Diff line change
Expand Up @@ -434,8 +434,8 @@ func (store *KubernetesStore) CreateHaConfig(cluster *Cluster) error {
maxLag := viper.GetString(constant.KBEnvMaxLag)
enableHA := viper.GetString(constant.KBEnvEnableHA)
if enableHA == "" {
// disable HA by default
enableHA = "false"
// enable HA by default
enableHA = "true"
}
haConfigMap := &corev1.ConfigMap{
ObjectMeta: metav1.ObjectMeta{
Expand Down

0 comments on commit 954aeaa

Please sign in to comment.