forked from bregman-arie/devops-exercises
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Terraform and Linux questions and exercises
Also updated the script that counts questions to actually update the number in README.md
- Loading branch information
abregman
committed
Oct 30, 2022
1 parent
a85e52e
commit e6a8030
Showing
16 changed files
with
533 additions
and
69 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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,3 +1,9 @@ | ||
#!/usr/bin/env bash | ||
|
||
echo $(( $(grep -E "\[Exercise\]|</summary>" -c README.md topics/*/README.md | awk -F: '{ s+=$2 } END { print s }' ))) | ||
set -eu | ||
|
||
count=$(echo $(( $(grep -E "\[Exercise\]|</summary>" -c README.md topics/*/README.md | awk -F: '{ s+=$2 } END { print s }' )))) | ||
|
||
echo "There are $count questions and exercises" | ||
|
||
sed -i "s/currently \*\*[0-9]*\*\*/currently \*\*$count\\**/" README.md |
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,31 @@ | ||
# Chaos Engineering | ||
|
||
- [Chaos Engineering](#chaos-engineering) | ||
- [Chaos Engineering Questions](#chaos-engineering-questions) | ||
- [Basics](#basics) | ||
|
||
## Chaos Engineering Questions | ||
|
||
### Basics | ||
|
||
<details> | ||
<summary>What is Chaos Engineering?</summary><br><b> | ||
|
||
[Wikipedia](https://en.wikipedia.org/wiki/Chaos_engineering): "Chaos Engineering is the discipline of experimenting on a system in order to build confidence in the system's capability to withstand turbulent conditions in production." | ||
|
||
[TechTarget](https://www.techtarget.com/searchitoperations/definition/chaos-engineering): "Chaos engineering is the process of testing a distributed computing system to ensure that it can withstand unexpected disruptions." | ||
|
||
</b></details> | ||
|
||
<details> | ||
<summary>What's a typical Chaos Engineering workflow?</summary><br><b> | ||
|
||
According to [Gremlin](gremlin.com) there are three steps: | ||
|
||
1. Planning an experiment where you design and choose a scenario in which your system should fail to operate properly | ||
2. You execute the smallest possible experiment to test your theory | ||
3. If nothing goes wrong, you scale your experiment and make the blast radius bigger. If your system breaks, you better understand why and start dealing with it | ||
|
||
The process then repeats itself either with same scenario or a new one. | ||
|
||
</b></details> |
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.