hashicorp / vault-secrets-operator

The Vault Secrets Operator (VSO) allows Pods to consume Vault secrets natively from Kubernetes Secrets.
https://hashicorp.com
Other
471 stars 102 forks source link

Add scale tests #916

Open Zlaticanin opened 2 months ago

Zlaticanin commented 2 months ago

This PR allows for testing a number of concurrently installed VDS, VSS and VPS CRs. You can specify the number by type with the env vars: VDS_CREATE_COUNT, VSS_CREATE_COUNT, and VPS_CREATE_COUNT. You can further specify different combos, such as VSS_KVV1_CREATE, VSS_KVV2_CREATE, VSS_BOTH_CREATE, etc.. If none specified, the default count will be used (previous behavior).

Prereq: Doormat AWS sandbox account

Before running any make commands, make sure to log in into doormat and export the AWS keys: doormat login && eval $(doormat aws -a <AWS ACCOUNT NAME> export)

Make sure to export the path to your vault license: export TF_VAR_vault_license_path=<path to license file>

make -f scale-testing.mk create-eks make -f scale-testing.mk deploy-workload make -f scale-testing.mk scale-tests