Skip to content

Commit

Permalink
Merge pull request #230 from Revolyssup/fix
Browse files Browse the repository at this point in the history
Fix pending pods due to node affinity
  • Loading branch information
leecalcote authored Jan 13, 2022
2 parents c20106e + c883391 commit 5da205e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions consul/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ func (h *Consul) applyHelmChart(del bool, version string, ns string) (string, er
Namespace: ns,
CreateNamespace: true,
Action: act,
OverrideValues: map[string]interface{}{
"server": map[string]interface{}{
"affinity": nil, //By default Consul does not allow more than one server pods on a single node
},
},
ChartLocation: mesherykube.HelmChartLocation{
Repository: repo,
Chart: chart,
Expand Down

0 comments on commit 5da205e

Please sign in to comment.