Class UndrainableNodeBehavior

java.lang.Object
com.azure.core.util.ExpandableStringEnum<UndrainableNodeBehavior>
com.azure.resourcemanager.containerservice.models.UndrainableNodeBehavior
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class UndrainableNodeBehavior extends com.azure.core.util.ExpandableStringEnum<UndrainableNodeBehavior>
Defines the behavior for undrainable nodes during upgrade. The most common cause of undrainable nodes is Pod Disruption Budgets (PDBs), but other issues, such as pod termination grace period is exceeding the remaining per-node drain timeout or pod is still being in a running state, can also cause undrainable nodes.
  • Field Details

  • Constructor Details

    • UndrainableNodeBehavior

      @Deprecated public UndrainableNodeBehavior()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of UndrainableNodeBehavior value.
  • Method Details

    • fromString

      public static UndrainableNodeBehavior fromString(String name)
      Creates or finds a UndrainableNodeBehavior from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding UndrainableNodeBehavior.
    • values

      public static Collection<UndrainableNodeBehavior> values()
      Gets known UndrainableNodeBehavior values.
      Returns:
      known UndrainableNodeBehavior values.