Install Basic Cluster with Azure
Pre-requisites
Section intitulée « Pre-requisites »- Login to Azure CLI:
az login- Create the cluster :
env $(cat .env | sed 's/#.*//g'| xargs) tofu initenv $(cat .env | sed 's/#.*//g'| xargs) tofu apply- Export the kubeconfig file:
env $(cat .env | sed 's/#.*//g'| xargs) tofu kubeconfig- Once the cluster is created, you can install the basic cluster with the following command:
KUBECONFIG=/home/$USER/.kube/kubeconfig-sandbox-cluster kubectl get po --all-namespaces -o wide