1
0
Fork 0
mirror of https://github.com/arangodb/kube-arangodb.git synced 2024-12-14 11:57:37 +00:00
kube-arangodb/tests/duration
2018-06-15 08:16:52 +02:00
..
simple Added duration test app 2018-06-15 08:16:52 +02:00
test Added duration test app 2018-06-15 08:16:52 +02:00
Dockerfile Added duration test app 2018-06-15 08:16:52 +02:00
main.go Added duration test app 2018-06-15 08:16:52 +02:00
README.md Added duration test app 2018-06-15 08:16:52 +02:00
test_listener.go Added duration test app 2018-06-15 08:16:52 +02:00
test_loop.go Added duration test app 2018-06-15 08:16:52 +02:00

Kube-ArangoDB duration test

This test is a simple application that keeps accessing the database with various requests.

Building

In root of kube-arangodb repository, run:

make docker-duration-test

Running

Start an ArangoDB Cluster deployment.

Run:

kubectl run \
    --image=${DOCKERNAMESPACE}/kube-arangodb-durationtest:dev \
    --image-pull-policy=Always duration-test \
    -- \
    --cluster=https://<deployment-name>.<namespace>.svc:8529 \
    --username=root

To remove the test, run:

kubectl delete -n <namespace> deployment/duration-test