Skip to content

Commit

Permalink
Merge pull request #38 from aritraghosh/patch-1
Browse files Browse the repository at this point in the history
Update workshop.md with the right main.bicep link
  • Loading branch information
chzbrgr71 authored Nov 12, 2024
2 parents bd676b0 + 6d31430 commit 5a99b85
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions workshops/advanced-aks/workshop.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ az group create \
Run the following command to download the Bicep template file to deploy the lab resources.

```bash
curl https://raw.githubusercontent.com/Azure-Samples/aks-labs/refs/heads/main/workshops/advanced-aks/assets/main.bicep -o main.bicep
curl -o main.bicep ./assets/main.bicep
```

Verify the contents of the **main.bicep** file by running the following command.
Expand Down Expand Up @@ -203,7 +203,8 @@ az aks create \
--network-policy cilium \
--ssh-access disabled \
--enable-managed-identity \
--enable-acns
--enable-acns \
--generate-ssh-keys
```

The command above will deploy an AKS cluster with the following configurations:
Expand Down Expand Up @@ -436,7 +437,7 @@ Now, let's deploy some network policy to allow only the required ports in the pe
Run the following command to download the network policy manifest file.

```bash
curl -o acns-network-policy.yaml https://raw.githubusercontent.com/Azure-Samples/aks-labs/refs/heads/main/workshops/advanced-aks/assets/acns-network-policy.yaml
curl -o acns-network-policy.yaml ./assets/acns-network-policy.yaml
```

Take a look at the network policy manifest file by running the following command.
Expand Down Expand Up @@ -528,7 +529,7 @@ To limit egress to certain domains, apply an FQDN policy. This policy permits ac
Run the following command to download the FQDN policy manifest file.

```bash
curl -o acns-network-policy-fqdn.yaml https://raw.githubusercontent.com/Azure-Samples/aks-labs/refs/heads/main/workshops/advanced-aks/assets/acns-network-policy-fqdn.yaml
curl -o acns-network-policy-fqdn.yaml ./assets/acns-network-policy-fqdn.yaml
```

Take a look at the FQDN policy manifest file by running the following command.
Expand Down Expand Up @@ -575,7 +576,7 @@ Let's start by applying a new network policy to cause some chaos in the network.
Run the following command to download the chaos policy manifest file.

```bash
curl -o acns-network-policy-chaos.yaml https://raw.githubusercontent.com/Azure-Samples/aks-labs/refs/heads/main/workshops/advanced-aks/assets/acns-network-policy-chaos.yaml
curl -o acns-network-policy-chaos.yaml ./assets/acns-network-policy-chaos.yaml
```

Run the following command to examine the chaos policy manifest file.
Expand Down Expand Up @@ -718,7 +719,7 @@ Now to solve the problem we will apply the original policy.
Run the following command to apply the original network policy to the pets namespace.

```bash
curl -o acns-network-policy-allow-store-front-traffic.yaml https://raw.githubusercontent.com/Azure-Samples/aks-labs/refs/heads/main/workshops/advanced-aks/assets/acns-network-policy-allow-store-front-traffic.yaml
curl -o acns-network-policy-allow-store-front-traffic.yaml ./assets/acns-network-policy-allow-store-front-traffic.yaml
```

View the contents of the network policy manifest file.
Expand All @@ -742,7 +743,7 @@ You should now see the traffic flowing again and you are able to access the pets
Run the following command to download the Hubble UI manifest file.

```bash
curl -o acns-hubble-ui.yaml https://raw.githubusercontent.com/Azure-Samples/aks-labs/refs/heads/main/workshops/advanced-aks/assets/acns-hubble-ui.yaml
curl -o acns-hubble-ui.yaml ./assets/acns-hubble-ui.yaml
```

Optionally, run the following command to take a look at the Hubble UI manifest file.
Expand Down Expand Up @@ -1267,7 +1268,7 @@ This setup is a modified version of [this guide](https://kubernetes.io/docs/task
Run the following command to download the MySQL manifest file.

```bash
curl -o acstor-mysql-config-services.yaml https://raw.githubusercontent.com/Azure-Samples/aks-labs/refs/heads/main/workshops/advanced-aks/assets/acstor-mysql-config-services.yaml
curl -o acstor-mysql-config-services.yaml ./assets/acstor-mysql-config-services.yaml
```

Optionally, run the following command to take a look at the MySQL manifest file.
Expand All @@ -1287,7 +1288,7 @@ Next, we'll deploy the MySQL server using the new storage class.
Run the following command to download the MySQL statefulset manifest file.

```bash
curl -o acstor-mysql-statefulset.yaml https://raw.githubusercontent.com/Azure-Samples/aks-labs/refs/heads/main/workshops/advanced-aks/assets/acstor-mysql-statefulset.yaml
curl -o acstor-mysql-statefulset.yaml ./assets/acstor-mysql-statefulset.yaml
```

Optionally, run the following command to take a look at the MySQL statefulset manifest file.
Expand Down

0 comments on commit 5a99b85

Please sign in to comment.