Checking Aggregated Status

Aggregating resource status from child clusters

In Clusternet, you can check the aggregated status of all deployed resources by visiting the status of Subscription. For every feed/resource, you can check the detailed status (field feedStatusDetails) per cluster and the summarized status (field feedStatusSummary) of all clusters in status.aggregatedStatuses.

status:
  aggregatedStatuses:
    - apiVersion: v1
      feedStatusDetails:
        - available: true
          clusterId: 851a623b-a38c-42ec-95b5-dbea9ed27116
          clusterName: clusternet-cluster-bb2xp
          replicaStatus: { }
        - available: true
          clusterId: 58602f69-8664-43f5-bbf2-0b20af76b0bc
          clusterName: clusternet-cluster-skxd4
          replicaStatus: { }
      feedStatusSummary:
        available: true
        replicaStatus: { }
      kind: Namespace
      name: qux
    - apiVersion: v1
      feedStatusDetails:
        - available: true
          clusterId: 851a623b-a38c-42ec-95b5-dbea9ed27116
          clusterName: clusternet-cluster-bb2xp
          replicaStatus: { }
        - available: true
          clusterId: 58602f69-8664-43f5-bbf2-0b20af76b0bc
          clusterName: clusternet-cluster-skxd4
          replicaStatus: { }
      feedStatusSummary:
        available: true
        replicaStatus: { }
      kind: Service
      name: my-nginx-svc
      namespace: qux
    - apiVersion: apps/v1
      feedStatusDetails:
        - available: true
          clusterId: 851a623b-a38c-42ec-95b5-dbea9ed27116
          clusterName: clusternet-cluster-bb2xp
          replicaStatus:
            availableReplicas: 1
            observedGeneration: 9
            readyReplicas: 1
            replicas: 1
            updatedReplicas: 1
        - available: true
          clusterId: 58602f69-8664-43f5-bbf2-0b20af76b0bc
          clusterName: clusternet-cluster-skxd4
          replicaStatus:
            availableReplicas: 2
            observedGeneration: 5
            readyReplicas: 2
            replicas: 2
            updatedReplicas: 2
      feedStatusSummary:
        available: true
        replicaStatus:
          availableReplicas: 3
          observedGeneration: 9
          readyReplicas: 3
          replicas: 3
          updatedReplicas: 3
      kind: Deployment
      name: my-nginx
      namespace: qux
  bindingClusters:
    - clusternet-v7wzq/clusternet-cluster-bb2xp
    - clusternet-wlf5b/clusternet-cluster-skxd4
  desiredReleases: 2
  replicas:
    apps/v1/Deployment/qux/my-nginx:
      - 1
      - 2
    v1/Namespace/qux: [ ]
    v1/Service/qux/my-nginx-svc: [ ]
  specHash: 3893382778

From above example, we can see Deployment qux/my-nginx with total 3 replicas has been deployed to 2 clusters. From feedStatusSummary, we can see total 3 replicas are available and running healthy.