Skip to content
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

[Hack Update] 039 AKS Enterprise Grade - Refresh #644

Merged
merged 86 commits into from
Jun 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
86 commits
Select commit Hold shift + click to select a range
4bbfb52
Created WhatTheHack template stub
Jan 20, 2023
dd0b5f8
Updated home page to new template
jrzyshr Jan 20, 2023
c913bae
New C0 added using the WTH templates.
jrzyshr Jan 20, 2023
9bcf6ee
Updated C1 to use new WTH template and refer to Resources.zip file fo…
jrzyshr Jan 20, 2023
1c8c903
copied over the images folder and /Student/Resources folder content
jrzyshr Jan 20, 2023
58ffe99
spacing in C0 and C1
jrzyshr Jan 20, 2023
863303b
Updated C3 to new WTH template
jrzyshr Jan 20, 2023
065c612
updated c3 to wth template
jrzyshr Jan 20, 2023
afe6f47
added title back in.
jrzyshr Jan 20, 2023
febd175
updated C4 to new wth template
jrzyshr Jan 20, 2023
92a0b49
updated C5 to new template
jrzyshr Jan 20, 2023
4bb7a84
c6 to new wth template
jrzyshr Jan 20, 2023
d6fa3e8
fixed title in C6
jrzyshr Jan 20, 2023
4068ad7
C7 to new template
jrzyshr Jan 20, 2023
e8e24b8
Updated C8 to new wth template
jrzyshr Jan 20, 2023
a79fa9d
removed link from c8 to c9
jrzyshr Jan 20, 2023
710e619
Updated Coach guide ToC with new wth template.
jrzyshr Jan 21, 2023
a3d5dbe
added extra header to coach guide toc
jrzyshr Jan 21, 2023
0527271
Updated the Coach guide ToC
jrzyshr Jan 23, 2023
69bdddc
Created new coach guide for Challenge 0.
jrzyshr Jan 23, 2023
dffa44f
updated c0 coach guide
jrzyshr Jan 23, 2023
3eb8080
Updated S1 to new WTH template
jrzyshr Jan 23, 2023
14a22d3
Updated S2 to WTH templates
jrzyshr Jan 23, 2023
02e3cb8
Updated S3 to WTH Templates
jrzyshr Jan 23, 2023
0a73265
Updated S4 to WTH tempates
jrzyshr Jan 23, 2023
23c365c
Update S5 to WTH template
jrzyshr Jan 23, 2023
02523d9
Updated S6 to WTH template
jrzyshr Jan 23, 2023
74ab0bf
Updated S7 to WTH template
jrzyshr Jan 23, 2023
9452420
Updated S8 to WTH Templates
jrzyshr Jan 23, 2023
d099a95
removed next link from S8
jrzyshr Jan 23, 2023
a66d79e
Deleted extra challenge templates and copied over /coach/images
jrzyshr Jan 23, 2023
0b2d30a
Update Coach Guide ToC - Moved note with disclaimer for script files …
jrzyshr Jan 25, 2023
faf5f05
Modified Solution 00 to explain how the in-line scripts in the entire…
jrzyshr Jan 25, 2023
deff46d
Updated S2. Flipped order of public & private. Added new section des…
jrzyshr Jan 25, 2023
cce64f1
Copied all C2 solution files from old location to new C2 subfolder un…
jrzyshr Jan 25, 2023
21e4412
Added note that coach's should expect deploying a private cluster to …
jrzyshr Jan 25, 2023
c31a7f4
added reference to the Terraform modules to Coach guide S2
jrzyshr Jan 25, 2023
116bacb
Updated C0 coach guide to move info about how to use coach guide to t…
jrzyshr Jan 25, 2023
f4aa033
Updated C2 coach guide to provide guidance on the Private cluster path.
jrzyshr Jan 26, 2023
4839a45
Updated C3 coach guide.
jrzyshr Jan 26, 2023
9ec0445
Added C2 "accelerator" files to the Coach/Solutions/Challenge-02/Accl…
jrzyshr Jan 26, 2023
8723a3a
Added a new Challenge-02A meant to accelerate students through Challe…
jrzyshr Jan 26, 2023
cd989dd
Updated the C2 Coach guide to refer to the new hidden C2 Accelerator …
jrzyshr Jan 26, 2023
933ee57
Copied solution files to Challenge subfolders under /Solutions folder
jrzyshr Feb 7, 2023
8cdcc15
Updated Coach's guide for C4
jrzyshr Feb 7, 2023
705dbda
copied last solution files from old to new /Solutions folder
jrzyshr Feb 7, 2023
e1495c2
minor update to C4 coach guide
jrzyshr Feb 7, 2023
e329123
Updated C2A line numbers and added link to Azure password requirements..
jrzyshr Feb 7, 2023
6b88079
updated links in C4 coach guide
jrzyshr Feb 8, 2023
7b3048a
added link to K8S config maps documentation in coach guide for C4
jrzyshr Feb 8, 2023
4c242ab
Minor updates for C5 coach guide
jrzyshr Feb 13, 2023
d56e999
update to c5 coach guide
jrzyshr Feb 13, 2023
bb81702
more C5 coach guide udpates
jrzyshr Feb 13, 2023
ff5aa6a
updated C4 coach guide
jrzyshr Feb 13, 2023
562ae59
updated C5 coach guide - to indicate students WILL need to redeploy t…
jrzyshr Feb 13, 2023
9d0a604
updated C4 with more guidance on secret management in AKS
jrzyshr Feb 17, 2023
3921593
Merge branch 'microsoft:master' into xxx-AKS-EnterpriseGrade
jrzyshr Jun 1, 2023
eaf5d29
Merge branch 'microsoft:master' into xxx-AKS-EnterpriseGrade
jrzyshr Jun 13, 2023
bea06ec
Update Coach guide with Azure Requirements
jrzyshr Jun 13, 2023
56467fd
Updated C0 & C0 Coach Guide
jrzyshr Jun 13, 2023
fb66212
Updated C1 & C1 Coach guide. Made links to sample app documentation m…
jrzyshr Jun 13, 2023
1645858
Updated C2 - Added note about ability to use Dockerhub images for sam…
jrzyshr Jun 13, 2023
01173a5
Updated C2 coach guide with multiple notes on nginx-ingress controller
jrzyshr Jun 13, 2023
65db348
Replaced old 039 folder with renamed xxx-AKSEnterpriseGrade folder.
jrzyshr Jun 13, 2023
bb1a736
Removed template Lecture deck. Will replace with final version in fu…
jrzyshr Jun 13, 2023
b1f17e2
Fixed spelling issues in C0, C1, C2 coach guides. Added a whitelist …
jrzyshr Jun 13, 2023
f1c5aaa
Spell fixes for C3 coach guide
jrzyshr Jun 13, 2023
8d35437
Fixed spelling in C4 coach guide and added to whitelist
jrzyshr Jun 13, 2023
f42c337
Updated C5 coach guide and whitelist
jrzyshr Jun 13, 2023
cd11252
Spell fixes in C6 coach guide + whitelist
jrzyshr Jun 13, 2023
f7369e7
Fixed spelling in C7 coach guide
jrzyshr Jun 13, 2023
992c797
C8 coach guide spell fixes + whitelist update
jrzyshr Jun 13, 2023
ec8e7a6
Student guide C2A, C3, C4 spell fixes
jrzyshr Jun 13, 2023
b4f8c0f
updated whitelist for test
jrzyshr Jun 14, 2023
679a860
Fixed spelling in coach guides for C2, C4, and C6
jrzyshr Jun 14, 2023
52f38b1
Added alternate text for PNG images.
jrzyshr Jun 14, 2023
0178714
updated wordlist with png
jrzyshr Jun 14, 2023
705d728
testing inline image spell fix
jrzyshr Jun 14, 2023
6a842b4
updated image links and whitelist
jrzyshr Jun 14, 2023
77d9376
Update Solution-02.md
jrzyshr Jun 15, 2023
b5c8191
Updated C4 with more descriptive Intro.
jrzyshr Jun 17, 2023
c15bdfd
Merge branch 'microsoft:master' into xxx-AKS-EnterpriseGrade
jrzyshr Jun 17, 2023
f5b845c
Merge branch 'xxx-AKS-EnterpriseGrade' of github.com:jrzyshr/WhatTheH…
jrzyshr Jun 17, 2023
681edd7
Fixed warning tags in C4
jrzyshr Jun 17, 2023
1385950
Updated ingress install. Removed 'beta' from the URLs and added anno…
jrzyshr Jun 17, 2023
3572c29
updated accelerator script to read password as secure string
jrzyshr Jun 17, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Spell fixes in C6 coach guide + whitelist
  • Loading branch information
