An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
Hi HImanshu
ANy update i responded in private?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I want to test virtual nodes usage , is there any that i can create that scenario in my own lab before takes to prod.
if yes please suggest
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
Hi HImanshu
ANy update i responded in private?
Varma - Yes, you can safely test AKS Virtual Nodes usage in your own lab environment before rolling it out to production. Microsoft fully supports lab and POC testing for Virtual Nodes using Azure Kubernetes Service (AKS) with Azure Container Instances (ACI).
2. Use a lightweight, stateless workload for testing
Deploy a simple container (for example, a NGINX or hello‑world app) and explicitly schedule it onto the virtual node using node Selector and tolerations. This validates scheduling, networking, and pod startup behavior without impacting cost or complexity.
No unexpected scheduling failures
This mirrors production behavior without VM provisioning delays. [learn.microsoft.com]
Important Lab Limitations to Validate
Microsoft Guidance (Recommended Reading) - Use Virtual Nodes with AKS - Microsoft Learn: AKS Virtual Nodes
If you have any further queries, let me know. If the information is helpful, please click on Upvote and Accept Answer on it.
Yes, virtual nodes can be fully tested in a lab AKS cluster before using them in production. The process is:
az provider list --query "[?contains(namespace,'Microsoft.ContainerInstance')]" -o table
Microsoft.ContainerInstance is NotRegistered, register it:
az provider register --namespace Microsoft.ContainerInstance
az group create --name myResourceGroup --location eastus
myResourceGroup), cluster name (for example myAKSCluster), region, and Kubernetes version.virtual-node.yaml as shown in the docs (it must include a nodeSelector and toleration so the pod schedules on the virtual node). kubectl apply -f virtual-node.yaml
kubectl get pods -o wide
Example output:
NAME READY STATUS RESTARTS AGE IP NODE
aci-helloworld-... 1/1 Running 0 4m 10.241.0.4 virtual-node-aci-linux
kubectl run -it --rm testvk --image=mcr.microsoft.com/dotnet/runtime-deps:6.0
apt-get update && apt-get install -y curl
kubectl get pods -o wide):
curl -L http://10.241.0.4
exit
HTTP response status code 400 error code "InaccessibleImage". kubectl delete -f virtual-node.yaml
az aks disable-addons --resource-group myResourceGroup --name myAKSCluster --addons virtual-node
This lab flow lets you validate scheduling, networking, and image pulling for virtual nodes before moving the pattern to production.
References: