Kubegres is a Kubernetes operator allowing to deploy one or many clusters of PostgreSql instances and manage databases replication, failover and backup.
Hello, I'm looking to scale a kubegres. This was successful on many databases but one, it seems to have a problem with the number. For example this is database-4
2022-02-18T14:26:36.182Z INFO controllers.Kubegres Updating Kubegres' status: {"Field": "BlockingOperation", "New value": {"statefulSetOperation":{},"statefulSetSpecUpdateOperation":{}}}
2022-02-18T14:26:36.182Z INFO controllers.Kubegres Updating Kubegres' status: {"Field": "PreviousBlockingOperation", "New value": {"operationId":"Replica DB count spec enforcement","stepId":"Replica DB is deploying","timeOutEpocInSeconds":1645194696,"statefulSetOperation":{"instanceIndex":4,"name":"authentik-postgres-4"},"statefulSetSpecUpdateOperation":{}}}
2022-02-18T14:26:36.182Z DEBUG controller-runtime.manager.events Warning {"object": {"kind":"Kubegres","namespace":"networking","name":"authentik-postgres","uid":"1d1c3295-5c78-457a-8051-f8667a0af002","apiVersion":"kubegres.reactive-tech.io/v1","resourceVersion":"115220346"}, "reason": "ReplicaStatefulSetDeploymentErr", "message": "Unable to deploy Replica StatefulSet. 'Replica name': authentik-postgres-4 - statefulsets.apps \"authentik-postgres-4\" already exists"}
2022-02-18T14:26:36.198Z INFO controllers.Kubegres Kubegres status updated.
2022-02-18T14:26:36.198Z ERROR controller-runtime.manager.controller.kubegres Reconciler error {"reconciler group": "kubegres.reactive-tech.io", "reconciler kind": "Kubegres", "name": "authentik-postgres", "namespace": "networking", "error": "statefulsets.apps \"authentik-postgres-4\" already exists"}
github.com/go-logr/zapr.(*zapLogger).Error
/go/pkg/mod/github.com/go-logr/zapr@v0.2.0/zapr.go:132
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.7.2/pkg/internal/controller/controller.go:267
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.7.2/pkg/internal/controller/controller.go:235
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.1
/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.7.2/pkg/internal/controller/controller.go:198
k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1
/go/pkg/mod/k8s.io/apimachinery@v0.19.2/pkg/util/wait/wait.go:185
k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
/go/pkg/mod/k8s.io/apimachinery@v0.19.2/pkg/util/wait/wait.go:155
k8s.io/apimachinery/pkg/util/wait.BackoffUntil
/go/pkg/mod/k8s.io/apimachinery@v0.19.2/pkg/util/wait/wait.go:156
k8s.io/apimachinery/pkg/util/wait.JitterUntil
/go/pkg/mod/k8s.io/apimachinery@v0.19.2/pkg/util/wait/wait.go:133
k8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext
/go/pkg/mod/k8s.io/apimachinery@v0.19.2/pkg/util/wait/wait.go:185
k8s.io/apimachinery/pkg/util/wait.UntilWithContext
/go/pkg/mod/k8s.io/apimachinery@v0.19.2/pkg/util/wait/wait.go:99
2022-02-18T14:26:36.198Z INFO controllers.Kubegres =======================================================
2022-02-18T14:26:36.198Z INFO controllers.Kubegres =======================================================
Hello, I'm looking to scale a kubegres. This was successful on many databases but one, it seems to have a problem with the number. For example this is database-4