-
Notifications
You must be signed in to change notification settings - Fork 183
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fully automate stress cluster buildout and add support for azure file…
… share mounting (#2106) - Fully automate cluster buildout. Add azure file share mount to stress tests. - Moving the test/ad-hoc cluster back to the playground subscription - Upgrading kubernetes cluster version to 1.21.x to pull in support for the azure csi file driver - Adding high memory agent nodes to the base deployment - Enabling node autoscaler in the base deployment - Publish stress watcher image in CI. Run docker build on PR - Using common image location across stress clusters to simplify buildout+deployment - Add stress test debug file share usage example Resolves #1903
- Loading branch information
Showing
32 changed files
with
569 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
tools/stress-cluster/chaos/examples/network-stress-example/Chart.lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dependencies: | ||
- name: stress-test-addons | ||
repository: https://stresstestcharts.blob.core.windows.net/helm/ | ||
version: 0.1.6 | ||
digest: sha256:b97697ef5f303eec43e9a94fca8e312d20b8aed71318250499344aeca9880d31 | ||
generated: "2021-08-16T12:57:01.466377-04:00" | ||
version: 0.1.9 | ||
digest: sha256:2a32027871497958af15562a675bad47f4e29523cb18a91ce17b5078eaf9bbdf | ||
generated: "2021-10-15T13:37:14.6487529-04:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
tools/stress-cluster/chaos/examples/stress-debug-share-example/Chart.lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dependencies: | ||
- name: stress-test-addons | ||
repository: https://stresstestcharts.blob.core.windows.net/helm/ | ||
version: 0.1.9 | ||
digest: sha256:2a32027871497958af15562a675bad47f4e29523cb18a91ce17b5078eaf9bbdf | ||
generated: "2021-10-15T13:23:41.8857818-04:00" |
14 changes: 14 additions & 0 deletions
14
tools/stress-cluster/chaos/examples/stress-debug-share-example/Chart.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
apiVersion: v2 | ||
name: debug-share-example | ||
description: An example stress test chart that uses a file share for debugging (e.g. for large log files, heap dumps) | ||
version: 0.1.1 | ||
appVersion: v0.1 | ||
annotations: | ||
stressTest: 'true' # enable auto-discovery of this test via `find-all-stress-packages.ps1` | ||
example: 'true' # enable auto-discovery filtering `find-all-stress-packages.ps1 -filters @{example='true'}` | ||
namespace: 'examples' | ||
|
||
dependencies: | ||
- name: stress-test-addons | ||
version: 0.1.9 | ||
repository: https://stresstestcharts.blob.core.windows.net/helm/ |
23 changes: 23 additions & 0 deletions
23
...s/stress-cluster/chaos/examples/stress-debug-share-example/templates/debug-share-job.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{{- include "stress-test-addons.env-job-template.from-pod" (list . "stress.deploy-example") -}} | ||
{{- define "stress.deploy-example" -}} | ||
metadata: | ||
labels: | ||
testName: "debug-share-example" | ||
spec: | ||
containers: | ||
- name: debug-share-example | ||
image: busybox | ||
command: ['sh', '-c'] | ||
args: | ||
- | | ||
set -ex; | ||
mkdir -p $DEBUG_SHARE; | ||
cd $DEBUG_SHARE; | ||
pwd; | ||
ls -R $DEBUG_SHARE_ROOT; | ||
echo "debug share example success" > success; | ||
cat success; | ||
# The file share is mounted by default at the path $DEBUG_SHARE | ||
# when including the container-env template | ||
{{- include "stress-test-addons.container-env" . | nindent 6 }} | ||
{{- end -}} |
6 changes: 3 additions & 3 deletions
6
tools/stress-cluster/chaos/examples/stress-deployment-example/Chart.lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
dependencies: | ||
- name: stress-test-addons | ||
repository: https://stresstestcharts.blob.core.windows.net/helm/ | ||
version: 0.1.6 | ||
digest: sha256:b97697ef5f303eec43e9a94fca8e312d20b8aed71318250499344aeca9880d31 | ||
generated: "2021-08-13T17:24:51.4285458-04:00" | ||
version: 0.1.9 | ||
digest: sha256:2a32027871497958af15562a675bad47f4e29523cb18a91ce17b5078eaf9bbdf | ||
generated: "2021-10-18T17:44:55.9281601-04:00" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.