-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: errors when deleting and provisioning load test clusters (#593)
Updated the load test configuration to: - Use c3d-standard-4 instead of n1-standard-2 node types - To enable the dataplane-v2 for better network performance - To leveraging a static policy when scheduling pods on nodes, allowing us to host multiple locust processes on a single node - To increase the node connection table capacity to prevent connection throttling Issue: SYNC-4082 --------- Co-authored-by: Eric Maydeck <[email protected]> Co-authored-by: Dustin Lactin <[email protected]>
- Loading branch information
1 parent
dc07762
commit 925130a
Showing
6 changed files
with
73 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
--- | ||
apiVersion: apps/v1 | ||
kind: DaemonSet | ||
metadata: | ||
name: "locust-worker-sysctl" | ||
spec: | ||
selector: | ||
matchLabels: | ||
app.kubernetes.io/name: "locust-worker" | ||
template: | ||
metadata: | ||
labels: | ||
app.kubernetes.io/name: "locust-worker" | ||
spec: | ||
nodeSelector: | ||
cloud.google.com/gke-nodepool: "locust-workers" | ||
hostNetwork: true | ||
initContainers: | ||
- name: sysctl | ||
image: alpine:3 | ||
command: | ||
- /bin/sh | ||
- -c | ||
- | | ||
sysctl net.netfilter.nf_conntrack_max=1048576 | ||
securityContext: | ||
privileged: true | ||
resources: | ||
requests: | ||
cpu: 10m | ||
memory: 10Mi | ||
limits: | ||
cpu: 10m | ||
memory: 10Mi | ||
containers: | ||
- name: sleep | ||
image: alpine:3 | ||
command: | ||
- /bin/sh | ||
- -c | ||
- | | ||
while true; do sleep 60s; done | ||
resources: | ||
requests: | ||
cpu: 10m | ||
memory: 10Mi | ||
limits: | ||
cpu: 10m | ||
memory: 10Mi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
kubeletConfig: | ||
cpuManagerPolicy: static |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters