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

     1    - groupVersionKind:
     2        group: cluster.x-k8s.io
     3        kind: MachineSet
     4        version: v1beta1
     5      labelsFromPath:
     6        cluster_name:
     7        - spec
     8        - clusterName
     9        name:
    10        - metadata
    11        - name
    12        namespace:
    13        - metadata
    14        - namespace
    15        uid:
    16        - metadata
    17        - uid
    18      metricNamePrefix: capi_machineset
    19      metrics:
    20      - name: info
    21        help: Information about a machineset.
    22        each:
    23          info:
    24            labelsFromPath:
    25              version:
    26              - spec
    27              - template
    28              - spec
    29              - version
    30              bootstrap_reference_kind:
    31              - spec
    32              - template
    33              - spec
    34              - bootstrap
    35              - configRef
    36              - kind
    37              bootstrap_reference_name:
    38              - spec
    39              - template
    40              - spec
    41              - bootstrap
    42              - configRef
    43              - name
    44              infrastructure_reference_kind:
    45              - spec
    46              - template
    47              - spec
    48              - infrastructureRef
    49              - kind
    50              infrastructure_reference_name:
    51              - spec
    52              - template
    53              - spec
    54              - infrastructureRef
    55              - name
    56          type: Info
    57      - name: spec_replicas
    58        help: The number of desired machines for a machineset.
    59        each:
    60          gauge:
    61            path:
    62            - spec
    63            - replicas
    64            nilIsZero: true
    65          type: Gauge
    66      - name: status_replicas_available
    67        help: The number of available replicas per machineset.
    68        each:
    69          gauge:
    70            path:
    71            - status
    72            - availableReplicas
    73            nilIsZero: true
    74          type: Gauge
    75      - name: status_replicas_fully_labeled
    76        help: The number of fully labeled replicas per machineset.
    77        each:
    78          gauge:
    79            path:
    80            - status
    81            - fullyLabeledReplicas
    82          type: Gauge
    83      - name: status_replicas_ready
    84        help: The number of ready replicas per machineset.
    85        each:
    86          gauge:
    87            path:
    88            - status
    89            - readyReplicas
    90            nilIsZero: true
    91          type: Gauge
    92      - name: status_replicas
    93        help: The number of replicas per machineset.
    94        each:
    95          gauge:
    96            path:
    97            - status
    98            - replicas
    99            nilIsZero: true
   100          type: Gauge