bitpoke / mysql-operator

Asynchronous MySQL Replication on Kubernetes using Percona Server and Openark's Orchestrator.
https://www.bitpoke.io/docs/mysql-operator/getting-started/
Apache License 2.0
993 stars 275 forks source link

Add optional field to keep pvc after cluster been deleted #899

Closed drivebyer closed 10 months ago

drivebyer commented 11 months ago

closes/fixes https://github.com/bitpoke/mysql-operator/issues/892


drivebyer commented 11 months ago

PTAL @cndoit18

drivebyer commented 10 months ago

ready to merge plz @cndoit18

Littlehhao commented 7 months ago

when will it be released

drivebyer commented 7 months ago

when will it be released

hard to say, you can packge on yourself.

Littlehhao commented 7 months ago

I see that docker.io already supports bitpoke/mysql-operator:v0.6.3 version of the mirror. I don’t know if this version of the image fixes this bug.

drivebyer commented 7 months ago

I don’t know if this version of the image fixes this bug.

No, v0.6.3 only contains these commit https://github.com/bitpoke/mysql-operator/commits/v0.6.3

Littlehhao commented 7 months ago

What about version 0.7.0-amd64?

Littlehhao commented 7 months ago

https://hub.docker.com/layers/bitpoke/mysql-operator-orchestrator/0.7.0-amd64/images/sha256-724546e6c7a788a65c9d420e671087036e36c7fbe31d6b0f9b33c930839427b0?context=explore

drivebyer commented 7 months ago

What about version 0.7.0-amd64?

maybe not, it pushed 5 months ago

Littlehhao commented 7 months ago

I didn't build successfully. Can you help me build this image?

drivebyer commented 7 months ago

I havn't do this before. You could post an issue, asking the community for help.

Littlehhao commented 7 months ago

I added keepAfterDelete to both mysql-cluster and crd files.

image image

But when I start the mysql-operator cluster, I get an error

image

@drivebyer

drivebyer commented 7 months ago

try keepAfterDelete, not KeepAfterDelete @Littlehhao

Littlehhao commented 7 months ago

Thank you very much, I made it

Littlehhao commented 7 months ago

Do you know how to build the arm64 package? @drivebyer