Aller au contenu

Install Basic Cluster with Azure

  1. Login to Azure CLI:
Fenêtre de terminal
az login
  1. Create the cluster :
Fenêtre de terminal
env $(cat .env | sed 's/#.*//g'| xargs) tofu init
env $(cat .env | sed 's/#.*//g'| xargs) tofu apply
  1. Export the kubeconfig file:
Fenêtre de terminal
env $(cat .env | sed 's/#.*//g'| xargs) tofu kubeconfig
  1. Once the cluster is created, you can install the basic cluster with the following command:
Fenêtre de terminal
KUBECONFIG=/home/$USER/.kube/kubeconfig-sandbox-cluster kubectl get po --all-namespaces -o wide