Skip to content

Commit

Permalink
35
Browse files Browse the repository at this point in the history
  • Loading branch information
Houssem Dellai committed Sep 24, 2024
1 parent 6f62237 commit b054abb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions 26_http_ingress/commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,8 @@ kubectl get pods,svc,ingress --namespace $NAMESPACE_APP_01

# check app is running behind Nginx Ingress Controller (with no HTTPS)
curl http://$INGRESS_PUPLIC_IP
curl http://$INGRESS_PUPLIC_IP/aks-helloworld-one
curl http://$INGRESS_PUPLIC_IP/aks-helloworld-two
curl http://$INGRESS_PUPLIC_IP/hello-world-one
curl http://$INGRESS_PUPLIC_IP/hello-world-two

# Mapping a domain name (Azure Public IP)

Expand Down
4 changes: 2 additions & 2 deletions 27_https_ingress_tls_secret/commands.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
$AKS_RG="rg-aks-tls"
$AKS_NAME="aks-cluster"

az group create -n $AKS_RG -l westeurope
az group create -n $AKS_RG -l swedencentral

az aks create -g $AKS_RG -n $AKS_NAME --network-plugin azure --kubernetes-version "1.25.2" --node-count 2
az aks create -g $AKS_RG -n $AKS_NAME --network-plugin azure --network-plugin-mode overlay

az aks get-credentials --name $AKS_NAME -g $AKS_RG --overwrite-existing

Expand Down
2 changes: 1 addition & 1 deletion 27_https_ingress_tls_secret/commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ AKS="aks-cluster"

az group create -n $RG -l westeurope

az aks create -g $RG -n $AKS --network-plugin azure --kubernetes-version "1.25.2" --node-count 2
az aks create -g $RG -n $AKS --network-plugin azure --network-plugin-mode overlay

az aks get-credentials --name $AKS -g $RG --overwrite-existing

Expand Down
4 changes: 2 additions & 2 deletions 29_https_ingress_keyvault/commands.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# create an AKS cluster
RG="rg-aks-we"
RG="rg-aks-cluster"
AKS="aks-cluster"

az group create -n $RG -l westeurope

az aks create -g $RG -n $AKS --network-plugin azure --kubernetes-version "1.25.2" --node-count 2
az aks create -g $RG -n $AKS --network-plugin azure --node-count 2

az aks get-credentials --name $AKS -g $RG --overwrite-existing

Expand Down
4 changes: 2 additions & 2 deletions 35_app_gateway_ingress/commands.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# create an AKS cluster with Azure CNI network plugin

az group create -n rg-aks-cluster -l westeurope
az group create -n rg-aks-cluster -l swedencentral

az aks create -n aks-cluster -g rg-aks-cluster --network-plugin azure

Expand All @@ -15,7 +15,7 @@ az aks addon enable -n aks-cluster -g rg-aks-cluster `

# connect to AKS cluster

az aks get-credentials -n aks-cluster -g rg-aks-cluster
az aks get-credentials -n aks-cluster -g rg-aks-cluster --overwrite-existing

# view the ingress class created by AGIC

Expand Down
1 change: 0 additions & 1 deletion 40_secret_store_csi_keyvault/commands.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ $AKS_NAME="aks-cluster"
az group create -n $AKS_RG -l westeurope

az aks create -g $AKS_RG -n $AKS_NAME `
--kubernetes-version "1.26.3" `
--enable-managed-identity `
--node-count 3 `
--network-plugin azure `
Expand Down

0 comments on commit b054abb

Please sign in to comment.