K8sSummary: NodeSummary
  • 06 Oct 2024
  • 7 Minutes to read
  • Contributors
  • Dark
    Light

K8sSummary: NodeSummary

  • Dark
    Light

Article summary

This model describes summary information about a node

Example:

{
    "metadata": {
        "id": "0c079709-9eaa-433f-b090-cdb9ed02363f",
        "name": "aks-agentpool-41002497-vmss000000",
        "clusterId": "f99e055f-b35d-208b-63b1-f4222b80151a",
        "clusterName": "realtheory-cluster-01",
        "owners": null,
        "timestamp": "2024-07-17T20:15:15.333644Z"
    },
    "status": "Ready",
    "unschedulable": false,
    "os": "linux",
    "osImage": "Ubuntu 22.04.4 LTS",
    "kernelVersion": "5.15.0-1066-azure",
    "architecture": "amd64",
    "containerRuntimeVersion": "containerd://1.7.15-1",
    "kubeletVersion": "v1.29.4",
    "kubeProxyVersion": "v1.29.4",
    "roles": "<none>",
    "internalIP": "10.224.0.5",
    "externalIP": "<none>",
    "properties": {
        "cloud.provider": "Azure"
    },
    "age": "7d20h",
    "manifest": {
        "podCount": 0,
        "podReadyCount": 0,
        "containerCount": 0,
        "containerReadyCount": 0
    },
    "metrics": {
        "cpuUsage": 178,
        "cpuRequest": 1900,
        "cpuLimit": 2000,
        "cpuPercentage": 9.368421,
        "memoryUsage": 1325336,
        "memoryRequest": 5160200,
        "memoryLimit": 7097608,
        "memoryPercentage": 25.683811,
        "rxUsage": 0,
        "rxErrors": 0,
        "txUsage": 0,
        "txErrors": 0
    },
    "cost": {
        "totalCost": {
            "lastHour": 0.114,
            "lastHourCoverage": "1h/1h",
            "lastDay": 2.70636,
            "lastDayCoverage": "24h/24h",
            "lastWeek": 18.91374,
            "lastWeekCoverage": "7d/7d",
            "lastMonth": 18.91374,
            "lastMonthCoverage": "7d/31d",
            "lastYear": 18.91374,
            "lastYearCoverage": "7d/365d"
        },
        "idleCost": {
            "lastHour": 0.08648402,
            "lastHourCoverage": "1h/1h",
            "lastDay": 2.07372771,
            "lastDayCoverage": "24h/24h",
            "lastWeek": 14.5073818,
            "lastWeekCoverage": "7d/7d",
            "lastMonth": 14.5073818,
            "lastMonthCoverage": "7d/31d",
            "lastYear": 14.5073818,
            "lastYearCoverage": "7d/365d"
        },
        "cpuUtilization": 9.58,
        "memoryUtilization": 25.55,
        "utilization": 17.56,
        "effectiveUtilization": 29.27,
        "efficiency": 11.5
    },
    "resources": {
        "allocatables": {
            "cpu": "1900m",
            "ephemeral-storage": "119703055367",
            "hugepages-1Gi": "0",
            "hugepages-2Mi": "0",
            "memory": "5160200Ki",
            "pods": "110"
        },
        "capacities": {
            "cpu": "2",
            "ephemeral-storage": "129886128Ki",
            "hugepages-1Gi": "0",
            "hugepages-2Mi": "0",
            "memory": "7097608Ki",
            "pods": "110"
        }
    },
    "synopsis": {
        "healthScore": 100,
        "performanceScore": 100,
        "governanceScore": 100,
        "costScore": 100,
        "aggregateScores": {
            "health": 100,
            "performance": 30,
            "governance": 70,
            "cost": 50
        },
        "alertCount": 2,
        "aggregateAlerts": {
            "critical": 2,
            "high": 9,
            "normal": 38,
            "total": 49
        },
        "recommendationCount": 0,
        "aggregateRecommendations": {
            "high": 0,
            "medium": 0,
            "low": 34,
            "total": 34
        }
    }
}

