Azure AKS Cluster Network Initialization Configuration
TOC
Support Overview
Prerequisites
If you have created an AKS cluster, import the Azure AKS cluster.
Configuration Steps
Deploy Ingress Controller
AKS uses container network mode and leverages Nginx Ingress Controller to manage load balancers, while providing external access addresses for virtual IP addresses (VIPs) in the container internal network through LoadBalancer type Services.
-
Log in to Microsoft Azure and access your created AKS cluster.
-
In the left navigation, click Kubernetes Resources > Services and Ingresses.
-
Click Create, select Ingress (Preview) from the dropdown, and it will prompt and automatically create an Ingress Controller.
-
Click Enable and wait for completion.
Create Ingress and LoadBalancer Services
You can create ingress and LoadBalancer services simultaneously or choose one based on your needs.
Create Ingress
-
In Container Platform, click Network > Ingress in the left navigation.
-
Click Create Ingress and select webapprouting.kubernetes.azure.com for Ingress Class.
-
Select Protocol. Default is HTTP. For HTTPS, first create a certificate and select it.
-
Click Create.
Create LoadBalancer Service
-
In Container Platform, click Network > Services in the left navigation.
-
Click Create Service and select LoadBalancer for External Access.
-
Expand annotations and fill in LoadBalancer service annotations as needed.
-
Click Create.
Related Operations
Create Certificate
When using HTTPS protocol, save HTTPS certificate credentials as a Secret (TLS type) in advance.
-
In Container Platform, click Configuration > Secrets in the left navigation.
-
Click Create Secret.
-
Select TLS type and import or fill in Certificate and Private Key as needed.
-
Click Create.