diff --git a/kubernetes/apps/artillery/Makefile b/kubernetes/apps/artillery/Makefile index 5988b4e..15a5e6c 100644 --- a/kubernetes/apps/artillery/Makefile +++ b/kubernetes/apps/artillery/Makefile @@ -1,4 +1,9 @@ docker: @docker build -t demo-artillery . + +run-observe: docker @docker run --rm -it demo-artillery + +run-forward: docker + @docker run --rm -it -e QPOINT_STRATEGY=forward -e SSL_CERT_FILE=/tmp/qpoint.crt -e NODE_EXTRA_CA_CERTS=/tmp/qpoint.crt demo-artillery diff --git a/kubernetes/apps/artillery/artillery-config.yaml b/kubernetes/apps/artillery/artillery-config.yaml index fdacef9..3433268 100644 --- a/kubernetes/apps/artillery/artillery-config.yaml +++ b/kubernetes/apps/artillery/artillery-config.yaml @@ -1,8 +1,8 @@ config: target: 'https://qpoint.io' # Base URL for QPoint to intercept and manage traffic phases: - - duration: 600 # Duration of the test in seconds - arrivalRate: 5 # New virtual users per second + - duration: 30 # Duration of the test in seconds + arrivalRate: 10 # New virtual users per second tls: rejectUnauthorized: false # For testing purposes, ignore self-signed certs issues