FoundationDB / fdb-kubernetes-operator

A kubernetes operator for FoundationDB
Apache License 2.0
238 stars 81 forks source link

Unified image code clean up and make use of the same constant #2051

Closed johscheuer closed 1 month ago

johscheuer commented 1 month ago

Description

Fixes: https://github.com/FoundationDB/fdb-kubernetes-operator/issues/2043

Type of change

Please select one of the options below.

Discussion

We changed the disk layout with the unified image, if only a single storage server per pod is used, then the data directory is still suffixed with /1. This would break the transition to the unified image for cluster with a single storage server per pod.

I also made sure we remove some internal method duplications.

Testing

Updated the unit tests and CI will run e2e tests.

Documentation

-

Follow-up

-

foundationdb-ci commented 1 month ago

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