|
| 1 | +apiVersion: gitops.kubedb.com/v1alpha1 |
| 2 | +kind: Postgres |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + kubectl.kubernetes.io/last-applied-configuration: | |
| 6 | + {"apiVersion":"gitops.kubedb.com/v1alpha1","kind":"Postgres","metadata":{"annotations":{},"name":"ha-postgres","namespace":"demo"},"spec":{"deletionPolicy":"WipeOut","podTemplate":{"spec":{"containers":[{"name":"postgres","resources":{"limits":{"memory":"1Gi"},"requests":{"cpu":"500m","memory":"1Gi"}}}]}},"replicas":3,"storage":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"1Gi"}}},"storageType":"Durable","version":"16.6"}} |
| 7 | + creationTimestamp: "2025-11-04T07:45:45Z" |
| 8 | + generation: 5 |
| 9 | + managedFields: |
| 10 | + - apiVersion: gitops.kubedb.com/v1alpha1 |
| 11 | + fieldsType: FieldsV1 |
| 12 | + fieldsV1: |
| 13 | + f:metadata: |
| 14 | + f:annotations: |
| 15 | + .: {} |
| 16 | + f:kubectl.kubernetes.io/last-applied-configuration: {} |
| 17 | + f:spec: |
| 18 | + .: {} |
| 19 | + f:allowedSchemas: |
| 20 | + .: {} |
| 21 | + f:namespaces: |
| 22 | + .: {} |
| 23 | + f:from: {} |
| 24 | + f:deletionPolicy: {} |
| 25 | + f:healthChecker: |
| 26 | + .: {} |
| 27 | + f:failureThreshold: {} |
| 28 | + f:periodSeconds: {} |
| 29 | + f:timeoutSeconds: {} |
| 30 | + f:podTemplate: |
| 31 | + .: {} |
| 32 | + f:spec: |
| 33 | + .: {} |
| 34 | + f:podPlacementPolicy: {} |
| 35 | + f:replicas: {} |
| 36 | + f:storage: |
| 37 | + .: {} |
| 38 | + f:accessModes: {} |
| 39 | + f:resources: |
| 40 | + .: {} |
| 41 | + f:requests: {} |
| 42 | + f:storageType: {} |
| 43 | + manager: kubectl-client-side-apply |
| 44 | + operation: Update |
| 45 | + time: "2025-11-04T07:45:45Z" |
| 46 | + - apiVersion: gitops.kubedb.com/v1alpha1 |
| 47 | + fieldsType: FieldsV1 |
| 48 | + fieldsV1: |
| 49 | + f:spec: |
| 50 | + f:podTemplate: |
| 51 | + f:spec: |
| 52 | + f:containers: {} |
| 53 | + f:storage: |
| 54 | + f:resources: |
| 55 | + f:requests: |
| 56 | + f:storage: {} |
| 57 | + f:version: {} |
| 58 | + manager: kubectl-edit |
| 59 | + operation: Update |
| 60 | + time: "2025-11-05T05:18:19Z" |
| 61 | + - apiVersion: gitops.kubedb.com/v1alpha1 |
| 62 | + fieldsType: FieldsV1 |
| 63 | + fieldsV1: |
| 64 | + f:status: |
| 65 | + .: {} |
| 66 | + f:conditions: {} |
| 67 | + f:gitops: |
| 68 | + .: {} |
| 69 | + f:gitOpsInfo: {} |
| 70 | + f:observedGeneration: {} |
| 71 | + f:phase: {} |
| 72 | + manager: kubedb-gitops |
| 73 | + operation: Update |
| 74 | + subresource: status |
| 75 | + time: "2025-11-05T05:18:27Z" |
| 76 | + name: ha-postgres |
| 77 | + namespace: demo |
| 78 | + resourceVersion: "49637" |
| 79 | + uid: b21d5379-88e6-49f7-a6ce-d85333ddcdc8 |
| 80 | +spec: |
| 81 | + allowedSchemas: |
| 82 | + namespaces: |
| 83 | + from: Same |
| 84 | + deletionPolicy: WipeOut |
| 85 | + healthChecker: |
| 86 | + failureThreshold: 1 |
| 87 | + periodSeconds: 10 |
| 88 | + timeoutSeconds: 10 |
| 89 | + podTemplate: |
| 90 | + spec: |
| 91 | + containers: |
| 92 | + - name: postgres |
| 93 | + resources: |
| 94 | + limits: |
| 95 | + memory: 2Gi |
| 96 | + requests: |
| 97 | + cpu: 500m |
| 98 | + memory: 1Gi |
| 99 | + podPlacementPolicy: |
| 100 | + name: default |
| 101 | + replicas: 3 |
| 102 | + storage: |
| 103 | + accessModes: |
| 104 | + - ReadWriteOnce |
| 105 | + resources: |
| 106 | + requests: |
| 107 | + storage: 1Gi |
| 108 | + storageType: Durable |
| 109 | + version: "16.9" |
| 110 | +status: |
| 111 | + conditions: |
| 112 | + - lastTransitionTime: "2025-11-04T07:47:05Z" |
| 113 | + message: 'The KubeDB operator has started the provisioning of Postgres: demo/ha-postgres' |
| 114 | + reason: DatabaseProvisioningStartedSuccessfully |
| 115 | + status: "True" |
| 116 | + type: ProvisioningStarted |
| 117 | + - lastTransitionTime: "2025-11-05T05:12:21Z" |
| 118 | + message: All desired replicas are ready. |
| 119 | + reason: AllReplicasReady |
| 120 | + status: "True" |
| 121 | + type: ReplicaReady |
| 122 | + - lastTransitionTime: "2025-11-05T05:12:33Z" |
| 123 | + message: 'The PostgreSQL: demo/ha-postgres is accepting connection ' |
| 124 | + observedGeneration: 4 |
| 125 | + reason: AcceptingConnection |
| 126 | + status: "True" |
| 127 | + type: AcceptingConnection |
| 128 | + - lastTransitionTime: "2025-11-05T05:12:33Z" |
| 129 | + message: DB is ready because of server getting Online and Running state |
| 130 | + observedGeneration: 4 |
| 131 | + reason: AllReplicasReady |
| 132 | + status: "True" |
| 133 | + type: Ready |
| 134 | + - lastTransitionTime: "2025-11-04T07:50:27Z" |
| 135 | + message: 'The PostgreSQL: demo/ha-postgres is successfully provisioned.' |
| 136 | + observedGeneration: 2 |
| 137 | + reason: DatabaseSuccessfullyProvisioned |
| 138 | + status: "True" |
| 139 | + type: Provisioned |
| 140 | + gitops: |
| 141 | + gitOpsInfo: |
| 142 | + - changeRequestStatus: Current |
| 143 | + operations: |
| 144 | + - name: ha-postgres-versionupdate-hjs3sr |
| 145 | + status: Successful |
| 146 | + - changeRequestStatus: Failed |
| 147 | + operations: |
| 148 | + - name: ha-postgres-volumeexpansion-6azd9e |
| 149 | + status: Failed |
| 150 | + - changeRequestStatus: Failed |
| 151 | + operations: |
| 152 | + - name: ha-postgres-volumeexpansion-38kpkc |
| 153 | + status: Failed |
| 154 | + - changeRequestStatus: Failed |
| 155 | + operations: |
| 156 | + - name: ha-postgres-volumeexpansion-5ns37x |
| 157 | + status: Failed |
| 158 | + - changeRequestStatus: Failed |
| 159 | + operations: |
| 160 | + - name: ha-postgres-volumeexpansion-8tvcco |
| 161 | + status: Failed |
| 162 | + observedGeneration: 3 |
| 163 | + phase: Ready |
0 commit comments