File tree 10 files changed +63
-73
lines changed
10 files changed +63
-73
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ require (
72
72
google.golang.org/appengine v1.6.7 // indirect
73
73
google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect
74
74
google.golang.org/grpc v1.56.3 // indirect
75
- google.golang.org/protobuf v1.30 .0 // indirect
75
+ google.golang.org/protobuf v1.33 .0 // indirect
76
76
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c // indirect
77
77
gopkg.in/inf.v0 v0.9.1 // indirect
78
78
gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7 // indirect
Original file line number Diff line number Diff line change @@ -2005,8 +2005,9 @@ google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQ
2005
2005
google.golang.org/protobuf v1.28.0 /go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I =
2006
2006
google.golang.org/protobuf v1.28.1 /go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I =
2007
2007
google.golang.org/protobuf v1.29.1 /go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I =
2008
- google.golang.org/protobuf v1.30.0 h1:kPPoIgf3TsEvrm0PFe15JQ+570QVxYzEvvHqChK+cng =
2009
2008
google.golang.org/protobuf v1.30.0 /go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I =
2009
+ google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI =
2010
+ google.golang.org/protobuf v1.33.0 /go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos =
2010
2011
gopkg.in/alecthomas/kingpin.v2 v2.2.6 /go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw =
2011
2012
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
2012
2013
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ require (
137
137
google.golang.org/appengine v1.6.7 // indirect
138
138
google.golang.org/genproto v0.0.0-20221227171554-f9683d7f8bef // indirect
139
139
google.golang.org/grpc v1.52.0 // indirect
140
- google.golang.org/protobuf v1.28.1 // indirect
140
+ google.golang.org/protobuf v1.33.0 // indirect
141
141
gopkg.in/inf.v0 v0.9.1 // indirect
142
142
gopkg.in/yaml.v2 v2.4.0 // indirect
143
143
gopkg.in/yaml.v3 v3.0.1 // indirect
Original file line number Diff line number Diff line change @@ -2289,8 +2289,9 @@ google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp0
2289
2289
google.golang.org/protobuf v1.26.0 /go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc =
2290
2290
google.golang.org/protobuf v1.27.1 /go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc =
2291
2291
google.golang.org/protobuf v1.28.0 /go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I =
2292
- google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w =
2293
2292
google.golang.org/protobuf v1.28.1 /go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I =
2293
+ google.golang.org/protobuf v1.33.0 h1:uNO2rsAINq/JlFpSdYEKIZ0uKD/R9cpdv0T+yoGwGmI =
2294
+ google.golang.org/protobuf v1.33.0 /go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos =
2294
2295
gopkg.in/airbrake/gobrake.v2 v2.0.9 /go.mod h1:/h5ZAUhDkGaJfjzjKLSjv6zCL6O0LLBxU4K+aSYdM/U =
2295
2296
gopkg.in/alecthomas/kingpin.v2 v2.2.6 /go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw =
2296
2297
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 /go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0 =
Original file line number Diff line number Diff line change 9
9
"ClusterName" : {
10
10
"Type" : " String" ,
11
11
"Description" : " Name of the Cluster"
12
+ },
13
+ "SSHKeyName" : {
14
+ "Type" : " String" ,
15
+ "Description" : " SSH Key Name for EC2 instances"
12
16
}
13
17
},
14
18
"Resources" : {
17
21
"Properties" : {
18
22
"LaunchTemplateName" : { "Ref" : " LaunchTemplateName" },
19
23
"LaunchTemplateData" : {
24
+ "KeyName" : { "Ref" : " SSHKeyName" },
20
25
"BlockDeviceMappings" : [
21
26
{
22
27
"DeviceName" : " /dev/xvda" ,
Original file line number Diff line number Diff line change 61
61
git checkout $(params.cl2-branch)
62
62
git branch
63
63
- name : prepare-loadtest
64
- image : golang:1.22
64
+ image : golang:1.23
65
65
workingDir : $(workspaces.source.path)
66
66
script : |
67
67
S3_RESULT_PATH=$(params.results-bucket)
Original file line number Diff line number Diff line change 41
41
fi
42
42
43
43
curl -s $(params.ng-cfn-url) -o ./amazon-ng-cfn
44
-
44
+
45
+ SSH_KEY_NAME=scaletest-nodegroups-ssh-key
46
+ if [[ "$(aws ec2 --region "$(params.region)" describe-key-pairs --key-names "$SSH_KEY_NAME" --query 'KeyPairs[0].KeyName' --output text)" == "$SSH_KEY_NAME" ]]; then
47
+ echo "KeyPair '$SSH_KEY_NAME' already exists."
48
+ else
49
+ echo "KeyPair not found. Creating a new keypair."
50
+ # Given these are temp nodes, outputting key for devs to copy it to use for debugging
51
+ #ToDo - store it in s3 for devs to download it.
52
+ aws ec2 create-key-pair --region $(params.region) --key-name $SSH_KEY_NAME --query 'KeyMaterial' --output text
53
+ fi
54
+
45
55
launch_template_name=$(params.cluster-name)-launchTemplate
46
56
STACK_NAME=$(params.stack-name)
47
57
STACK_STATUS=$(aws cloudformation describe-stacks --query 'Stacks[?StackName==`'${STACK_NAME}'`].StackStatus' --output text --region $(params.region))
52
62
--template-body file://$(pwd)/amazon-ng-cfn \
53
63
--parameters ParameterKey=LaunchTemplateName,ParameterValue=$launch_template_name\
54
64
ParameterKey=ClusterName,ParameterValue=$(params.cluster-name)\
65
+ ParameterKey=SSHKeyName,ParameterValue=$SSH_KEY_NAME\
55
66
--region $(params.region)
56
67
57
68
aws cloudformation wait stack-create-complete --stack-name $STACK_NAME --region $(params.region)
Original file line number Diff line number Diff line change 75
75
# Apiserver is not recongnizing deamonset for sometime inconsistently, need to see if livez/readyz are healthy
76
76
while true; do date && kubectl get --raw "/readyz" --v=10 && break ; sleep 5; done
77
77
#ToDo remove this, adding to help eks networking evaluate ec2 DescribeNetworkInterface feature performance
78
- kubectl set image daemonset/aws-node -n kube-system aws-node=public.ecr.aws/e4l5e7p8/amazon/amazon-k8s- cni:v1.18.3-scalability -rc1
78
+ kubectl set image daemonset/aws-node -n kube-system aws-node=public.ecr.aws/b4u2x4n7/ cni:v1.19.1 -rc1
79
79
kubectl set env daemonset/aws-node -n kube-system ENABLE_PREFIX_DELEGATION=true
80
80
# install csi drivers.
81
81
kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=$(params.aws-ebs-csi-driver-version)"
Original file line number Diff line number Diff line change 69
69
asgs=$((nodes/max_nodes))
70
70
echo "asgs: $asgs"
71
71
node_group=$(params.nodegroup-prefix)$(params.cluster-name)-nodes
72
-
73
72
create_and_validate_dp_nodes()
74
73
{
75
74
node_group_name=$node_group-$1
You can’t perform that action at this time.
0 commit comments