File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
tests/e2e/scenarios/karpenter Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+
3
+ # Copyright 2025 The Kubernetes Authors.
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # http://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ REPO_ROOT=$( git rev-parse --show-toplevel) ;
18
+ source " ${REPO_ROOT} " /tests/e2e/scenarios/lib/common.sh
19
+
20
+ kops-acquire-latest
21
+
22
+ NETWORKING=cilium
23
+ OVERRIDES=" ${OVERRIDES-} --set=cluster.spec.karpenter.enabled=true"
24
+ OVERRIDES=" ${OVERRIDES} --control-plane-size=c6g.large"
25
+ OVERRIDES=" ${OVERRIDES} --node-size=c6g.large"
26
+ OVERRIDES=" ${OVERRIDES} --node-count=1"
27
+
28
+ kops-up
29
+
30
+ USER_DATA=$( aws s3 cp " ${KOPS_STATE_STORE-} /${CLUSTER_NAME} /igconfig/node/nodes/nodeupscript.sh" -)
31
+ export USER_DATA
32
+ echo " ${USER_DATA} "
33
+
34
+ kubectl describe ec2nodeclasses.karpenter.k8s.aws
35
+ kubectl describe nodepools.karpenter.sh
You can’t perform that action at this time.
0 commit comments