From 8110dd42bb06669a5fa39274bdad5a0d5b46ce6e Mon Sep 17 00:00:00 2001 From: Vishal Biyani Date: Sat, 10 Oct 2020 16:40:06 +0530 Subject: [PATCH] Removed stale things Signed-off-by: Vishal Biyani --- scripts/cluster-setup/steps.md | 35 ------------------------------- scripts/cluster-setup/vegeta.conf | 10 --------- 2 files changed, 45 deletions(-) delete mode 100644 scripts/cluster-setup/steps.md delete mode 100644 scripts/cluster-setup/vegeta.conf diff --git a/scripts/cluster-setup/steps.md b/scripts/cluster-setup/steps.md deleted file mode 100644 index a27266b..0000000 --- a/scripts/cluster-setup/steps.md +++ /dev/null @@ -1,35 +0,0 @@ -1. ```eksctl create cluster --name scale-test --version 1.17 --managed --asg-access --region ap-south-1 --node-type=c5.4xlarge --ssh-access --nodes-min 2 --nodes-max 8 --nodes 5``` - -If plan to use Calico: - -``` -eksctl create cluster --name fission-calico --without-nodegroup --ssh-access -kubectl delete daemonset -n kube-system aws-node -kubectl apply -f https://docs.projectcalico.org/manifests/calico-vxlan.yaml -eksctl create nodegroup --cluster fission-calico --node-type c5.xlarge --node-ami auto --max-pods-per-node 300 --ssh-access --managed --asg-access -``` - -2. ```kubectl apply -f https://raw.githubusercontent.com/kubernetes/autoscaler/master/cluster-autoscaler/cloudprovider/aws/examples/cluster-autoscaler-autodiscover.yaml``` - - - -3. ```kubectl -n kube-system annotate deployment.apps/cluster-autoscaler cluster-autoscaler.kubernetes.io/safe-to-evict="false"``` - -4. ```EDITOR="code --wait" kubectl -n kube-system edit deployment.apps/cluster-autoscaler``` - -Edit the cluster-autoscaler container command to replace with your cluster's name, and add the following options and following - ---balance-similar-node-groups - ---skip-nodes-with-system-pods=false - -5. ```kubectl -n kube-system set image deployment.apps/cluster-autoscaler cluster-autoscaler=asia.gcr.io/k8s-artifacts-prod/autoscaling/cluster-autoscaler:v1.17.3``` - -6. ```kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.6/components.yaml``` - -###In Load balancer: - - -vegeta attack -duration=300s -timeout=300s -rate=360/m -max-workers=2000 -targets=vegeta.conf > Iter-n.txt - -kubectl set env daemonset -n kube-system aws-node WARM_ENI_TARGET=3 WARM_IP_TARGET=40 MINIMUM_IP_TARGET=15 AWS_VPC_K8S_CNI_LOGLEVEL=DEBUG AWS_VPC_K8S_PLUGIN_LOG_LEVEL=DEBUG \ No newline at end of file diff --git a/scripts/cluster-setup/vegeta.conf b/scripts/cluster-setup/vegeta.conf deleted file mode 100644 index 9866a27..0000000 --- a/scripts/cluster-setup/vegeta.conf +++ /dev/null @@ -1,10 +0,0 @@ -GET http://ad2246d0129a0469cb72d7bfc7d41386-110248382.ap-south-1.elb.amazonaws.com/fission-function/hello-1-30 -GET http://ad2246d0129a0469cb72d7bfc7d41386-110248382.ap-south-1.elb.amazonaws.com/fission-function/hello-10-180 -GET http://ad2246d0129a0469cb72d7bfc7d41386-110248382.ap-south-1.elb.amazonaws.com/fission-function/hello-2-90 -GET http://ad2246d0129a0469cb72d7bfc7d41386-110248382.ap-south-1.elb.amazonaws.com/fission-function/hello-3-60 -GET http://ad2246d0129a0469cb72d7bfc7d41386-110248382.ap-south-1.elb.amazonaws.com/fission-function/hello-4-120 -GET http://ad2246d0129a0469cb72d7bfc7d41386-110248382.ap-south-1.elb.amazonaws.com/fission-function/hello-5-180 -GET http://ad2246d0129a0469cb72d7bfc7d41386-110248382.ap-south-1.elb.amazonaws.com/fission-function/hello-6-30 -GET http://ad2246d0129a0469cb72d7bfc7d41386-110248382.ap-south-1.elb.amazonaws.com/fission-function/hello-7-90 -GET http://ad2246d0129a0469cb72d7bfc7d41386-110248382.ap-south-1.elb.amazonaws.com/fission-function/hello-8-60 -GET http://ad2246d0129a0469cb72d7bfc7d41386-110248382.ap-south-1.elb.amazonaws.com/fission-function/hello-9-120 \ No newline at end of file