Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scale-test: Use single nodes instance group for AWS #16204

Merged
merged 4 commits into from
Jan 8, 2024

Conversation

hakman
Copy link
Member

@hakman hakman commented Jan 3, 2024

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 3, 2024
@hakman
Copy link
Member Author

hakman commented Jan 3, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 3, 2024

  AutoscalingGroup/nodes.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io
  	Granularity         	1Minute
  	InstanceProtection  	false
  	LaunchTemplate      	name:nodes.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io
  	LoadBalancers       	[]
  	MaxInstanceLifetime 	0
  	MaxSize             	5000
  	Metrics             	[GroupDesiredCapacity, GroupInServiceInstances, GroupMaxSize, GroupMinSize, GroupPendingInstances, GroupStandbyInstances, GroupTerminatingInstances, GroupTotalInstances]
  	MinSize             	5000
  	MixedInstanceOverrides	[t3a.medium, t3.medium, t2.medium, t3a.large, c5a.large, t3.large, c5.large, m5a.large, m6a.large, m5.large, c4.large, c7a.large, r5a.large, r6a.large, m7a.large]
  	MixedSpotMaxPrice   	
  	Subnets             	[name:us-east-2a-1.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2a-4.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2a-7.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2a-10.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2b-2.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2b-5.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2b-8.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2b-11.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2c-3.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2c-6.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2c-9.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, name:us-east-2c-12.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io]
  	SuspendProcesses    	[]
  	Tags                	{kubernetes.io/cluster/e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io: owned, aws-node-termination-handler/managed: , k8s.io/cluster-autoscaler/node-template/label/node-role.kubernetes.io/node: , k8s.io/role/node: 1, kops.k8s.io/instancegroup: nodes, Name: nodes.e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io, KubernetesCluster: e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io}
  	TargetGroups        	[]

INSTANCE GROUPS
NAME				ROLE		MACHINETYPE	MIN	MAX	SUBNETS
control-plane-us-east-2a	ControlPlane	c5.18xlarge	1	1	us-east-2a
control-plane-us-east-2b	ControlPlane	c5.18xlarge	1	1	us-east-2b
control-plane-us-east-2c	ControlPlane	c5.18xlarge	1	1	us-east-2c
nodes				Node		t3a.medium	5000	5000	us-east-2a-1,us-east-2a-4,us-east-2a-7,us-east-2a-10,us-east-2b-2,us-east-2b-5,us-east-2b-8,us-east-2b-11,us-east-2c-3,us-east-2c-6,us-east-2c-9,us-east-2c-12

@hakman
Copy link
Member Author

hakman commented Jan 3, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

3 similar comments
@hakman
Copy link
Member Author

hakman commented Jan 3, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 3, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 3, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakuna-matatah
Copy link
Contributor

hakuna-matatah commented Jan 3, 2024

Thanks @hakman for making this change, I was looking in the account to see how the IP allocation was happening across subnets but it looks like it's deleting the nodes already, scale test failed w following error.

