-
Notifications
You must be signed in to change notification settings - Fork 230
Fully automate stress cluster buildout and add support for azure file share mounting #2106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
8ac50dc
Fully automate cluster buildout. Add azure file share mount to stress…
benbp 13e9a11
Publish stress watcher image in CI. Run docker build on PR
benbp 4cc64b7
Add stress test debug file share usage example
benbp 1e0b00a
Update stress test infrastructure docs
benbp 27e997f
Add succeeded() condition to docker push PullRequest condition
benbp 6ae6dad
Improve dev environment deploy instructions
benbp 322ab71
Add stress test file volume helm template
benbp bf500f7
Fixes for stress file share. Dependency and doc updates
benbp f2d773c
[stress testing] Require powershell core for all OSes doing stress in…
benbp 6647967
Update stress test cluster access instructions
benbp File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.