Skip to content

Commit

Permalink
Added resources for k6 testing in k8s
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasm-ttd committed Oct 1, 2024
1 parent 80b3be8 commit 9d686d0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
kubectl create configmap operator-stress-test --from-file ./k6-uid2-operator.js

kubectl apply -f ./k6-test-resource.yml
10 changes: 10 additions & 0 deletions performance-testing/uid2-operator/k6-test-resource.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
apiVersion: k6.io/v1alpha1
kind: K6
metadata:
name: k6-uid2-load-test
spec:
parallelism: 4
script:
configMap:
name: operator-stress-test
file: k6-uid2-operator.js
3 changes: 2 additions & 1 deletion performance-testing/uid2-operator/k6-uid2-operator.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ const identityBucketTests = true;
// 13 scenarios, each 5.5 min = 4290 se

export const options = {
noConnectionReuse: false,
insecureSkipTLSVerify: true,
noConnectionReuse: true,
scenarios: {
// Warmup scenarios
tokenGenerateWarmup: {
Expand Down

0 comments on commit 9d686d0

Please sign in to comment.