+ kubetest2 kops -v=2 --cloud-provider=aws --cluster-name=e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io --kops-binary-path=/home/prow/go/src/k8s.io/bin/kops --admin-access=0.0.0.0/0 --env=KOPS_FEATURE_FLAGS=AWSSingleNodesInstanceGroup, --validation-wait=55m --up --kubernetes-version=v1.29.0 '--create-args=--network-cidr=10.0.0.0/16,10.1.0.0/16,10.2.0.0/16,10.3.0.0/16,10.4.0.0/16,10.5.0.0/16,10.6.0.0/16,10.7.0.0/16,10.8.0.0/16,10.9.0.0/16,10.10.0.0/16,10.11.0.0/16,10.12.0.0/16 --networking=amazonvpc --set spec.networking.amazonVPC.env=ENABLE_PREFIX_DELEGATION=true --image=ssm:/aws/service/canonical/ubuntu/server/20.04/stable/current/amd64/hvm/ebs-gp2/ami-id --set spec.etcdClusters[0].manager.listenMetricsURLs=http://localhost:2382 --set spec.etcdClusters[0].manager.env=ETCD_QUOTA_BACKEND_BYTES=8589934592 --set spec.etcdClusters[1].manager.env=ETCD_QUOTA_BACKEND_BYTES=8589934592 --set spec.kubelet.maxPods=96 --set spec.kubeScheduler.authorizationAlwaysAllowPaths=/healthz --set spec.kubeScheduler.authorizationAlwaysAllowPaths=/metrics --set spec.kubeScheduler.kubeAPIQPS=500 --set spec.kubeScheduler.kubeAPIBurst=500 --set spec.kubeScheduler.enableProfiling=true --set spec.kubeScheduler.enableContentionProfiling=true --set spec.kubeControllerManager.endpointUpdatesBatchPeriod=500ms --set spec.kubeControllerManager.endpointSliceUpdatesBatchPeriod=500ms --set spec.kubeControllerManager.kubeAPIQPS=100 --set spec.kubeControllerManager.kubeAPIBurst=100 --set spec.kubeControllerManager.enableProfiling=true --set spec.kubeControllerManager.enableContentionProfiling=true --set spec.kubeAPIServer.maxRequestsInflight=800 --set spec.kubeAPIServer.maxMutatingRequestsInflight=400 --set spec.kubeAPIServer.enableProfiling=true --set spec.kubeAPIServer.enableContentionProfiling=true --set spec.kubeAPIServer.anonymousAuth=true --set spec.kubeProxy.metricsBindAddress=0.0.0.0:10249 --node-count=5000 --dns none --node-size=t3a.medium,t3.medium,t2.medium,t3a.large,c5a.large,t3.large,c5.large,m5a.large,m6a.large,m5.large,c4.large,c7a.large,r5a.large,r6a.large,m7a.large --node-volume-size=20 --control-plane-count=3 --master-size=c5.18xlarge --zones=us-east-2a,us-east-2b,us-east-2c --set spec.cloudProvider.aws.ebsCSIDriver.kubeAPIQPS=100 --set spec.cloudProvider.aws.ebsCSIDriver.kubeAPIBurst=100'
I0103 15:10:08.070486   14416 app.go:61] The files in RunDir shall not be part of Artifacts
I0103 15:10:08.070516   14416 app.go:62] pass rundir-in-artifacts flag True for RunDir to be part of Artifacts
I0103 15:10:08.070538   14416 app.go:64] RunDir for this run: "/home/prow/go/src/k8s.io/kops/_rundir/82bd5d80-4c72-4594-99c5-972a62b27c51"
I0103 15:10:08.114585   14416 app.go:130] ID for this run: "82bd5d80-4c72-4594-99c5-972a62b27c51"
I0103 15:10:08.121633   14416 up.go:58] Cleaning up any leaked resources from previous cluster
I0103 15:10:08.333799   14416 dumplogs.go:47] /home/prow/go/src/k8s.io/bin/kops toolbox dump --name e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io --dir /logs/artifacts --private-key /tmp/kops/e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io/id_ed25519 --ssh-user ubuntu
I0103 15:10:08.342055   14452 featureflag.go:168] FeatureFlag "AWSSingleNodesInstanceGroup"=true
W0103 15:10:37.878181   14452 toolbox_dump.go:172] cannot load kubeconfig settings for "e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io": context "e2e-ff02749ef8-a423a.test-cncf-aws.k8s.io" does not exist

@hakman
Copy link
Member Author

hakman commented Jan 3, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 3, 2024

@hakuna-matatah Give it another try

@hakman
Copy link
Member Author

hakman commented Jan 3, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

1 similar comment
@hakman
Copy link
Member Author

hakman commented Jan 3, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@k8s-ci-robot k8s-ci-robot added size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 4, 2024
@hakman
Copy link
Member Author

hakman commented Jan 4, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

6 similar comments
@hakman
Copy link
Member Author

hakman commented Jan 4, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 4, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 4, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 5, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 5, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 6, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 6, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

2 similar comments
@hakman
Copy link
Member Author

hakman commented Jan 6, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 6, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 7, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

1 similar comment
@hakman
Copy link
Member Author

hakman commented Jan 7, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@upodroid
Copy link
Member

upodroid commented Jan 7, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

pod got killed :(

@hakman
Copy link
Member Author

hakman commented Jan 8, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

1 similar comment
@hakman
Copy link
Member Author

hakman commented Jan 8, 2024

/test presubmit-kops-aws-scale-amazonvpc-using-cl2

@hakman hakman force-pushed the single-nodes-ig branch 2 times, most recently from 59504fb to 6ed0d60 Compare January 8, 2024 11:35
Copy link
Member

@upodroid upodroid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jan 8, 2024
@hakman
Copy link
Member Author

hakman commented Jan 8, 2024

/test presubmit-kops-aws-small-scale-amazonvpc-using-cl2

@hakman
Copy link
Member Author

hakman commented Jan 8, 2024

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hakman, upodroid

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 8, 2024
@k8s-ci-robot k8s-ci-robot merged commit f3c9c05 into kubernetes:master Jan 8, 2024
23 checks passed
@k8s-ci-robot k8s-ci-robot added this to the v1.29 milestone Jan 8, 2024
@hakuna-matatah
Copy link
Contributor

This PR is relevant to this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants