Manage Virtual Node Groups (AKS)
Virtual Node Groups (VNGs) provide a single layer of abstraction that enables you to manage different types of workloads on the same cluster. This topic describes how to create, view, edit, and delete virtual node groups in Ocean. See also Default Virtual Node Group.
Before starting, make sure you have an up-and-running Ocean cluster.
Access the Virtual Node Group Tab
- Click Ocean > Cloud Clusters in the left main menu.
- Select a cluster from the list of clusters.
- Click the Virtual Node Groups tab to display the virtual node groups list.
Click for image
This list lets you track live data per virtual node group and contains the following information:
- ID: The identification code of the virtual node group.
- Name: The user-defined name of the virtual node group. (If a virtual node group was defined without a name, it would appear as Unnamed).
- Resource Allocation: Percent of defined CPU, Memory, and GPU currently used by the virtual node group.
- Running Pods: Number of pods used by the virtual node group.
- Max Nodes: Maximum number of nodes defined for the virtual node group.
- Node Count: Number of nodes used by the virtual node group.
- Node Labels: Number of node labels the virtual node group uses.
- Node Taints: Number of taints used by the virtual node group.
- Tags: Number of tags used by the virtual node group.
Create/Edit a Virtual Node Group
To create/edit a Virtual Node Group:
-
In the Virtual Node Groups tab, click Create VNG above the list on the right of the screen (or to edit an existing virtual node group, click the link on the virtual node group's name in the list).
-
If you are creating a virtual node group, select one of these options.
- Configure Manually: All virtual node group fields will be taken from the virtual node group Template.
- Import configurations from Node Pools: Values are copied from the cloud service provider node group entity to the Ocean configuration. Later, there will be no active connection between these two entities. Ocean will provision new VMs, not as part of a managed Kubernetes service of node group entities.
-
Click Continue.
-
Edit the parameters in the New Virtual Node Group screen. Parameters left blank take values from the virtual node group template.
Click for image
General Parameters
- Name: The name you assign to the new Virtual Node Group.
- Availability Zones.
Node Pool Properties
- OS Type and OS SKU.
- OS Disk Type.
- OS Disk Size (up to 2048 GiB). Minimum requirement. Ocean selects a node with at least this size.
- Maximum # pods per node. (from 10 to 250).
- Node Public IP.
- Kubernetes Version.
Ocean Autoscaler Strategy
- Minimum and maximum nodes for autoscaling.
- Spot %: Percentage of spot nodes you want in the virtual node group.
- Fallback to Regular: Turn on to allow Ocean to launch regular (on-demand) nodes when spot markets are unavailable.
- Scaling orientation: While Ocean is designed to optimize your environment for both availability and cost, you can control and manage optimization priorities by configuring the scaling orientation at the virtual node group level.
- Cost (Default): Prioritizes cost savings by selecting the cheapest VM types across all availability zones, which may lead to frequent VM replacements.
- Availability: This approach maximizes VM longevity and distribution across availability zones, ensuring reliability but potentially reducing overall cost savings.
You may have configured virtual node groups with either Spot % to 100 or turned off Fallback to Regular but still have regular nodes running on them. This occurs for regular nodes from the kube-system namespaces. kube-system pods are mission-critical AKS pods that allow the cluster to function correctly.