jrzyshr committed Jun 13, 2023
commit cd11252ae08ea78f8c1b25633035d0e263196b73
1 change: 1 addition & 0 deletions 039-AKSEnterpriseGrade/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ tolerations
LetsEncrypt
OPA
Ahmet's
AlwaysOn


16 changes: 8 additions & 8 deletions 039-AKSEnterpriseGrade/Coach/Solution-06.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@

## Notes and Guidance

* Challenges might arise when using disks and AZs
* Challenges might arise when using disks and Availability Zones
* Make sure participants understand storage limitations of the VMs (disk size, VM size)
* Note that the SQL Server YAML is taken from the docs, without integration with AKV. Integrating it with AKV left as optional. Participants are allowed to use secrets for this challenge for simplicity reasons.
* Explain the dependencies between AZs, disks and nodes, and how this can lead to problems
* Note that the SQL Server YAML is taken from the docs, without integration with Azure Key Vault. Integrating it with Azure Key Vault left as optional. Participants are allowed to use secrets for this challenge for simplicity reasons.
* Explain the dependencies between Availability Zones, disks and nodes, and how this can lead to problems
* Following guide in [https://docs.microsoft.com/sql/linux/tutorial-sql-server-containers-kubernetes?view=sql-server-ver15](https://docs.microsoft.com/sql/linux/tutorial-sql-server-containers-kubernetes?view=sql-server-ver15)

## Solution Guide

Deploy SQL Server on AKS

```bash
# SQL pwd in secret. AKV integration not required for this challenge
# SQL pwd in secret. Azure Key Vault integration not required for this challenge
sql_password='Microsoft123!Microsoft123!'
remote "kubectl create namespace sql"
remote "kubectl -n sql create secret generic mssql --from-literal=SA_PASSWORD=\"$sql_password\""
Expand Down Expand Up @@ -180,7 +180,7 @@ remote "kubectl rollout restart deploy/api -n $namespace"
remote "kubectl -n $namespace get pod"
```

### Optional: PV with Large File Shares
### Optional: Persistent Volume with Large File Shares

You can create a storage account with an Azure Files Share, and then a container that mounts that share.

Expand All @@ -200,7 +200,7 @@ remote "kubectl -n sql create secret generic azure-storage \
--from-literal=azurestorageaccountkey=$storage_account_key"
```

We can now create a SQL Server deployment mounting that share. We will not use Stateful Sets, becase SS dynamically create the required PVCs, but we want to use the existing share we have just created:
We can now create a SQL Server deployment mounting that share. We will not use Stateful Sets, because SS dynamically create the required PVCs, but we want to use the existing share we have just created:

```bash
remote "cat <<EOF | kubectl -n sql apply -f -
Expand Down Expand Up @@ -262,7 +262,7 @@ EOF"
After verifying that the pod has ben created successfully, we can now run the same performance test in the new pod:

```bash
# Verfiy pod is up
# Verify pod is up
sql_pod_name=$(remote "kubectl -n sql get pods -l app=mssqlnfs -o custom-columns=:metadata.name" | awk NF)
remote "kubectl -n sql describe pod $sql_pod_name"
```
Expand All @@ -280,7 +280,7 @@ You should get a result like this:
1073741824 bytes (1.1 GB, 1.0 GiB) copied, 10.2392 s, 105 MB/s
```

You can verify the Azure Files untilization in the metrics:
You can verify the Azure Files utilization in the metrics:

![](images/azfiles_ingress.png)

Expand Down