From bda22265a0d74b51a58e6c645d3a052b5b013374 Mon Sep 17 00:00:00 2001 From: Ben Broderick Phillips Date: Thu, 14 Oct 2021 18:54:46 -0400 Subject: [PATCH] Improve dev environment deploy instructions --- tools/stress-cluster/cluster/README.md | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/tools/stress-cluster/cluster/README.md b/tools/stress-cluster/cluster/README.md index deaf9b0af34f..4eb9426d4034 100644 --- a/tools/stress-cluster/cluster/README.md +++ b/tools/stress-cluster/cluster/README.md @@ -1,7 +1,5 @@ Table of Contents - -* [Layout](#layout) -* [Dependencies](#dependencies) +* [Layout](#layout) [Dependencies](#dependencies) * [Deploying Cluster(s)](#deploying-clusters) * [Dev Cluster](#dev-cluster) * [Test Cluster](#test-cluster) @@ -66,6 +64,18 @@ First, update the `./azure/parameters/dev.json` parameters file with the values ./provision.ps1 -env dev ``` +To deploy stress test packages to the dev environment +(e.g. the [examples](https://github.com/Azure/bicep/tree/main/docs/examples)), pass in `-Environment dev` (see below). +The provision script will update the `./kubernetes/stress-test-addons/values.yaml` file with all the relevant +resource values from the newly provisioned dev environment that are required by the stress test common configuration. + +Avoid checking in the updated dev values, they are for local use only. + +``` +# -Login only needs to be run once or if the azure container registry credentials have expired (~24 hours) +/eng/common/scripts/stress-testing/deploy-stress-tests.ps1 -Login -Environment dev +``` + ## Test Cluster The test cluster is the main ad-hoc cluster made available to SDK developers and partners. Changes to this cluster