Skip to content

Commit

Permalink
Increase worker node to 6
Browse files Browse the repository at this point in the history
Signed-off-by: naoki-take <[email protected]>
  • Loading branch information
tkna committed Sep 30, 2024
1 parent d9361ca commit bac0161
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions dctest/cke_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ func testCKESetup() {
It("should generates cluster.yml automatically", func() {
By("setting configurations")
execSafeAt(bootServers[0], "ckecli", "constraints", "set", "control-plane-count", "3")
execSafeAt(bootServers[0], "ckecli", "constraints", "set", "minimum-workers", "2")
execSafeAt(bootServers[0], "ckecli", "constraints", "set", "minimum-workers", "6")
execSafeAt(bootServers[0], "ckecli", "sabakan", "set-url", "http://localhost:10080")

By("waiting for cluster.yml generation")
Expand Down Expand Up @@ -128,9 +128,9 @@ func testCKE() {
return err
}

// control-plane-count + minimum-workers = 5
// control-plane-count + minimum-workers = 9
// https://github.com/cybozu-go/cke/blob/main/docs/sabakan-integration.md#initialization
if len(nl.Items) != 5 {
if len(nl.Items) != 9 {
return fmt.Errorf("too few nodes: %d", len(nl.Items))
}
return nil
Expand Down
2 changes: 1 addition & 1 deletion dctest/upgrade_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ func testUpgrade() {
case "squid-exporter":
return checkVersionInDeployment("internet-egress", "squid", newImage)
case "cilium":
return checkVersionInDaemonSetPartial("kube-system", "cilium", newImage, 1)
return checkVersionInDaemonSetPartial("kube-system", "cilium", newImage, 4)
case "cilium-operator-generic":
return checkVersionInDeployment("kube-system", "cilium-operator", newImage)
case "hubble-relay":
Expand Down

0 comments on commit bac0161

Please sign in to comment.