Skip to content

Instantly share code, notes, and snippets.

@luhonghai
luhonghai / k6.sh
Created December 24, 2019 09:53
Example k6 script
#!/usr/local/bin/bash
postman-to-k6 script.json -e env.json --csv data.source.csv -o k6-script.js
k6 run --vus 30 --duration 300s k6-script.js
[ $? -eq 0 ] || exit 1
@luhonghai
luhonghai / canary.yml
Created December 24, 2019 10:05
Example of canary configuration
apiVersion: flagger.app/v1alpha3
kind: Canary
metadata:
name: my-app
namespace: dev
spec:
targetRef:
apiVersion: apps/v1
kind: Deployment
name: my-app