File tree Expand file tree Collapse file tree
tests/e2e/scenarios/scalability Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,17 +20,11 @@ set -x
2020# We need an instance group with a large single single node for addons such as prometheus, exec-service, etc.
2121# In kubeup we used to call it heapster due to name of first addon, but now we call it addons.
2222
23- if [[ " ${CLOUD_PROVIDER} " == " aws" ]]; then
24- kops create instancegroup addons --edit=false --role node --zone us-east-2b
25- kops edit instancegroup addons --set=spec.machineType=" ${ADDONS_NODE_SIZE:- c7a.8xlarge} " \
26- --set=spec.maxSize=1 --set=spec.minSize=1 --set=spec.image=" ssm:/aws/service/canonical/ubuntu/server/24.04/stable/current/amd64/hvm/ebs-gp3/ami-id"
27- elif [[ " ${CLOUD_PROVIDER} " == " gce" ]]; then
23+ if [[ " ${CLOUD_PROVIDER} " == " gce" ]]; then
2824 kops create instancegroup addons --edit=false --role node --zone us-east1-b
2925 kops edit instancegroup addons --set=spec.machineType=" ${ADDONS_NODE_SIZE:- c3-standard-22} " \
30- --set=spec.maxSize=1 --set=spec.minSize=1 \
26+ --set=spec.maxSize=1 --set=spec.minSize=1 --set=spec.rootVolume.type=hyperdisk-balanced \
3127 --set=spec.image=" ${INSTANCE_IMAGE:- ubuntu-os-cloud/ ubuntu-2404-noble-amd64-v20251001} "
28+ kops update cluster --yes
29+ kops validate cluster --wait 10m
3230fi
33-
34- kops update cluster --yes
35- sleep 120 # it shouldn't take long to have the node up and ready
36- # TODO: replace with kops validate instancegroup instead of the wait
Original file line number Diff line number Diff line change @@ -127,6 +127,8 @@ KOPS_FEATURE_FLAGS="EtcdEventsHTTP,${KOPS_FEATURE_FLAGS:-}"
127127
128128# AWS ONLY feature flags
129129if [[ " ${CLOUD_PROVIDER} " == " aws" ]]; then
130+ # AWS doesn't run dedicated addons node
131+ export CL2_PROMETHEUS_TOLERATE_MASTER=" true"
130132 # Enable creating a single nodes instance group
131133 KOPS_FEATURE_FLAGS=" AWSSingleNodesInstanceGroup,${KOPS_FEATURE_FLAGS:- } "
132134 create_args+=(" --set spec.etcdClusters[*].etcdMembers[*].volumeIOPS=10000" )
188190# this is used as a label to select kube-proxy pods on kops for kube-proxy service
189191# used by CL2 Prometheus here https://github.com/kubernetes/perf-tests/blob/master/clusterloader2/pkg/prometheus/manifests/default/kube-proxy-service.yaml#L2
190192export PROMETHEUS_KUBE_PROXY_SELECTOR_KEY=" k8s-app"
191- export PROMETHEUS_SCRAPE_APISERVER_ONLY=" true"
192- export CL2_PROMETHEUS_TOLERATE_MASTER=" true"
193193export ETCD_PORT=" 4001" # we want cl2 to use this port for etcd instead of 2379
194194if [[ " ${CLOUD_PROVIDER} " == " aws" && " ${SCALE_SCENARIO} " == " performance" ]]; then
195195 # CL2 uses KUBE_SSH_KEY_PATH path to ssh to instances for scraping metrics
You can’t perform that action at this time.
0 commit comments