Class NodeEvictionSettings.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • evictionGraceDuration

        public NodeEvictionSettings.Builder evictionGraceDuration​(String evictionGraceDuration)
        Duration after which OKE will give up eviction of the pods on the node.

        PT0M will indicate you want to perform node action without cordon and drain. Default PT60M, Min PT0M, Max: PT60M. Format ISO 8601 e.g PT30M

        Parameters:
        evictionGraceDuration - the value to set
        Returns:
        this builder
      • isForceActionAfterGraceDuration

        public NodeEvictionSettings.Builder isForceActionAfterGraceDuration​(Boolean isForceActionAfterGraceDuration)
        If the node action should be performed if not all the pods can be evicted in the grace period
        Parameters:
        isForceActionAfterGraceDuration - the value to set
        Returns:
        this builder