|
| 1 | +[id="installing-azure-user-infra"] |
| 2 | += Installing a cluster on Azure using ARM templates |
| 3 | +include::modules/common-attributes.adoc[] |
| 4 | +:context: installing-azure-user-infra |
| 5 | + |
| 6 | +toc::[] |
| 7 | + |
| 8 | +In {product-title} version {product-version}, you can install a cluster on |
| 9 | +Microsoft Azure by using infrastructure that you provide. |
| 10 | + |
| 11 | +Several |
| 12 | +link:https://docs.microsoft.com/en-us/azure/azure-resource-manager/templates/overview[Azure Resource Manager] |
| 13 | +(ARM) templates are provided to assist in completing these steps or to help |
| 14 | +model your own. You can also create the required resources through other |
| 15 | +methods; the templates are just an example. |
| 16 | + |
| 17 | +.Prerequisites |
| 18 | + |
| 19 | +* Review details about the |
| 20 | +xref:../../architecture/architecture-installation.adoc#architecture-installation[{product-title} installation and update] |
| 21 | +processes. |
| 22 | +* xref:../../installing/installing_azure/installing-azure-account.adoc#installing-azure-account[Configure an Azure account] |
| 23 | +to host the cluster. |
| 24 | +* Download the Azure CLI and install it on your computer. See |
| 25 | +link:https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest[Install the Azure CLI] |
| 26 | +in the Azure documentation. The documentation below was last tested using |
| 27 | +version `2.2.0` of the Azure CLI. Azure CLI commands might perform differently |
| 28 | +based on the version you use. |
| 29 | +* If you use a firewall and plan to use telemetry, you must |
| 30 | +xref:../../installing/install_config/configuring-firewall.adoc#configuring-firewall[configure the firewall to allow the sites] that your cluster requires access to. |
| 31 | ++ |
| 32 | +[NOTE] |
| 33 | +==== |
| 34 | +Be sure to also review this site list if you are configuring a proxy. |
| 35 | +==== |
| 36 | + |
| 37 | +include::modules/cluster-entitlements.adoc[leveloffset=+1] |
| 38 | + |
| 39 | +[id="installation-azure-user-infra-config-project"] |
| 40 | +== Configuring your Azure project |
| 41 | + |
| 42 | +Before you can install {product-title}, you must configure an Azure project to |
| 43 | +host it. |
| 44 | + |
| 45 | +[IMPORTANT] |
| 46 | +==== |
| 47 | +All Azure resources that are available through public endpoints are subject to |
| 48 | +resource name restrictions, and you cannot create resources that use certain |
| 49 | +terms. For a list of terms that Azure restricts, see |
| 50 | +link:https://docs.microsoft.com/en-us/azure/azure-resource-manager/resource-manager-reserved-resource-name[Resolve reserved resource name errors] |
| 51 | +in the Azure documentation. |
| 52 | +==== |
| 53 | + |
| 54 | +include::modules/installation-azure-limits.adoc[leveloffset=+2] |
| 55 | +include::modules/installation-azure-network-config.adoc[leveloffset=+2] |
| 56 | + |
| 57 | +You can view Azure's DNS solution by visiting this |
| 58 | +xref:installation-azure-create-dns-zones_{context}[example for creating DNS zones]. |
| 59 | + |
| 60 | +include::modules/installation-azure-increasing-limits.adoc[leveloffset=+2] |
| 61 | + |
| 62 | +[id="csr-management-azure_{context}"] |
| 63 | +=== Certificate signing requests management |
| 64 | + |
| 65 | +Because your cluster has limited access to automatic machine management when you |
| 66 | +use infrastructure that you provision, you must provide a mechanism for approving |
| 67 | +cluster certificate signing requests (CSRs) after installation. The |
| 68 | +`kube-controller-manager` only approves the kubelet client CSRs. The |
| 69 | +`machine-approver` cannot guarantee the validity of a serving certificate |
| 70 | +that is requested by using kubelet credentials because it cannot confirm that |
| 71 | +the correct machine issued the request. You must determine and implement a |
| 72 | +method of verifying the validity of the kubelet serving certificate requests |
| 73 | +and approving them. |
| 74 | + |
| 75 | +include::modules/installation-azure-permissions.adoc[leveloffset=+2] |
| 76 | +include::modules/installation-azure-service-principal.adoc[leveloffset=+2] |
| 77 | +include::modules/installation-azure-regions.adoc[leveloffset=+2] |
| 78 | + |
| 79 | +include::modules/installation-obtaining-installer.adoc[leveloffset=+1] |
| 80 | + |
| 81 | +include::modules/ssh-agent-using.adoc[leveloffset=+1] |
| 82 | + |
| 83 | +include::modules/installation-user-infra-generate.adoc[leveloffset=+1] |
| 84 | +include::modules/installation-initializing.adoc[leveloffset=+2] |
| 85 | +include::modules/installation-configure-proxy.adoc[leveloffset=+2] |
| 86 | +include::modules/installation-user-infra-exporting-common-variables-arm-templates.adoc[leveloffset=+2] |
| 87 | +include::modules/installation-user-infra-generate-k8s-manifest-ignition.adoc[leveloffset=+2] |
| 88 | + |
| 89 | +include::modules/installation-azure-create-resource-group-and-identity.adoc[leveloffset=+1] |
| 90 | + |
| 91 | +include::modules/installation-azure-user-infra-uploading-rhcos.adoc[leveloffset=+1] |
| 92 | + |
| 93 | +include::modules/installation-azure-create-dns-zones.adoc[leveloffset=+1] |
| 94 | + |
| 95 | +You can learn more about xref:installation-azure-network-config_{context}[configuring a public DNS zone in Azure] |
| 96 | +by visiting that section. |
| 97 | + |
| 98 | +include::modules/installation-creating-azure-vnet.adoc[leveloffset=+1] |
| 99 | +include::modules/installation-arm-vnet.adoc[leveloffset=+2] |
| 100 | + |
| 101 | +include::modules/installation-azure-user-infra-deploying-rhcos.adoc[leveloffset=+1] |
| 102 | +include::modules/installation-arm-image-storage.adoc[leveloffset=+2] |
| 103 | + |
| 104 | +include::modules/installation-creating-azure-dns.adoc[leveloffset=+1] |
| 105 | +include::modules/installation-arm-dns.adoc[leveloffset=+2] |
| 106 | + |
| 107 | +include::modules/installation-creating-azure-bootstrap.adoc[leveloffset=+1] |
| 108 | +include::modules/installation-arm-bootstrap.adoc[leveloffset=+2] |
| 109 | + |
| 110 | +include::modules/installation-creating-azure-control-plane.adoc[leveloffset=+1] |
| 111 | +include::modules/installation-arm-control-plane.adoc[leveloffset=+2] |
| 112 | + |
| 113 | +include::modules/installation-azure-user-infra-wait-for-bootstrap.adoc[leveloffset=+1] |
| 114 | + |
| 115 | +include::modules/installation-creating-azure-worker.adoc[leveloffset=+1] |
| 116 | +include::modules/installation-arm-worker.adoc[leveloffset=+2] |
| 117 | + |
| 118 | +include::modules/cli-installing-cli.adoc[leveloffset=+1] |
| 119 | + |
| 120 | +include::modules/cli-logging-in-kubeadmin.adoc[leveloffset=+1] |
| 121 | + |
| 122 | +include::modules/installation-approve-csrs.adoc[leveloffset=+1] |
| 123 | + |
| 124 | +include::modules/installation-azure-create-ingress-dns-records.adoc[leveloffset=+1] |
| 125 | + |
| 126 | +include::modules/installation-azure-user-infra-completing.adoc[leveloffset=+1] |
0 commit comments