-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc7d21a
commit 9aade18
Showing
2 changed files
with
56 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
|
||
# Collection of the blocks | ||
|
||
## Week I | ||
|
||
6 node cluster | ||
|
||
```sh | ||
vagrant init | ||
vagrant up | ||
``` | ||
|
||
## Week II | ||
|
||
Apply the pod manifest files running the following: | ||
|
||
`./voting-app-automated.sh` | ||
|
||
Get the node ips and pods: | ||
|
||
`./voting-app-displayer.sh` | ||
|
||
## Week III | ||
|
||
Activate the monitoring stack running: | ||
|
||
```sh | ||
./monitoring-stack.sh | ||
``` | ||
|
||
- **Username:** adminuser | ||
- **Password:** p@ssword! | ||
|
||
`kubectl port-forward $(kubectl get po -n monitoring | grep grafana | awk '{print $1}') 5200:3000`` | ||
|
||
## Week IV | ||
|
||
Make sure you have helm installed. | ||
|
||
```sh | ||
helm list | ||
helm repo add voting-app https://colossus06.github.io/cka-ckad-study-group-2024/ | ||
helm repo update | ||
helm search repo voting-app | ||
helm install [release-name] voting-app/voting-app | ||
``` | ||
|
||
|
||
k port-forward service/voting-service 30004:30004 | ||
|
||
|
||
## Week V | ||
|
||
#todo | ||
CICD |
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