Skip to content

Commit

Permalink
chore: only use one replica for the csi controller
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasmetzner committed Dec 11, 2024
1 parent 6e13c24 commit f0b888d
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions nomad/hcloud-csi-controller.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@ job "hcloud-csi-controller" {

group "controller" {

### NOTE
# We define (at least) 2 allocations to increase the availability in case of a node failure with
# a controller allocation running on that node. On a "Single Node Cluster", the group stanzas
# might need modification or should be removed.
count = 2
count = 1

constraint {
distinct_hosts = true
Expand Down Expand Up @@ -57,4 +53,4 @@ EOH
}
}
}
}
}

0 comments on commit f0b888d

Please sign in to comment.