Skip to content
Snippets Groups Projects
Select Git revision
  • 99c7acbe5ffe817f22e0094f45a3fd0f6715b05b
  • master default protected
  • v1.14.7
  • v1.14.6
  • v1.14.5
  • v1.14.4
  • v1.14.3
  • v1.14.2
  • v1.14.1
  • v1.14.0
  • v1.13.2
  • v1.13.1
  • v1.13.0
  • v1.12.1
  • v1.12.0
  • v1.11.1
  • v1.11.0
  • v1.10.0
  • v1.9.2
  • v1.9.1
  • v1.9.0
  • v1.8.4
22 results

requirements-dev.txt

Blame
  • azure.md 4.91 KiB

    Azure

    To deploy Kubernetes on Azure uncomment the cloud_provider option in group_vars/all/all.yml and set it to 'azure'.

    All your instances are required to run in a resource group and a routing table has to be attached to the subnet your instances are in.

    Not all features are supported yet though, for a list of the current status have a look here

    Parameters

    Before creating the instances you must first set the azure_ variables in the group_vars/all/all.yml file.

    All of the values can be retrieved using the Azure CLI tool which can be downloaded here: https://docs.microsoft.com/en-gb/cli/azure/install-azure-cli After installation you have to run az login to get access to your account.

    azure_cloud

    Azure Stack has different API endpoints, depending on the Azure Stack deployment. These need to be provided to the Azure SDK. Possible values are: AzureChinaCloud, AzureGermanCloud, AzurePublicCloud and AzureUSGovernmentCloud. The full list of existing settings for the AzureChinaCloud, AzureGermanCloud, AzurePublicCloud and AzureUSGovernmentCloud is available in the source code here

    azure_tenant_id + azure_subscription_id

    run az account show to retrieve your subscription id and tenant id: azure_tenant_id -> Tenant ID field azure_subscription_id -> ID field

    azure_location

    The region your instances are located, can be something like westeurope or westcentralus. A full list of region names can be retrieved via az account list-locations

    azure_resource_group

    The name of the resource group your instances are in, can be retrieved via az group list

    azure_vmtype

    The type of the vm. Supported values are standard or vmss. If vm is type of Virtual Machines then value is standard. If vm is part of Virtual Machine Scale Sets then value is vmss

    azure_vnet_name

    The name of the virtual network your instances are in, can be retrieved via az network vnet list

    azure_vnet_resource_group