Preparing the lab infrastructure and tools
In this section, we will set up our lab infrastructure and the required tools for deploying and learning about Azure Arc enabled PostgreSQL. Since Azure Arc requires a Kubernetes-based infrastructure to deploy data services, we must get a Kubernetes cluster up and running.
Installing the Azure CLI and Kubernetes CLI
As a prerequisite, please install the Azure Command-Line Interface (Azure CLI) and the Kubernetes CLI (kubectl
) on your machine before proceeding with the following steps:
- Download and install the Azure CLI for your machine by following the instructions at https://docs.microsoft.com/en-us/cli/azure/install-azure-cli.
- Once the CLI has been installed, you can run the following command to install the Kubernetes CLI:
az aks install-cli
Please note that you can also use Azure Cloud Shell to run many of the commands mentioned in this book. Cloud Shell includes AKS tools by default.