Slide 15
Slide 15 text
© 2024, Amazon Web Services, Inc. or its affiliates. All rights reserved.
NodePool 詳細
15
CPU アーキテクチャ
supported values: amd64, arm64
オペレーティングシステム (OS)
supported values: linux, windows
EC2 購⼊オプション
supported values: spot, on-demand
インスタンスファミリー
supported values: c, m, r, ...
インスタンスの世代
supported values: 1, 2, 3, ...
apiVersion: karpenter.sh/v1beta1
kind: NodePool
metadata:
name: default
spec:
template:
spec:
requirements:
- key: kubernetes.io/arch
operator: In
values: ["amd64”, "arm64”]
- key: kubernetes.io/os
operator: In
values: ["linux"]
- key: karpenter.sh/capacity-type
operator: In
values: [”spot”, "on-demand"]
- key: karpenter.k8s.aws/instance-category
operator: In
values: ["c", "m", "r"]
- key: karpenter.k8s.aws/instance-generation
operator: Gt
values: ["2"]
nodeClassRef:
name: default
limits:
cpu: “1000”