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

     1    - groupVersionKind:
     2        group: cluster.x-k8s.io
     3        kind: MachineDeployment
     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_machinedeployment
    19      metrics:
    20      - name: info
    21        help: Information about a machinedeployment.
    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_paused
    58        help: Whether the machinedeployment is paused and any of its resources will not be processed by the controllers.
    59        each:
    60          gauge:
    61            nilIsZero: true
    62            path:
    63            - spec
    64            - paused
    65          type: Gauge
    66      - name: spec_replicas
    67        help: The number of desired machines for a machinedeployment.
    68        each:
    69          gauge:
    70            path:
    71            - spec
    72            - replicas
    73          type: Gauge
    74      - name: spec_strategy_rollingupdate_max_surge
    75        help: Maximum number of replicas that can be scheduled above the desired number of replicas during a rolling update of a machinedeployment.
    76        each:
    77          gauge:
    78            path:
    79            - spec
    80            - strategy
    81            - rollingUpdate
    82            - maxSurge
    83          type: Gauge
    84      - name: spec_strategy_rollingupdate_max_unavailable
    85        help: Maximum number of unavailable replicas during a rolling update of a machinedeployment.
    86        each:
    87          gauge:
    88            path:
    89            - spec
    90            - strategy
    91            - rollingUpdate
    92            - maxUnavailable
    93          type: Gauge
    94      - name: status_phase
    95        help: The machinedeployments current phase.
    96        each:
    97          stateSet:
    98            labelName: phase
    99            list:
   100            - ScalingUp
   101            - ScalingDown
   102            - Running
   103            - Failed
   104            - Unknown
   105            path:
   106            - status
   107            - phase
   108          type: StateSet
   109      - name: status_replicas
   110        help: The number of replicas per machinedeployment.
   111        each:
   112          gauge:
   113            path:
   114            - status
   115            - replicas
   116            nilIsZero: true
   117          type: Gauge
   118      - name: status_replicas_available
   119        help: The number of available replicas per machinedeployment.
   120        each:
   121          gauge:
   122            path:
   123            - status
   124            - availableReplicas
   125            nilIsZero: true
   126          type: Gauge
   127      - name: status_replicas_ready
   128        help: The number of ready replicas per machinedeployment.
   129        each:
   130          gauge:
   131            path:
   132            - status
   133            - readyReplicas
   134            nilIsZero: true
   135          type: Gauge
   136      - name: status_replicas_unavailable
   137        help: The number of unavailable replicas per machinedeployment.
   138        each:
   139          gauge:
   140            path:
   141            - status
   142            - unavailableReplicas
   143            nilIsZero: true
   144          type: Gauge
   145      - name: status_replicas_updated
   146        help: The number of updated replicas per machinedeployment.
   147        each:
   148          gauge:
   149            path:
   150            - status
   151            - updatedReplicas
   152            nilIsZero: true
   153          type: Gauge