Skip to content

Commit

Permalink
02
Browse files Browse the repository at this point in the history
  • Loading branch information
Houssem Dellai committed Sep 23, 2024
1 parent afb1c6a commit 8fffc98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 02_kubernetes_aks/Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@ https://docs.microsoft.com/en-us/azure/aks/kubernetes-walkthrough-portal
Another simple option would be to use the Azure CLI.

```sh
az group create --name myResourceGroup --location eastus
az aks create --resource-group myResourceGroup --name myAKSCluster --node-count 3
az group create --name rg-aks-cluster --location swedencentral
az aks create --resource-group rg-aks-cluster --name aks-cluster --node-count 3
```

Next, the kubectl CLI will be used to deploy applications to the cluster.
This command needs to be connected to AKS.
To do that we use the following command:

```sh
az aks get-credentials --resource-group myResourceGroup --name myAKSCluster
az aks get-credentials --resource-group rg-aks-cluster --name aks-cluster
```

Check that the connection was successfull by listing the nodes inside the cluster:
Expand Down

0 comments on commit 8fffc98

Please sign in to comment.