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
2021-05-07 16:13:15 +02:00
..
simple [Cleanup] Linter code cleaning (#718) 2021-05-07 16:13:15 +02:00
test FATURE/fix docs and headers (#528) 2020-03-04 11:25:14 +01:00
Dockerfile Added duration test app 2018-06-15 08:16:52 +02:00
main.go [Cleanup] Linter code cleaning (#718) 2021-05-07 16:13:15 +02:00
README.md Added duration test app 2018-06-15 08:16:52 +02:00
test_listener.go FATURE/fix docs and headers (#528) 2020-03-04 11:25:14 +01:00
test_loop.go [Cleanup] Linter code cleaning (#718) 2021-05-07 16:13:15 +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