sigs.k8s.io/cluster-api@v1.7.1/config/metrics/templates/cluster.yaml (about)

     1    - groupVersionKind:
     2        group: cluster.x-k8s.io
     3        kind: Cluster
     4        version: v1beta1
     5      labelsFromPath:
     6        name:
     7        - metadata
     8        - name
     9        namespace:
    10        - metadata
    11        - namespace
    12        uid:
    13        - metadata
    14        - uid
    15      metricNamePrefix: capi_cluster
    16      metrics:
    17      - name: info
    18        help: Information about a cluster.
    19        each:
    20          info:
    21            labelsFromPath:
    22              topology_version:
    23              - spec
    24              - topology
    25              - version
    26              topology_class:
    27              - spec
    28              - topology
    29              - class
    30              control_plane_endpoint_host:
    31              - spec
    32              - controlPlaneEndpoint
    33              - host
    34              control_plane_endpoint_port:
    35              - spec
    36              - controlPlaneEndpoint
    37              - port
    38              control_plane_reference_kind:
    39              - spec
    40              - controlPlaneRef
    41              - kind
    42              control_plane_reference_name:
    43              - spec
    44              - controlPlaneRef
    45              - name
    46              infrastructure_reference_kind:
    47              - spec
    48              - infrastructureRef
    49              - kind
    50              infrastructure_reference_name:
    51              - spec
    52              - infrastructureRef
    53              - name
    54          type: Info
    55      - name: spec_paused
    56        help: Whether the cluster is paused and any of its resources will not be processed by the controllers.
    57        each:
    58          gauge:
    59            nilIsZero: true
    60            path:
    61            - spec
    62            - paused
    63          type: Gauge
    64      - name: status_phase
    65        help: The clusters current phase.
    66        each:
    67          stateSet:
    68            labelName: phase
    69            list:
    70            - Pending
    71            - Provisioning
    72            - Provisioned
    73            - Deleting
    74            - Failed
    75            - Unknown
    76            path:
    77            - status
    78            - phase
    79          type: StateSet