Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add make targets for forwarding #29

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions kubernetes/apps/artillery/Makefile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 2 additions & 2 deletions kubernetes/apps/artillery/artillery-config.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down