FoundationDB / fdb-kubernetes-operator

A kubernetes operator for FoundationDB
Apache License 2.0
241 stars 82 forks source link

Remove enable node watch setting as this can be enabled with an env variable #2077

Closed johscheuer closed 3 months ago

johscheuer commented 3 months ago

Description

I added a bit prematurely the new setting but the setting is actually not needed, so we should remove it. This will be a breaking change but since the feature is only relevant for the unified image, which is not yet released, I think it's okay to remove it.

Type of change

Please select one of the options below.

Discussion

Are there any design details that you would like to discuss further?

Testing

Manual run:

 2024/06/24 14:51:24 waiting until the cluster jscheuermann/jdev is healthy and reconciled
  2024/06/24 14:51:25 reconciled name=jdev, namespace=jscheuermann, generation:4
• [120.171 seconds]
------------------------------
[AfterSuite]
/Users/jscheuermann/go/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator/operator_test.go:98
[AfterSuite] PASSED [0.000 seconds]
------------------------------
[ReportAfterSuite] Autogenerated ReportAfterSuite for --junit-report
autogenerated by Ginkgo
[ReportAfterSuite] PASSED [0.004 seconds]
------------------------------

Ran 1 of 53 Specs in 356.735 seconds
SUCCESS! -- 1 Passed | 0 Failed | 9 Pending | 43 Skipped
PASS | FOCUSED
FAIL    github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator       357.160s
FAIL

Documentation

Updated.

Follow-up

-

foundationdb-ci commented 3 months ago

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

foundationdb-ci commented 3 months ago

Result of fdb-kubernetes-operator-pr on Linux CentOS 7

johscheuer commented 3 months ago
• [FAILED] [393.668 seconds]
Operator when a Pod is unscheduled and another Pod is being replaced [It] should remove the targeted Pod [e2e, pr]
/codebuild/output/src2290440694/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/test_operator/operator_test.go:583

  [FAILED] Timed out after 300.001s.
  Expected
      <bool>: false
  to be true
  In [It] at: /codebuild/output/src2290440694/src/github.com/FoundationDB/fdb-kubernetes-operator/e2e/fixtures/fdb_cluster.go:1222 @ 06/24/24 17:08:19.249
------------------------------

Same failure as in the other test.