# argocd_source_cluster_restart.yaml
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
  annotations:
    kubectl.kubernetes.io/restartedAt: "0001-01-01T00:00:00Z"
  creationTimestamp: "2025-04-25T20:44:24Z"
  generation: 1
  name: cluster-example
  namespace: default
  resourceVersion: "20230"
  uid: 987fe1ba-bba7-4021-9d25-f06ca9a8c0d2
spec:
  imageName: ghcr.io/cloudnative-pg/postgresql:13
  instances: 3
status:
  currentPrimary: cluster-example-1
  currentPrimaryTimestamp: "2025-04-25T20:44:38.190232Z"
  instancesStatus:
    healthy:
    - cluster-example-1
    - cluster-example-2
    - cluster-example-3
  phase: Cluster in healthy state
  targetPrimary: cluster-example-1
  targetPrimaryTimestamp: "2025-04-25T20:44:26.214164Z"