Skip to content

ymktmk/operate-k6-crd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

operate-k6-crd

🚨 still in development 🚨

A GitHub Actions tool for working with K6 CRDs.

vus, duration, rps, parallelism can be overridden

  • Some env setting are not supported

Example of use

- name: Create K6 CRD
  uses: ymktmk/operate-k6-crd@main
  with: 
    method: create
    parallelism: 1
    file: test.js
    template: ./example/k6.yaml

K6 CRD Example

apiVersion: k6.io/v1alpha1
kind: TestRun
metadata:
  name: k6-sample
  namespace: k6-operator-system
spec:
  parallelism: 3
  script:
    configMap:
      name: crocodile-stress-test
      file: test.js
  arguments: --vus 4 --duration 30s --rps 10
  runner:
    env:
    - name: URL
      value: "https://test.k6.io"
    - name: SLACK_TOKEN
      valueFrom: 
        secretKeyRef:
          name: secret
          key: token

About

override and apply K6's Kubernetes CRDs

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages