From 75a7aa5b7d5f205f4114ec6e05de09ec074198f6 Mon Sep 17 00:00:00 2001 From: Kaji Date: Fri, 16 Aug 2024 05:40:26 +0900 Subject: [PATCH] docs: invalid Getting Started NodePool yaml (#6769) Co-authored-by: kajihiro --- .../scripts/step12-add-nodepool.sh | 5 +++-- .../migrating-from-cas/scripts/step10-create-nodepool.sh | 5 +++-- .../scripts/step12-add-nodepool.sh | 5 +++-- .../migrating-from-cas/scripts/step10-create-nodepool.sh | 5 +++-- .../scripts/step12-add-nodepool.sh | 5 +++-- .../migrating-from-cas/scripts/step10-create-nodepool.sh | 5 +++-- 6 files changed, 18 insertions(+), 12 deletions(-) diff --git a/website/content/en/docs/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh b/website/content/en/docs/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh index f3625e936810..85213a3457c3 100755 --- a/website/content/en/docs/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh +++ b/website/content/en/docs/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh @@ -23,14 +23,15 @@ spec: operator: Gt values: ["2"] nodeClassRef: - apiVersion: karpenter.k8s.aws/v1 + group: karpenter.k8s.aws kind: EC2NodeClass name: default + expireAfter: 720h # 30 * 24h = 720h limits: cpu: 1000 disruption: consolidationPolicy: WhenEmptyOrUnderutilized - expireAfter: 720h # 30 * 24h = 720h + consolidateAfter: 1m --- apiVersion: karpenter.k8s.aws/v1 kind: EC2NodeClass diff --git a/website/content/en/docs/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh b/website/content/en/docs/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh index f3625e936810..85213a3457c3 100644 --- a/website/content/en/docs/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh +++ b/website/content/en/docs/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh @@ -23,14 +23,15 @@ spec: operator: Gt values: ["2"] nodeClassRef: - apiVersion: karpenter.k8s.aws/v1 + group: karpenter.k8s.aws kind: EC2NodeClass name: default + expireAfter: 720h # 30 * 24h = 720h limits: cpu: 1000 disruption: consolidationPolicy: WhenEmptyOrUnderutilized - expireAfter: 720h # 30 * 24h = 720h + consolidateAfter: 1m --- apiVersion: karpenter.k8s.aws/v1 kind: EC2NodeClass diff --git a/website/content/en/preview/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh b/website/content/en/preview/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh index f3625e936810..85213a3457c3 100755 --- a/website/content/en/preview/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh +++ b/website/content/en/preview/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh @@ -23,14 +23,15 @@ spec: operator: Gt values: ["2"] nodeClassRef: - apiVersion: karpenter.k8s.aws/v1 + group: karpenter.k8s.aws kind: EC2NodeClass name: default + expireAfter: 720h # 30 * 24h = 720h limits: cpu: 1000 disruption: consolidationPolicy: WhenEmptyOrUnderutilized - expireAfter: 720h # 30 * 24h = 720h + consolidateAfter: 1m --- apiVersion: karpenter.k8s.aws/v1 kind: EC2NodeClass diff --git a/website/content/en/preview/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh b/website/content/en/preview/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh index f3625e936810..85213a3457c3 100644 --- a/website/content/en/preview/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh +++ b/website/content/en/preview/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh @@ -23,14 +23,15 @@ spec: operator: Gt values: ["2"] nodeClassRef: - apiVersion: karpenter.k8s.aws/v1 + group: karpenter.k8s.aws kind: EC2NodeClass name: default + expireAfter: 720h # 30 * 24h = 720h limits: cpu: 1000 disruption: consolidationPolicy: WhenEmptyOrUnderutilized - expireAfter: 720h # 30 * 24h = 720h + consolidateAfter: 1m --- apiVersion: karpenter.k8s.aws/v1 kind: EC2NodeClass diff --git a/website/content/en/v1.0/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh b/website/content/en/v1.0/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh index f3625e936810..85213a3457c3 100755 --- a/website/content/en/v1.0/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh +++ b/website/content/en/v1.0/getting-started/getting-started-with-karpenter/scripts/step12-add-nodepool.sh @@ -23,14 +23,15 @@ spec: operator: Gt values: ["2"] nodeClassRef: - apiVersion: karpenter.k8s.aws/v1 + group: karpenter.k8s.aws kind: EC2NodeClass name: default + expireAfter: 720h # 30 * 24h = 720h limits: cpu: 1000 disruption: consolidationPolicy: WhenEmptyOrUnderutilized - expireAfter: 720h # 30 * 24h = 720h + consolidateAfter: 1m --- apiVersion: karpenter.k8s.aws/v1 kind: EC2NodeClass diff --git a/website/content/en/v1.0/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh b/website/content/en/v1.0/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh index f3625e936810..85213a3457c3 100644 --- a/website/content/en/v1.0/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh +++ b/website/content/en/v1.0/getting-started/migrating-from-cas/scripts/step10-create-nodepool.sh @@ -23,14 +23,15 @@ spec: operator: Gt values: ["2"] nodeClassRef: - apiVersion: karpenter.k8s.aws/v1 + group: karpenter.k8s.aws kind: EC2NodeClass name: default + expireAfter: 720h # 30 * 24h = 720h limits: cpu: 1000 disruption: consolidationPolicy: WhenEmptyOrUnderutilized - expireAfter: 720h # 30 * 24h = 720h + consolidateAfter: 1m --- apiVersion: karpenter.k8s.aws/v1 kind: EC2NodeClass