{"level":"info","ts":"2026-07-17T05:25:12.134619167Z","logger":"setup","msg":"Starting CloudNativePG Operator","version":"1.28.4","build":{"Version":"1.28.4","Commit":"f74344b4d","Date":"2026-06-29"}} {"level":"info","ts":"2026-07-17T05:25:12.134802951Z","logger":"setup","msg":"Metrics server enabled without TLS"} {"level":"info","ts":"2026-07-17T05:25:12.134809922Z","logger":"setup","msg":"Listening for changes on all namespaces"} {"level":"info","ts":"2026-07-17T05:25:12.148500881Z","logger":"setup","msg":"Loading configuration from ConfigMap","namespace":"cnpg-system","name":"cnpg-controller-manager-config"} {"level":"info","ts":"2026-07-17T05:25:12.162018174Z","logger":"setup","msg":"Operator configuration loaded","configuration":{"webhookCertDir":"","metricsCertDir":"","pluginSocketDir":"/plugins","watchNamespace":"","operatorNamespace":"cnpg-system","operatorPullSecretName":"cnpg-pull-secret","operatorImageName":"harbor.atmosphere.dev/ghcr.io/cloudnative-pg/cloudnative-pg:1.28.4","postgresImageName":"ghcr.io/cloudnative-pg/postgresql:18.4-system-trixie","pgbouncerImageName":"ghcr.io/cloudnative-pg/pgbouncer:1.25.1","inheritedAnnotations":null,"inheritedLabels":null,"monitoringQueriesConfigmap":"cnpg-default-monitoring","monitoringQueriesSecret":"","enableInstanceManagerInplaceUpdates":false,"certificateDuration":90,"expiringCheckThreshold":7,"createAnyService":false,"clustersRolloutDelay":0,"instancesRolloutDelay":0,"includePlugins":"","standbyTcpUserTimeout":null,"kubernetesClusterDomain":"cluster.local","drainTaints":["node.kubernetes.io/unschedulable","ToBeDeletedByClusterAutoscaler","karpenter.sh/disrupted","karpenter.sh/disruption"]}} {"level":"info","ts":"2026-07-17T05:25:12.208748069Z","logger":"setup","msg":"Kubernetes system metadata","haveSCC":false,"haveVolumeSnapshot":false,"availableArchitectures":[{"GoArch":"amd64"},{"GoArch":"arm64"}]} {"level":"info","ts":"2026-07-17T05:25:12.661980761Z","logger":"controller-runtime.builder","msg":"Registering a mutating webhook","GVK":"postgresql.cnpg.io/v1, Kind=Cluster","path":"/mutate-postgresql-cnpg-io-v1-cluster"} {"level":"info","ts":"2026-07-17T05:25:12.662186086Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/mutate-postgresql-cnpg-io-v1-cluster"} {"level":"info","ts":"2026-07-17T05:25:12.662236818Z","logger":"controller-runtime.builder","msg":"Registering a validating webhook","GVK":"postgresql.cnpg.io/v1, Kind=Cluster","path":"/validate-postgresql-cnpg-io-v1-cluster"} {"level":"info","ts":"2026-07-17T05:25:12.662295359Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate-postgresql-cnpg-io-v1-cluster"} {"level":"info","ts":"2026-07-17T05:25:12.662370491Z","logger":"controller-runtime.builder","msg":"Registering a mutating webhook","GVK":"postgresql.cnpg.io/v1, Kind=Backup","path":"/mutate-postgresql-cnpg-io-v1-backup"} {"level":"info","ts":"2026-07-17T05:25:12.662432203Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/mutate-postgresql-cnpg-io-v1-backup"} {"level":"info","ts":"2026-07-17T05:25:12.662464984Z","logger":"controller-runtime.builder","msg":"Registering a validating webhook","GVK":"postgresql.cnpg.io/v1, Kind=Backup","path":"/validate-postgresql-cnpg-io-v1-backup"} {"level":"info","ts":"2026-07-17T05:25:12.662518185Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate-postgresql-cnpg-io-v1-backup"} {"level":"info","ts":"2026-07-17T05:25:12.662574677Z","logger":"controller-runtime.builder","msg":"Registering a mutating webhook","GVK":"postgresql.cnpg.io/v1, Kind=ScheduledBackup","path":"/mutate-postgresql-cnpg-io-v1-scheduledbackup"} {"level":"info","ts":"2026-07-17T05:25:12.662623408Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/mutate-postgresql-cnpg-io-v1-scheduledbackup"} {"level":"info","ts":"2026-07-17T05:25:12.662650798Z","logger":"controller-runtime.builder","msg":"Registering a validating webhook","GVK":"postgresql.cnpg.io/v1, Kind=ScheduledBackup","path":"/validate-postgresql-cnpg-io-v1-scheduledbackup"} {"level":"info","ts":"2026-07-17T05:25:12.66269831Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate-postgresql-cnpg-io-v1-scheduledbackup"} {"level":"info","ts":"2026-07-17T05:25:12.662746871Z","logger":"controller-runtime.builder","msg":"Registering a validating webhook","GVK":"postgresql.cnpg.io/v1, Kind=Pooler","path":"/validate-postgresql-cnpg-io-v1-pooler"} {"level":"info","ts":"2026-07-17T05:25:12.662795392Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate-postgresql-cnpg-io-v1-pooler"} {"level":"info","ts":"2026-07-17T05:25:12.662855874Z","logger":"controller-runtime.builder","msg":"Registering a mutating webhook","GVK":"postgresql.cnpg.io/v1, Kind=Database","path":"/mutate-postgresql-cnpg-io-v1-database"} {"level":"info","ts":"2026-07-17T05:25:12.662907065Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/mutate-postgresql-cnpg-io-v1-database"} {"level":"info","ts":"2026-07-17T05:25:12.662937746Z","logger":"controller-runtime.builder","msg":"Registering a validating webhook","GVK":"postgresql.cnpg.io/v1, Kind=Database","path":"/validate-postgresql-cnpg-io-v1-database"} {"level":"info","ts":"2026-07-17T05:25:12.662994677Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate-postgresql-cnpg-io-v1-database"} {"level":"info","ts":"2026-07-17T05:25:12.663049689Z","logger":"setup","msg":"starting manager"} {"level":"info","ts":"2026-07-17T05:25:12.66348385Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"} {"level":"info","ts":"2026-07-17T05:25:12.663609963Z","logger":"controller-runtime.webhook","msg":"Starting webhook server"} {"level":"info","ts":"2026-07-17T05:25:12.664147068Z","logger":"controller-runtime.certwatcher","msg":"Updated current TLS certificate","cert":"/run/secrets/cnpg.io/webhook/tls.crt","key":"/run/secrets/cnpg.io/webhook/tls.key"} {"level":"info","ts":"2026-07-17T05:25:12.664309092Z","logger":"controller-runtime.certwatcher","msg":"Starting certificate poll+watcher","cert":"/run/secrets/cnpg.io/webhook/tls.crt","key":"/run/secrets/cnpg.io/webhook/tls.key","interval":10} {"level":"info","ts":"2026-07-17T05:25:12.664900328Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8080","secure":false} {"level":"info","ts":"2026-07-17T05:25:12.665164064Z","logger":"controller-runtime.webhook","msg":"Serving webhook server","host":"","port":9443} {"level":"info","ts":"2026-07-17T05:25:12.770442455Z","msg":"Attempting to acquire leader lease...","lock":"cnpg-system/db9c8771.cnpg.io"} {"level":"info","ts":"2026-07-17T05:25:12.777446788Z","msg":"Successfully acquired lease","lock":"cnpg-system/db9c8771.cnpg.io"} {"level":"info","ts":"2026-07-17T05:25:12.778059223Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.EndpointSlice"} {"level":"info","ts":"2026-07-17T05:25:12.778361841Z","msg":"Starting EventSource","controller":"plugin","controllerGroup":"","controllerKind":"Service","source":"kind source: *v1.Secret"} {"level":"info","ts":"2026-07-17T05:25:12.778475334Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Cluster"} {"level":"info","ts":"2026-07-17T05:25:12.778532346Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Pod"} {"level":"info","ts":"2026-07-17T05:25:12.778585998Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Job"} {"level":"info","ts":"2026-07-17T05:25:12.778620569Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Service"} {"level":"info","ts":"2026-07-17T05:25:12.778688601Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.PersistentVolumeClaim"} {"level":"info","ts":"2026-07-17T05:25:12.778734242Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.PodDisruptionBudget"} {"level":"info","ts":"2026-07-17T05:25:12.778826644Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.ConfigMap"} {"level":"info","ts":"2026-07-17T05:25:12.778920017Z","msg":"Starting EventSource","controller":"plugin","controllerGroup":"","controllerKind":"Service","source":"kind source: *v1.Service"} {"level":"info","ts":"2026-07-17T05:25:12.77903908Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Secret"} {"level":"info","ts":"2026-07-17T05:25:12.779192504Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Pooler"} {"level":"info","ts":"2026-07-17T05:25:12.77941723Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Node"} {"level":"info","ts":"2026-07-17T05:25:12.779506042Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.ClusterImageCatalog"} {"level":"info","ts":"2026-07-17T05:25:12.779792019Z","msg":"Starting EventSource","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup","source":"kind source: *v1.Cluster"} {"level":"info","ts":"2026-07-17T05:25:12.779940253Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.Secret"} {"level":"info","ts":"2026-07-17T05:25:12.780074987Z","msg":"Starting EventSource","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup","source":"kind source: *v1.Backup"} {"level":"info","ts":"2026-07-17T05:25:12.780147788Z","msg":"Starting EventSource","controller":"scheduled-backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"ScheduledBackup","source":"kind source: *v1.ScheduledBackup"} {"level":"info","ts":"2026-07-17T05:25:12.780177279Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.Pooler"} {"level":"info","ts":"2026-07-17T05:25:12.78020057Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.Deployment"} {"level":"info","ts":"2026-07-17T05:25:12.780231051Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.Service"} {"level":"info","ts":"2026-07-17T05:25:12.780248321Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.ServiceAccount"} {"level":"info","ts":"2026-07-17T05:25:12.780279212Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.Role"} {"level":"info","ts":"2026-07-17T05:25:12.780297312Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.RoleBinding"} {"level":"info","ts":"2026-07-17T05:25:12.779492461Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.ImageCatalog"} {"level":"info","ts":"2026-07-17T05:25:13.016608968Z","msg":"Starting Controller","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup"} {"level":"info","ts":"2026-07-17T05:25:13.016726262Z","msg":"Starting workers","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup","worker count":1} {"level":"info","ts":"2026-07-17T05:25:13.016911187Z","msg":"Starting Controller","controller":"scheduled-backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"ScheduledBackup"} {"level":"info","ts":"2026-07-17T05:25:13.016984129Z","msg":"Starting workers","controller":"scheduled-backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"ScheduledBackup","worker count":10} {"level":"info","ts":"2026-07-17T05:25:13.080288063Z","msg":"Starting Controller","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster"} {"level":"info","ts":"2026-07-17T05:25:13.080330315Z","msg":"Starting workers","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","worker count":10} {"level":"info","ts":"2026-07-17T05:25:13.080327704Z","msg":"Starting Controller","controller":"plugin","controllerGroup":"","controllerKind":"Service"} {"level":"info","ts":"2026-07-17T05:25:13.080668473Z","msg":"Starting workers","controller":"plugin","controllerGroup":"","controllerKind":"Service","worker count":10} {"level":"info","ts":"2026-07-17T05:25:13.08244365Z","msg":"Registered plugin","controller":"plugin","controllerGroup":"","controllerKind":"Service","Service":{"name":"barman-cloud","namespace":"cnpg-system"},"namespace":"cnpg-system","name":"barman-cloud","reconcileID":"0b8d5267-e6b2-48ff-8360-4a3e2ced95d6","pluginName":"barman-cloud.cloudnative-pg.io","service":{"name":"barman-cloud","namespace":"cnpg-system"}} {"level":"info","ts":"2026-07-17T05:25:13.082957294Z","msg":"Starting Controller","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler"} {"level":"info","ts":"2026-07-17T05:25:13.082996295Z","msg":"Starting workers","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","worker count":10} {"level":"info","ts":"2026-07-17T05:30:18.524001181Z","logger":"cluster-resource","msg":"Defaulting for Cluster","version":"v1","name":"keycloak-db","namespace":"auth-system"} {"level":"info","ts":"2026-07-17T05:30:18.561334813Z","msg":"no orphan PVCs found, skipping the restored cluster reconciliation","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"4c429c18-be87-4607-b99a-48d51abc522a"} {"level":"info","ts":"2026-07-17T05:30:18.584007588Z","msg":"creating service","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"4c429c18-be87-4607-b99a-48d51abc522a","serviceName":"keycloak-db-r","updateStrategy":"patch"} {"level":"info","ts":"2026-07-17T05:30:18.597561779Z","msg":"creating service","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"4c429c18-be87-4607-b99a-48d51abc522a","serviceName":"keycloak-db-ro","updateStrategy":"patch"} {"level":"info","ts":"2026-07-17T05:30:18.609526261Z","msg":"creating service","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"4c429c18-be87-4607-b99a-48d51abc522a","serviceName":"keycloak-db-rw","updateStrategy":"patch"} {"level":"info","ts":"2026-07-17T05:30:18.871723736Z","msg":"Created new Job","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"4c429c18-be87-4607-b99a-48d51abc522a","job":"keycloak-db-1-initdb","primary":true} {"level":"info","ts":"2026-07-17T05:30:35.246504129Z","msg":"The job finished, setting PVC as ready","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"4a10a386-1adb-4602-a49f-f5eab48cd585","pvcName":"keycloak-db-1","role":"initdb","jobName":"keycloak-db-1-initdb"} {"level":"info","ts":"2026-07-17T05:30:35.276232323Z","msg":"Creating new Pod to reattach a PVC","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"4a10a386-1adb-4602-a49f-f5eab48cd585","pod":"keycloak-db-1","pvc":"keycloak-db-1"} {"level":"info","ts":"2026-07-17T05:30:38.010119356Z","msg":"Updating pvc metadata","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"da317458-d954-4c3c-8d37-7b6b405633b8","pvc":"keycloak-db-1","reconciler":"instance-role"} {"level":"info","ts":"2026-07-17T05:30:38.423489271Z","msg":"Setting primary label","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"da1c92d4-ad05-463a-9a1c-e6a8c6c1b8f3","pod":"keycloak-db-1"} {"level":"info","ts":"2026-07-17T05:30:38.438857508Z","msg":"Waiting for the Kubelet to refresh the readiness probe","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"da1c92d4-ad05-463a-9a1c-e6a8c6c1b8f3","instanceName":"keycloak-db-1","hasHTTPStatus":true,"isPodReady":false} {"level":"info","ts":"2026-07-17T05:30:38.524661194Z","msg":"Waiting for the Kubelet to refresh the readiness probe","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"32232575-14d1-418d-ae8d-900bed1430d6","instanceName":"keycloak-db-1","hasHTTPStatus":true,"isPodReady":false} {"level":"info","ts":"2026-07-17T05:30:38.611010735Z","msg":"Waiting for the Kubelet to refresh the readiness probe","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"ff259459-24f1-4835-b2c2-bc667551cc77","instanceName":"keycloak-db-1","hasHTTPStatus":true,"isPodReady":false} {"level":"info","ts":"2026-07-17T05:30:45.77911003Z","msg":"Waiting for the Kubelet to refresh the readiness probe","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"ab59efd2-5eac-484e-898e-2fcb7b040fe8","instanceName":"keycloak-db-1","hasHTTPStatus":true,"isPodReady":false} {"level":"info","ts":"2026-07-17T05:30:46.416772167Z","msg":"Cluster has become healthy","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","Cluster":{"name":"keycloak-db","namespace":"auth-system"},"namespace":"auth-system","name":"keycloak-db","reconcileID":"4939ef45-b007-4f60-9a31-f22973e7f570"} {"level":"info","ts":"2026-07-17T05:30:47.500626219Z","logger":"database-resource","msg":"Defaulting for database","version":"v1","name":"keycloak","namespace":"auth-system"} {"level":"info","ts":"2026-07-17T05:30:47.504151348Z","logger":"database-resource","msg":"Validation for Database upon creation","version":"v1","name":"keycloak","namespace":"auth-system"} {"level":"info","ts":"2026-07-17T05:30:47.514469382Z","logger":"database-resource","msg":"Defaulting for database","version":"v1","name":"keycloak","namespace":"auth-system"} {"level":"info","ts":"2026-07-17T05:30:47.515905678Z","logger":"database-resource","msg":"Validation for Database upon update","version":"v1","name":"keycloak","namespace":"auth-system"}