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

     1    - groupVersionKind:
     2        group: cluster.x-k8s.io
     3        kind: Machine
     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_machine
    19      metrics:
    20      - name: info
    21        help: Information about a machine.
    22        each:
    23          info:
    24            labelsFromPath:
    25              container_runtime_version:
    26              - status
    27              - nodeInfo
    28              - containerRuntimeVersion
    29              failure_domain:
    30              - spec
    31              - failureDomain
    32              kernel_version:
    33              - status
    34              - nodeInfo
    35              - kernelVersion
    36              kubelet_version:
    37              - status
    38              - nodeInfo
    39              - kubeletVersion
    40              kube_proxy_version:
    41              - status
    42              - nodeInfo
    43              - kubeProxyVersion
    44              os_image:
    45              - status
    46              - nodeInfo
    47              - osImage
    48              provider_id:
    49              - spec
    50              - providerID
    51              version:
    52              - spec
    53              - version
    54              bootstrap_reference_kind:
    55              - spec
    56              - bootstrap
    57              - configRef
    58              - kind
    59              bootstrap_reference_name:
    60              - spec
    61              - bootstrap
    62              - configRef
    63              - name
    64              infrastructure_reference_kind:
    65              - spec
    66              - infrastructureRef
    67              - kind
    68              infrastructure_reference_name:
    69              - spec
    70              - infrastructureRef
    71              - name
    72              control_plane_name:
    73              - metadata
    74              - labels
    75              - cluster.x-k8s.io/control-plane-name
    76          type: Info
    77      - name: addresses
    78        help: Address information about a machine.
    79        each:
    80          info:
    81            path:
    82            - status
    83            - addresses
    84            labelsFromPath:
    85              type:
    86              - type
    87              address:
    88              - address
    89          type: Info
    90      - name: status_certificatesexpirydate
    91        help: Information about certificate expiration date of a control plane node.
    92        each:
    93          gauge:
    94            nilIsZero: true
    95            path:
    96              - status
    97              - certificatesExpiryDate
    98          type: Gauge
    99      - name: status_noderef
   100        help: Information about the node reference of a machine.
   101        each:
   102          info:
   103            labelsFromPath:
   104              node_name:
   105              - status
   106              - nodeRef
   107              - name
   108              node_uid:
   109              - status
   110              - nodeRef
   111              - uid
   112          type: Info
   113      - name: status_phase
   114        help: The machines current phase.
   115        each:
   116          stateSet:
   117            labelName: phase
   118            list:
   119            - Pending
   120            - Provisioning
   121            - Provisioned
   122            - Running
   123            - Deleting
   124            - Deleted
   125            - Failed
   126            - Unknown
   127            path:
   128            - status
   129            - phase
   130          type: StateSet