where:

where:

  • metadata
    • id: Represents the ID of the node.
    • name: Represents the name of the node.
    • clusterId: Represents the cluster linked to the node.
    • clusterName: Represents the name of the cluster linked to the node.
    • owners: Represents a list of owner records linked to the node.
    • timestamp: Represents the timestamp of the record.
  • status: Represents the current status of the node. It provides information about the health and connectivity of the node.
  • unschedulable: Indicates whether the node is marked as unschedulable. If true, new pods will not be scheduled on the node.
  • os: Represents the operating system running on the node.
  • osImage: Represents the operating system image linked to the node.
  • kernelVersion: Represents the version of the kernel running on the node.
  • architecture: Indicates the CPU architecture of the node, such as amd64, arm64, etc.
  • containerRuntimeVersion: Represents the version of the container runtime hosted on the node.
  • kubeletVersion: Represents the version of the kubelet running on the node.
  • kubeProxyVersion: Represents the version of kube proxy running on the node.
  • roles: Specifies the roles assigned to the node, such as master, worker, or any custom roles defined in the cluster.
  • internalIP: Represents the internal IP address of the node, which is used for communication within the cluster.
  • externalIP: Represents the external IP address of the node, which is accessible from outside the cluster.
  • age: Represents the length of time since the node was provisioned and added to the cluster.
  • properties
    • cloud.provider: Represents the name of the cloud provider where the cluster is hosted.
  • manifest
    • podCount: Indicates the number of Kubernetes pods deployed within the node.
    • podReadyCount: Indicates the number of Kubernetes pods currently ready in the node
    • containerCount: Indicates the number of containers deployed within the node.
    • containerReadyCount: Indicates the number of containers currently ready in the node.
  • metrics
    • cpuUsage: Indicates the current CPU usage of the node in millicores (m).
    • cpuRequest: Represents the amount of allocatable CPU within the node in millicores (m).
    • cpuLimit: Represents the total CPU capacity of the node in millicores (m).
    • cpuPercentage: Indicates the current CPU usage percentage of the node.
    • memoryUsage: Indicates the current memory usage of the node in kibibytes (KiB).
    • memoryRequest: Represents the amount of allocatable memory within the node in kibibytes (KiB).
    • memoryLimit: Represents the total memory capacity of the node in kibibytes (KiB).
    • memoryPercentage: Indicates the current memory usage percentage of the node.
    • rxUsage: Indicates the cumulative count of data received by the node in kibibytes (KiB).
    • rxErrors: Indicates the cumulative count of received errors encountered by the node in kibibytes (KiB).
    • txUsage: Indicates the cumulative count of data transmitted by the node in kibibytes (KiB).
    • txErrors: Indicates the cumulative count of transmit errors encountered by the node in kibibytes (KiB).
  • cost
    • totalCost
      • lastHour: Indicates the total cost of the node over the last hour in USD.
      • lastHourCoverage: Indicates the cost coverage over the last hour.
      • lastDay: Indicates the total cost of the node over the last 24 hours in USD.
      • lastDayCoverage: Indicates the cost coverage over the last 24 hours.
      • lastWeek: Indicates the total cost of the node over the last 7 days in USD.
      • lastWeekCoverage: Indicates the cost coverage over the last 7 days.
      • lastMonth: Indicates the total cost of the node over the last 31 days in USD.
      • lastMonthCoverage: Indicates the cost coverage over the last 31 days.
      • lastYear: Indicates the total cost of the node over the last 365 days in USD.
      • lastYearCoverge: Indicates the cost coverage over the last 365 days.
    • idleCost
      • lastHour: Indicates the non-utilized cost of the node over the last hour in USD.
      • lastHourCoverage: Indicates the non-utilized cost coverage over the last hour.
      • lastDay: Indicates the non-utilized cost of the node over the last 24 hours in USD.
      • lastDayCoverage: Indicates the non-utilized cost coverage over the last 24 hours.
      • lastWeek: Indicates the non-utilized cost of the node over the last 7 days in USD.
      • lastWeekCoverage: Indicates the non-utilized cost coverage over the last 7 days.
      • lastMonth: Indicates the non-utilized cost of the node over the last 31 days in USD.
      • lastMonthCoverage: Indicates the non-utilized cost coverage over the last 31 days.
      • lastYear: Indicates the non-utilized cost of the node over the last 365 days in USD.
      • lastYearCoverge: Indicates the non-utilized cost coverage over the last 365 days.
    • cpuUtilization: Indicates the node's current CPU utilization.
    • memoryUtilization: Indicates the node's current memory utilization.
    • utilization: Indicates the node's overall utilization.
    • effectiveUtilization: Indicates the node's effective utilization, which is scaled version of overall utilization.
    • efficency: Indicates the node's overall resources efficiency, which is cost weighted version of utilization that reflects that CPU, GPU and memory all cost different amounts.
  • synopsis
    • healthScore: Denotes the node's individual health score, rated on a scale from 0 to 100, with 0 being the worst and 100 being the best.
    • performanceScore: Denotes the node's individual performance score, rated on a scale from 0 to 100, with 0 being the worst and 100 being the best.
    • costScore: Denotes the node's individual cost score, rated on a scale from 0 to 100, with 0 being the worst and 100 being the best.
    • governanceScore: Denotes the node's individual governance score, rated on a scale from 0 to 100, with 0 being the worst and 100 being the best.
    • aggregatedScores
      • healthScore: Denotes the node's overall health score, an aggregate of the scores of all objects within the node, rated on a scale from 0 to 100, where 0 is the worst and 100 is the best.
      • performanceScore: Denotes the node's overall performance score, an aggregate of the scores of all objects within the node, rated on a scale from 0 to 100, where 0 is the worst and 100 is the best.
      • costScore: Denotes the node's overall cost score, an aggregate of the scores of all objects within the node, rated on a scale from 0 to 100, where 0 is the worst and 100 is the best.
      • governanceScore: Denotes the node's overall governance score, an aggregate of the scores of all objects within the node, rated on a scale from 0 to 100, where 0 is the worst and 100 is the best.
    • alertCount: Shows the total number of alerts linked to the node.
    • aggregatedAlerts
      • critical: Shows the total number of critical alerts associated with the node and all objects within it.
      • high: Shows the total number of high alerts associated with the node and all objects within it.
      • normal: Shows the total number of normal alerts associated with the node and all objects within it.
      • total: Shows the overall number of alerts, including critical, high, and normal, associated with the node and all objects within it.
    • recommendationCount: Shows the total number of recommendations linked to the node.
    • aggregatedRecommendations
      • high: Shows the total number of high recommendations associated with the node and all objects within it.
      • medium: Shows the total number of medium recommendations associated with the node and all objects within it.
      • low: Shows the total number of low recommendations associated with the node and all objects within it.
      • total: Shows the overall number of recommendations, including nigh, medium, and low, associated with the node and all objects within it.
  • resources
    • allocatables
      • cpu: Represents the amount of allocatable CPU within the node in millicores (m).
      • memory: Represents the amount of allocatable memory within the node in kibibytes (KiB).
      • ephemeral-storage: Represents the amount of allocatable ephemeral storage within the node in kibibytes (KiB).
      • pods: Represents the number of allocatable pods within the node.
    • capacity
      • cpu: Represents the total CPU capacity of the node in millicores (m)
      • memory: Represents the total memory capacity of the node in kibibytes (KiB).
      • ephemeral-storage: Represents the total capacity of ephemeral storage of the nodes in kibibytes (KiB)
      • pods: Represents the maximum numbers of pods that can run within the node.

Was this article helpful?