Skip to content

Commit

Permalink
Add sample
Browse files Browse the repository at this point in the history
  • Loading branch information
aslafy-z authored Nov 23, 2023
1 parent cb633c6 commit 1724e66
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions config/samples/k6_v1alpha1_k6_with_topologyspreadconstraints.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
name: testrun-sample
spec:
parallelism: 4
script:
configMap:
name: k6-test
file: test.js
runner:
metadata:
labels:
testrun: sample
topologySpreadConstraints:
- maxSkew: 1
topologyKey: kubernetes.io/hostname
whenUnsatisfiable: ScheduleAnyway
labelSelector:
matchExpressions:
- key: testrun
operator: "In"
values:
- sample

0 comments on commit 1724e66

Please sign in to comment.