TanzuOnAzure

Prior to deploying the bootstramp virtual machine and TKG clusters, there are several prerequisites that need to be addressed:

Creation of Service Principal

Virtual Network Configuration

The section will cover the following Azure networking requirements.

Subnets

For my implementation of TKG on Azure I created 3 subnets:

Network Security Groups

TKG on Azure requires two Network Security Groups (NSGs) to be defined for the VNet.

e.g. if the Management cluster was named tkg01-mgmt the NSGs would need to be called:

[!Important] Creating NSGs names that do not follow the format above may cause deployment issues.

[!Important] The NSGs need to exist within the same resource group as the VNet.

Bootstrap Subnet NSG

Direction Source Destination Port Protocol
Inbound * Bootstrap Subnet 22 TCP
Outbound Bootstrap Subnet Management Subnet
Workload Subnet
22 TCP
Outbound Bootstrap Subnet Management Subnet
Workload Subnet
6443 TCP
Outbound Bootstrap Subnet Internet 80
443
TCP

Management Subnet NSG (CLUSTER-NAME-controlplane-nsg)

Direction Source Destination Port Protocol
Inbound Bootstrap Subnet Management Subnet 22 TCP
Inbound Bootstrap Subnet Management Subnet 6443 TCP
Outbound Management Subnet Workload Subnet 22 TCP
Outbound Management Subnet Workload Subnet 6443 TCP

Workload Subnet NSG (CLUSTER-NAME-node-nsg)

Direction Source Destination Port Protocol
Inbound Bootstrap Subnet Workload Subnet 22 TCP
Inbound Bootstrap Subnet Workload Subnet 6443 TCP
Outbound Management Subnet Management Subnet 22 TCP
Outbound Management Subnet Management Subnet 6443 TCP

https://docs.vmware.com/en/VMware-Tanzu-Kubernetes-Grid/2.4/tkg-deploy-mc/mgmt-reqs-prep-azure.html

Internet Egress Requirements

The section documents URLs to allow through a firewall or proxy solution if URLs are required to be explictly allowed.

Azure Portal URLs

URL Ports Purpose Source
login.microsoftonline.com 443 Azure portal authentication Bootstrap machine
*.aadcdn.msftauth.net 443 Azure portal authentication Bootstrap machine
*.aadcdn.msftauthimages.net 443 Azure portal authentication Bootstrap machine
*.aadcdn.msauthimages.net 443 Azure portal authentication Bootstrap machine
*.logincdn.msftauth.net 443 Azure portal authentication Bootstrap machine
login.live.com 443 Azure portal authentication Bootstrap machine
*.msauth.net 443 Azure portal authentication Bootstrap machine
*.aadcdn.microsoftonline-p.com 443 Azure portal authentication Bootstrap machine
*.microsoftonline-p.com 443 Azure portal authentication Bootstrap machine
*.portal.azure.com 443 Azure portal framework Bootstrap machine
*.hosting.portal.azure.net 443 Azure portal framework Bootstrap machine
*.reactblade.portal.azure.net 443 Azure portal framework Bootstrap machine
management.azure.com 443 Azure portal framework Bootstrap machine
*.ext.azure.com 443 Azure portal framework Bootstrap machine
*.graph.windows.net 443 Azure portal framework Bootstrap machine
*.graph.microsoft.com 443 Azure portal framework Bootstrap machine
azure.archive.ubuntu.com 80, 443 Updating Ubuntu Bootstrap machine

References

Docker Desktop URLs

URL Port Purpose Source
download.docker.com 443 Requires for the installation of Docker Engine Bootstrap machine
api.segment.io 443 Analytics Bootstrap machine
cdn.segment.com 443 Analytics Bootstrap machine
api.wootric.com 443 Analytics Bootstrap machine
cdn.wootric.com 443 Analytics Bootstrap machine
notify.bugsnag.com 443 Error reports Bootstrap machine
sessions.bugsnag.com 443 Error reports Bootstrap machine
auth.docker.io 443 Authentication Bootstrap machine
cdn.auth0.com 443 Authentication Bootstrap machine
login.docker.com 443 Authentication Bootstrap machine
desktop.docker.com 443 Update Bootstrap machine
hub.docker.com 443 Docker Pull/Push Bootstrap machine
registry-1.docker.io 443 Docker Pull/Push Bootstrap machine
production.cloudflare.docker.com 443 Docker Pull/Push Bootstrap machine
docker-pinata-support.s3.amazonaws.com 433 Troubleshooting Bootstrap machine
api.dso.docker.com 443 Docker Scout service Bootstrap machine

https://docs.docker.com/engine/install/ubuntu/

VMware URLs

Description URL Source
projects.registry.vmware.com VMware plugins registry hosts images, binaries and configuration files used by the Tanzu CLI to perform core functions like creating clusters and managing access. Tanzu Standard package repository stores images for packaged services that the Tanzu CLI installs into clusters. Bootstrap machine
registry.tkg.vmware.run Uses Harbor to host images that TKG uses to bootstrap management and workload clusters. Images in this registry are scanned for vulnerabilities and are safe to operate in all environments Bootstrap machine

References

Kind URLs

Optional if you would like to install Kind to view the clusters

URL Purpose Source
kind.sigs.k8s.io Bootstrap machine
github.com Bootstrap machine
objects.githubusercontent.com Bootstrap machine

References