- Newest
- Most votes
- Most comments
When experiencing the absence of kubelet_volume_stats_* metrics after upgrading from EKS 1.31 with AL2 to EKS 1.33 with AL2023_ARM_64_STANDARD, there are several important factors to consider.
The change in metric availability is likely related to the architectural differences between Amazon Linux 2 and Amazon Linux 2023. AL2023 introduces a new node initialization process called nodeadm
that uses a YAML configuration schema, which differs significantly from the process used in AL2. This change in initialization could affect how the kubelet interacts with the underlying system and how metrics are exposed.
Additionally, AL2023 features the next generation of unified control group hierarchy (cgroupv2), which could impact how container and volume metrics are collected and exposed. The transition from x86_64 to ARM64 architecture might also contribute to differences in metric collection.
For monitoring PVC disk usage on EKS 1.33 with AL2023, you may need to:
-
Check if you need to update your Prometheus configuration to access the new metrics endpoints. Amazon EKS has enhanced Kubernetes control plane observability, and you might need to update your Prometheus cluster role permissions to get the new metrics.
-
Verify that your CloudWatch agent configuration (if used) has the correct
metric_declaration
section in theconfig map: prometheus-cwagentconfig
to properly capture and format the metrics. -
Consider using Amazon Managed Service for Prometheus or CloudWatch to monitor the metrics, as they may have been updated to work with the new architecture.
It's worth noting that Amazon EKS will no longer publish EKS-optimized Amazon Linux 2 (AL2) AMIs after November 26th, 2025, and Kubernetes version 1.32 is the last version for which Amazon EKS will release AL2 AMIs. From version 1.33 onwards, Amazon EKS will continue to release AL2023 and Bottlerocket based AMIs, so adapting to the new metric collection methods will be necessary for future-proofing your monitoring.
Sources
Amazon Linux 2023: task blocked for more than 122 seconds | AWS re:Post
Upgrade from Amazon Linux 2 to Amazon Linux 2023 - Amazon EKS
Prometheus metrics troubleshooting on Amazon EKS and Kubernetes clusters - Amazon CloudWatch
Amazon EKS enhances Kubernetes control plane observability | Containers
Create nodes with optimized Amazon Linux AMIs - Amazon EKS
Relevant content
- asked 2 months ago
- asked 7 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated a year ago