{"level":"info","ts":"2026-07-17T05:34:04.351466711Z","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:34:04.351954604Z","logger":"setup","msg":"Metrics server enabled without TLS"} {"level":"info","ts":"2026-07-17T05:34:04.352045776Z","logger":"setup","msg":"Listening for changes on all namespaces"} {"level":"info","ts":"2026-07-17T05:34:04.432216785Z","logger":"setup","msg":"Loading configuration from ConfigMap","namespace":"cnpg-system","name":"cnpg-controller-manager-config"} {"level":"info","ts":"2026-07-17T05:34:04.450512153Z","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:34:04.45455933Z","logger":"setup","msg":"Kubernetes system metadata","haveSCC":false,"haveVolumeSnapshot":false,"availableArchitectures":[{"GoArch":"amd64"},{"GoArch":"arm64"}]} {"level":"info","ts":"2026-07-17T05:34:05.765171053Z","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:34:05.765378158Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/mutate-postgresql-cnpg-io-v1-cluster"} {"level":"info","ts":"2026-07-17T05:34:05.76544412Z","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:34:05.765557343Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate-postgresql-cnpg-io-v1-cluster"} {"level":"info","ts":"2026-07-17T05:34:05.765714697Z","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:34:05.765842511Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/mutate-postgresql-cnpg-io-v1-backup"} {"level":"info","ts":"2026-07-17T05:34:05.765900612Z","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:34:05.765991795Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate-postgresql-cnpg-io-v1-backup"} {"level":"info","ts":"2026-07-17T05:34:05.766111908Z","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:34:05.766246381Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/mutate-postgresql-cnpg-io-v1-scheduledbackup"} {"level":"info","ts":"2026-07-17T05:34:05.766328283Z","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:34:05.766428955Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate-postgresql-cnpg-io-v1-scheduledbackup"} {"level":"info","ts":"2026-07-17T05:34:05.766583Z","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:34:05.766685133Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate-postgresql-cnpg-io-v1-pooler"} {"level":"info","ts":"2026-07-17T05:34:05.766794855Z","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:34:05.766864447Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/mutate-postgresql-cnpg-io-v1-database"} {"level":"info","ts":"2026-07-17T05:34:05.766904568Z","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:34:05.767024391Z","logger":"controller-runtime.webhook","msg":"Registering webhook","path":"/validate-postgresql-cnpg-io-v1-database"} {"level":"info","ts":"2026-07-17T05:34:05.767170306Z","logger":"setup","msg":"starting manager"} {"level":"info","ts":"2026-07-17T05:34:05.767502644Z","logger":"controller-runtime.metrics","msg":"Starting metrics server"} {"level":"info","ts":"2026-07-17T05:34:05.767948726Z","logger":"controller-runtime.metrics","msg":"Serving metrics server","bindAddress":":8080","secure":false} {"level":"info","ts":"2026-07-17T05:34:05.768069649Z","logger":"controller-runtime.webhook","msg":"Starting webhook server"} {"level":"info","ts":"2026-07-17T05:34:05.768473779Z","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:34:05.768583513Z","logger":"controller-runtime.webhook","msg":"Serving webhook server","host":"","port":9443} {"level":"info","ts":"2026-07-17T05:34:05.768834489Z","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:34:05.970471975Z","msg":"Attempting to acquire leader lease...","lock":"cnpg-system/db9c8771.cnpg.io"} {"level":"info","ts":"2026-07-17T05:34:05.979146281Z","msg":"Successfully acquired lease","lock":"cnpg-system/db9c8771.cnpg.io"} {"level":"info","ts":"2026-07-17T05:34:05.980061066Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.EndpointSlice"} {"level":"info","ts":"2026-07-17T05:34:05.980179099Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Pod"} {"level":"info","ts":"2026-07-17T05:34:05.980567359Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Job"} {"level":"info","ts":"2026-07-17T05:34:05.980602459Z","msg":"Starting EventSource","controller":"plugin","controllerGroup":"","controllerKind":"Service","source":"kind source: *v1.Secret"} {"level":"info","ts":"2026-07-17T05:34:05.980786075Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Service"} {"level":"info","ts":"2026-07-17T05:34:05.980932489Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Cluster"} {"level":"info","ts":"2026-07-17T05:34:05.981050382Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.PersistentVolumeClaim"} {"level":"info","ts":"2026-07-17T05:34:05.981273177Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.PodDisruptionBudget"} {"level":"info","ts":"2026-07-17T05:34:05.981351179Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.ConfigMap"} {"level":"info","ts":"2026-07-17T05:34:05.981432482Z","msg":"Starting EventSource","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup","source":"kind source: *v1.Cluster"} {"level":"info","ts":"2026-07-17T05:34:05.981698549Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.Secret"} {"level":"info","ts":"2026-07-17T05:34:05.98175445Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Pooler"} {"level":"info","ts":"2026-07-17T05:34:05.981812751Z","msg":"Starting EventSource","controller":"plugin","controllerGroup":"","controllerKind":"Service","source":"kind source: *v1.Service"} {"level":"info","ts":"2026-07-17T05:34:05.981992386Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Node"} {"level":"info","ts":"2026-07-17T05:34:05.982078558Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.ImageCatalog"} {"level":"info","ts":"2026-07-17T05:34:05.982310125Z","msg":"Starting EventSource","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup","source":"kind source: *v1.Backup"} {"level":"info","ts":"2026-07-17T05:34:05.982585702Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.ClusterImageCatalog"} {"level":"info","ts":"2026-07-17T05:34:05.982661244Z","msg":"Starting EventSource","controller":"scheduled-backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"ScheduledBackup","source":"kind source: *v1.ScheduledBackup"} {"level":"info","ts":"2026-07-17T05:34:05.982764216Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.Pooler"} {"level":"info","ts":"2026-07-17T05:34:05.982856699Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.Deployment"} {"level":"info","ts":"2026-07-17T05:34:05.983137756Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.Service"} {"level":"info","ts":"2026-07-17T05:34:05.983330651Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.ServiceAccount"} {"level":"info","ts":"2026-07-17T05:34:05.983409143Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.Role"} {"level":"info","ts":"2026-07-17T05:34:05.983478035Z","msg":"Starting EventSource","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","source":"kind source: *v1.RoleBinding"} {"level":"info","ts":"2026-07-17T05:34:05.981711189Z","msg":"Starting EventSource","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","source":"kind source: *v1.Secret"} {"level":"info","ts":"2026-07-17T05:34:06.219192543Z","msg":"Starting Controller","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup"} {"level":"info","ts":"2026-07-17T05:34:06.219256784Z","msg":"Starting workers","controller":"backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"Backup","worker count":1} {"level":"info","ts":"2026-07-17T05:34:06.219258995Z","msg":"Starting Controller","controller":"scheduled-backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"ScheduledBackup"} {"level":"info","ts":"2026-07-17T05:34:06.219397278Z","msg":"Starting workers","controller":"scheduled-backup","controllerGroup":"postgresql.cnpg.io","controllerKind":"ScheduledBackup","worker count":10} {"level":"info","ts":"2026-07-17T05:34:06.283325601Z","msg":"Starting Controller","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler"} {"level":"info","ts":"2026-07-17T05:34:06.283512126Z","msg":"Starting Controller","controller":"plugin","controllerGroup":"","controllerKind":"Service"} {"level":"info","ts":"2026-07-17T05:34:06.283576248Z","msg":"Starting workers","controller":"plugin","controllerGroup":"","controllerKind":"Service","worker count":10} {"level":"info","ts":"2026-07-17T05:34:06.283573717Z","msg":"Starting workers","controller":"pooler","controllerGroup":"postgresql.cnpg.io","controllerKind":"Pooler","worker count":10} {"level":"info","ts":"2026-07-17T05:34:06.284585825Z","msg":"Registered plugin","controller":"plugin","controllerGroup":"","controllerKind":"Service","Service":{"name":"barman-cloud","namespace":"cnpg-system"},"namespace":"cnpg-system","name":"barman-cloud","reconcileID":"11621add-f1d3-4ebe-974c-ae35e502ff1c","pluginName":"barman-cloud.cloudnative-pg.io","service":{"name":"barman-cloud","namespace":"cnpg-system"}} {"level":"info","ts":"2026-07-17T05:34:06.284709618Z","msg":"Starting Controller","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster"} {"level":"info","ts":"2026-07-17T05:34:06.284740808Z","msg":"Starting workers","controller":"cluster","controllerGroup":"postgresql.cnpg.io","controllerKind":"Cluster","worker count":10} {"level":"info","ts":"2026-07-17T05:34:57.112734595Z","logger":"cluster-resource","msg":"Defaulting for Cluster","version":"v1","name":"keycloak-db","namespace":"auth-system"} {"level":"info","ts":"2026-07-17T05:34:57.15914433Z","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":"d6bce98e-2226-4c8c-bbce-ebbe64284d08"} {"level":"info","ts":"2026-07-17T05:34:57.183939468Z","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":"d6bce98e-2226-4c8c-bbce-ebbe64284d08","serviceName":"keycloak-db-r","updateStrategy":"patch"} {"level":"info","ts":"2026-07-17T05:34:57.199058705Z","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":"d6bce98e-2226-4c8c-bbce-ebbe64284d08","serviceName":"keycloak-db-ro","updateStrategy":"patch"} {"level":"info","ts":"2026-07-17T05:34:57.216420969Z","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":"d6bce98e-2226-4c8c-bbce-ebbe64284d08","serviceName":"keycloak-db-rw","updateStrategy":"patch"} {"level":"info","ts":"2026-07-17T05:34:57.483627Z","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":"d6bce98e-2226-4c8c-bbce-ebbe64284d08","job":"keycloak-db-1-initdb","primary":true} {"level":"info","ts":"2026-07-17T05:35:16.772434135Z","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":"983441db-f0a0-4643-ac46-e42a09d6acc4","pvcName":"keycloak-db-1","role":"initdb","jobName":"keycloak-db-1-initdb"} {"level":"info","ts":"2026-07-17T05:35:16.784780498Z","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":"983441db-f0a0-4643-ac46-e42a09d6acc4","pod":"keycloak-db-1","pvc":"keycloak-db-1"} {"level":"info","ts":"2026-07-17T05:35:19.525077118Z","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":"e0d4c981-2590-477b-ac60-431a12ee2113","pvc":"keycloak-db-1","reconciler":"instance-role"} {"level":"info","ts":"2026-07-17T05:35:19.983370487Z","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":"b81aac8b-fb47-4ecf-96dd-e7a2545c9313","pod":"keycloak-db-1"} {"level":"info","ts":"2026-07-17T05:35:20.008527155Z","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":"b81aac8b-fb47-4ecf-96dd-e7a2545c9313","instanceName":"keycloak-db-1","hasHTTPStatus":true,"isPodReady":false} {"level":"info","ts":"2026-07-17T05:35:20.123605477Z","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":"8037ae69-9809-4451-b1c8-05db55f070d0","instanceName":"keycloak-db-1","hasHTTPStatus":true,"isPodReady":false} {"level":"info","ts":"2026-07-17T05:35:20.215843739Z","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":"a58b87a6-ce7b-4790-9b7a-12502392f52a","instanceName":"keycloak-db-1","hasHTTPStatus":true,"isPodReady":false} {"level":"info","ts":"2026-07-17T05:35:27.284378893Z","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":"44fbf3c7-892a-408e-999f-15610a664116","instanceName":"keycloak-db-1","hasHTTPStatus":true,"isPodReady":false} {"level":"info","ts":"2026-07-17T05:35:27.938043834Z","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":"73ce9ff2-f0f9-4bcc-a864-53526cee9cdc"} {"level":"info","ts":"2026-07-17T05:35:29.389402184Z","logger":"database-resource","msg":"Defaulting for database","version":"v1","name":"keycloak","namespace":"auth-system"} {"level":"info","ts":"2026-07-17T05:35:29.393613494Z","logger":"database-resource","msg":"Validation for Database upon creation","version":"v1","name":"keycloak","namespace":"auth-system"} {"level":"info","ts":"2026-07-17T05:35:29.40459219Z","logger":"database-resource","msg":"Defaulting for database","version":"v1","name":"keycloak","namespace":"auth-system"} {"level":"info","ts":"2026-07-17T05:35:29.406887191Z","logger":"database-resource","msg":"Validation for Database upon update","version":"v1","name":"keycloak","namespace":"auth-system"}