Skip to main content
Version: 3.1

Prerequisites for Azure Kubernetes Service (AKS)

Deprecation notice

Support for K3s is being discontinued; migrate to a supported Kubernetes platform.

Environment Prerequisites

For a Portworx cluster on Azure Kubernetes Service (AKS), each node must meet the following hardware, software, and network requirements:

Hardware
CPU4 cores minimum, 8 cores recommended
RAM4GB minimum, 8GB recommended
Disk
  • /var
  • /opt
  • 2GB free
  • 3GB free
Backing driveUse Azure Managed Disks: Standard or Premium SSDs are recommended.
Operating system root partition64 GB is the minimum required size for the root filesystem which contains the operating system
128 GB minimum recommended
Storage drivesAzure Managed Disks or Azure Blob Storage.
Network connectivityBandwidth:
  • 10 Gbps recommended
  • 1 Gbps minimum

Latency requirements for synchronous replication: less than 10ms between nodes in the cluster
Node typeAzure Virtual Machines (VMs)
Software
Linux kernel and distroKernel version 3.10 or greater. Supported distributions include Ubuntu, CentOS, and Red Hat Enterprise Linux.
Key-value storePortworx needs a key-value store for operations. You can use Azure provided managed services like Azure Database for Etcd, or deploy your own.
Disable swapPlease disable swap on all nodes that will run the Portworx software. Ensure that the swap device is not automatically mounted on server reboot.

Portworx network requirements

Portworx runs as a pod in a Kubernetes cluster and uses specific ports for communication, data transfer, and telemetry.

note
  • Portworx also requires the following ports:
    • An open KVDB port. For example, if you're using etcd externally, open port 2379.
    • An open UDP port at 9002.
  • For telemetry, open ports 9024, 12001, and 12002. Ensure you are running Portworx Operator version 23.7.0 or higher to configure the telemetry port:
    • Portworx Versions 2.13.7 and Older: Open port 9024 specifically for telemetry.
    • Portworx Versions 2.13.8 and Newer: Use port 9029 for telemetry.
KubernetesDescription
9001Portworx management port [REST]
9002Portworx node-to-node port [gossip]/UDP
9003Portworx storage data port
9004Portworx namespace [RPC]
9012Portworx node-to-node communication port [gRPC]
9013Portworx namespace driver [gRPC]
9014Portworx diags server port [gRPC]
9018Portworx kvdb peer-to-peer port [gRPC]
9019Portworx kvdb client service [gRPC]
9021Portworx gRPC SDK gateway [REST]
9022Portworx health monitor [REST]
9029Telemetry log uploader
12002Telemetry phone home

Supported disk types

Cloud providerDisk types
Azure
  • Standard_LRS
  • StandardSSD_LRS
  • Premium_LRS
  • PremiumV2_LRS
  • UltraSSD_LRS
caution

Important notes for the PremiumV2_LRS and UltraSSD_LRS Disk Types:

  • For a comprehensive overview of their limitations, refer to the Azure documentation pages for PremiumV2_LRS and UltraSSD_LRS.
  • To enable expansion of PremiumV2_LRS and UltraSSD_LRS disk types requires a dedicated storage pool for the metadata partition. This is crucial to avoid losing metadata during the disk expansion process.
  • When configuring the UltraSSD_LRS disk type, Portworx uses the median limit for IOPs. To adjust the performance settings of the UltraSSD_LRS disk type according to your needs, see the Adjust the Performance of an Ultra Disk page in the Azure documentation.

Supported Kubernetes versions

Before installing Portworx on AKS, ensure you are using a supported Kubernetes version:

Portworx Enterprise supported Kubernetes versions

note

K3s users: You must use CSI integration to generate/use PVCs.

TypeSupported Versions
AKS
  • 1.26.10
  • 1.27.9
  • 1.28.9
  • 1.29.5

Best practices

Prevent Accidental Deletion: If your virtualization software has a feature to prevent accidental deletion, you should enable it for the VMs hosting PX nodes. While PX is designed to handle the loss of some nodes without issue, losing a significant number of storage nodes due to VM deletion can result in a loss of quorum and an outage. For more information on how to prevent accidental deletion of VM, refer to Lock your resources to protect your infrastructure on Azure.

Was this page helpful?