GoogleCloudPlatform / elcarro-oracle-operator

El Carro is a new project that offers a way to run Oracle databases in Kubernetes as a portable, open source, community driven, no vendor lock-in container orchestration system. El Carro provides a powerful declarative API for comprehensive and consistent configuration and deployment as well as for real-time operations and monitoring.
Apache License 2.0
209 stars 55 forks source link

Operator update triggers recreation of Oracle statefulsets #382

Open M-Schiefer opened 1 month ago

M-Schiefer commented 1 month ago

Describe the bug We observe that the StatefulSets of Oracle instances are recreated when we update the El-Carro operator.

To Reproduce

  1. Deploy El-Carro Operator
  2. Deploy instance & database for Oracle
  3. Update El-Carro Operator (e.g. newest version)
  4. Observe that the Statefulset of Oracle is recreated by the operator, causing the pod to be recreated

Expected behavior Statefulset is not recreated everytime the operator is updated.

Additional context Cloud logging query to observe the behavior:

startStatefulSetPatching
resource.labels.container_name="manager"
resource.labels.namespace_name="operator-system"