Class NodeEvictionNodePoolSettings.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • evictionGraceDuration

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

        PT0M will indicate you want to delete the node 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
      • isForceDeleteAfterGraceDuration

        public NodeEvictionNodePoolSettings.Builder isForceDeleteAfterGraceDuration​(Boolean isForceDeleteAfterGraceDuration)
        If the underlying compute instance should be deleted if you cannot evict all the pods in grace period
        Parameters:
        isForceDeleteAfterGraceDuration - the value to set
        Returns:
        this builder