Class AgentPoolMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AgentPoolMode>
com.azure.resourcemanager.containerservice.models.AgentPoolMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The mode of an agent pool. A cluster must have at least one 'System' Agent Pool at all times. For additional
information on agent pool restrictions and best practices, see:
https://docs.microsoft.com/azure/aks/use-system-pools.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AgentPoolModeGateway agent pools are dedicated to providing static egress IPs to pods.static final AgentPoolModeSystem agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server.static final AgentPoolModeUser agent pools are primarily for hosting your application pods. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AgentPoolModefromString(String name) Creates or finds a AgentPoolMode from its string representation.static Collection<AgentPoolMode> values()Gets known AgentPoolMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SYSTEM
System agent pools are primarily for hosting critical system pods such as CoreDNS and metrics-server. System agent pools osType must be Linux. System agent pools VM SKU must have at least 2vCPUs and 4GB of memory. -
USER
User agent pools are primarily for hosting your application pods. -
GATEWAY
Gateway agent pools are dedicated to providing static egress IPs to pods. For more details, see https://aka.ms/aks/static-egress-gateway.
-
-
Constructor Details
-
AgentPoolMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of AgentPoolMode value.
-
-
Method Details
-
fromString
Creates or finds a AgentPoolMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AgentPoolMode.
-
values
Gets known AgentPoolMode values.- Returns:
- known AgentPoolMode values.
-
fromString(String)factory method.