Deploy an AKS Cluster

Use Terraform to deploy an AKS cluster that can support the CN-Series firewall.
The repository AKS folder contains a Terraform plan that deploys a Kubernetes cluster in Microsoft's Azure Kubernetes Service (AKS). This cluster meets the minimum requirements to support a CN-Series firewall and can span multiple availability zones for maximum redundancy and scalability.
  1. Log into Azure using its CLI interface.
    $ az login
  2. Create a
    file and add the following variables and their associated values.
    location = ""                  # The Azure region ssh_key  = ""                  # The contents of your SSH public key
  3. Initialize the Terraform providers.
    terraform init
  4. Validate the Terraform plan.
    terraform plan
  5. Apply the Terraform plan.
    $ terraform apply
  6. Update the kubeconfig file with the new cluster's information.
    Enter this command as a single line:
    $ az aks get-credentials --name $(terraform output az_cluster_name)
      --resource-group $(terraform output az_resource_group)
  7. Verify the cluster nodes have been built and are in a Ready status.
    $ kubectl get nodes
    NAME STATUS ROLES AGE VERSION aks-default-50806154-vmss000000 Ready agent 22m v1.14.8 aks-default-50806154-vmss000001 Ready agent 22m v1.14.8

Recommended For You