helm: add resources to load-test the Helm chart#19754
Conversation
| - "sleep" | ||
| - "10" |
There was a problem hiding this comment.
This will open a session execute sleep 10 and then leave the session open indefinitely. I'm not sure that is an accurate load test of N sessions. In the real world those sessions are going to be sending data back and forth in response to user/machine input. Something like while ls; do sleep 5:; done doesn't quite mimic a real user session, it does result in input and output being transferred around for the duration of the sessions.
There was a problem hiding this comment.
The suggested command makes more sense. We might also want to update the testplan.
teleport/.github/ISSUE_TEMPLATE/testplan.md
Lines 1056 to 1059 in 1637934
nklaassen
left a comment
There was a problem hiding this comment.
This seems really handy but there a few parts of the README I would get temporarily stuck on or have to look up to remind myself, left comments on those
d387d47 to
c303e8a
Compare
This PR adds load-test resources used to load-test the Helm chart v12 changes.
It contains:
tsh bench sessionsagentsteleport-clusterHelm chartI did not find any other place to put these; the agent Helm charts are not specific to the
teleport-clusterHelm chart. They can be reused to set up load-test environments like in the test plan.I also drafted a couple of Grafana dashboards, but they are not reusable enough to commit today.