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

bug fixes for test failures #334

Merged
merged 1 commit into from
Dec 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ spec:
- amd64
limits:
resources:
cpu: 1000
memory: 1000Gi
cpu: 8000
memory: 2000Gi
providerRef:
name: default
ttlSecondsAfterEmpty: 864000
4 changes: 2 additions & 2 deletions tests/tasks/generators/clusterloader/load.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ spec:
cat > "$(workspaces.source.path)/overrides.yaml" <<EOL
NODES_PER_NAMESPACE: $(params.nodes-per-namespace)
CL2_LOAD_TEST_THROUGHPUT: $(params.cl2-load-test-throughput)
CL2_SCHEDULER_THROUGHPUT_THRESHOLD: 20
CL2_SCHEDULER_THROUGHPUT_THRESHOLD: 70
PODS_PER_NODE: $(params.pods-per-node)
CL2_USE_HOST_NETWORK_PODS: false
# we are not testing statefulsets at this point
Expand Down Expand Up @@ -105,7 +105,7 @@ spec:
cat $(workspaces.source.path)/perf-tests/clusterloader2/pkg/prometheus/manifests/prometheus-prometheus.yaml
fi
- name: run-loadtest
image: public.ecr.aws/kit/clusterloader2:0213bea
image: 197575167141.dkr.ecr.us-west-2.amazonaws.com/clusterloader2:latest
hakuna-matatah marked this conversation as resolved.
Show resolved Hide resolved
onError: continue
script: |
#!/bin/bash
Expand Down
4 changes: 4 additions & 0 deletions tests/tasks/setup/eks/awscli-cp-with-vpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,10 @@ spec:
aws eks $ENDPOINT_FLAG --region $(params.region) wait cluster-active --name $(params.cluster-name)
aws eks $ENDPOINT_FLAG update-kubeconfig --name $(params.cluster-name) --region $(params.region)
# enable PD on the cluster
kubectl api-versions
kubectl api-resources
# Apiserver is not recongnizing deamonset for sometime inconsistently, need to see if livez/readyz are healthy
while true; do date && kubectl get --raw "/readyz" --v=10 && break ; sleep 5; done
kubectl set env daemonset/aws-node -n kube-system ENABLE_PREFIX_DELEGATION=true
# install csi drivers.
kubectl apply -k "github.com/kubernetes-sigs/aws-ebs-csi-driver/deploy/kubernetes/overlays/stable/?ref=$(params.aws-ebs-csi-driver-version)"