Create an Azure Kubernetes Service (AKS) cluster with jx
Explore the steps to create an Azure Kubernetes Service cluster with Jenkins X, including authentication, cluster configuration, Jenkins X and ingress installation, and GitOps setup. Understand how Jenkins X automates environment creation and configures your kubectl context for streamlined Kubernetes management.
We'll cover the following...
Creating an Azure Kubernetes Service (AKS) cluster with jx
We’ll create an AKS cluster with all the tools installed and configured.
Cluster name, resource group, location and nodes
We’ll name the cluster with a unique value (--cluster-name) and let it reside inside its own group jxrocks-group (--resource-group-name). It’ll run inside the eastus location (--location) and on Standard_D2s_v3 (2 CPUs and 8GB RAM) machines (--node-vm-size). The number of nodes will be set to three (--nodes).
Default admin password
We’ll also set the default Jenkins X password to admin ( --default-admin-password). Otherwise, the process will create a random one.
Default environment prefix
Finally, we’ll set jx-rocks as the default environment prefix (--default-environment-prefix). A part of the process, we will create a few repositories (one for staging and the other for production), and that prefix will be used to form their names. We won’t go into much detail about those environments and repositories just yet ...