the cost of aks virtual node and possibility of using aks without node pool

KWOK KIT TSE 41 Reputation points
2021-12-10T14:22:28.493+00:00

Can I use AKS only with virtual node (without any node pool)? Seem it requires at least 1 node..

What I understand virtual node is something like AWS EKS's fargate. Is it correct? I know that EKS can run fargate without node group...Not sure is it same in Azure.

Also what is the cost of virtual node? does it follow the Azure Container Instances price table?

I want a k8s cluster for studying and try to lower the cost. Azure has 0 cost on the control panel comparing to AWS which is attracting me. but I do not want to keep a VM up and running...

Azure Kubernetes Service
Azure Kubernetes Service
An Azure service that provides serverless Kubernetes, an integrated continuous integration and continuous delivery experience, and enterprise-grade security and governance.
2,458 questions
0 comments No comments
{count} votes

Accepted answer
  1. Guy Barrette 171 Reputation points MVP
    2021-12-10T14:42:39.057+00:00

    The system node pool is required by AKS and you can scale it down to 1. User node pools can scale to 0.

    An awesome way to keep costs down while learning is by creating an AKS cluster with a system node pool using small VMs that you can scale down to 1 instance. You can then stop the cluster when not using it, effectively stopping all costs. When ready, simply start the cluster back. You can use the portal to stop/start or use the Azure CLI:
    az aks stop -n myAKSCluster -g myResourceGroup
    az aks start -n myAKSCluster -g myResourceGroup

    Documentation: https://learn.microsoft.com/en-us/azure/aks/start-stop-cluster?tabs=azure-cli

    The virtual node has no cost per se since it is a service running on the control plane. If you run serverless pods, they follow the Azure Container Instances price table.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.