《使用 Karpenter 扩展、优化和升级您的 Kubernetes 集群 [重复].pdf》由会员分享,可在线阅读,更多相关《使用 Karpenter 扩展、优化和升级您的 Kubernetes 集群 [重复].pdf(20页珍藏版)》请在三个皮匠报告上搜索。
1、 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.C N S 4 1 4-RScale,optimize,and upgrade your Kubernetes cluster with KarpenterRobert NorthardPrincipal Specialist SA,ContainersAWSDov AmirSr.Solutions ArchitectAWS 2
2、025,Amazon Web Services,Inc.or its affiliates.All rights reserved.01Amazon EC2 instance characteristic02How Karpenter scales,consolidates and drifts02Lets whiteboard!Agenda 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Amazon EC2 instance characteristicsc8g.xlargeInstance family
3、Instance generationInstance sizeAdditional capabilities/archON-DEMAND INSTANCESSAVINGS PLANSSPOT INSTANCESGeneral purposeBurstableCompute optimizedMemory optimizedStorage(high I/O)Dense storageGPU/acceleratedHPC optimizedP U R C H A S E O P T I O N SChallenge 1#how do I use multi-arch images with Ka
4、rpenter or control split reserved/savings plans and on-demand capacity?Broad choice of instance typesfor virtually every workload 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.How Karpenter worksMetrics server APIXHPAUnschedulable podsresources:limits:memory:200Mi”requests:cpu:5
5、00m memory:200Mi”-key:karpenter.sh/capacity-type operator:In values:“reserved”,“spot”,on-demand”Karpenter 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.How Karpenter worksMetrics server APIXHPAUnschedulable podsChallenge 2#How do I scale a cluster with mixed instances?resources:
6、limits:memory:200Mi”requests:cpu:500m memory:200Mi”-key:karpenter.sh/capacity-type operator:In values:“reserved”,“spot”,on-demand”Karpenter 2025,Amazon Web Services,Inc.or its affiliates.All rights reserved.Observe existing pods and nodes Resource requests or specifics such as NVMe accelerators/GPUs