Interface PodResource

    • Method Detail

      • evict

        boolean evict()
        Evicts resource, respecting PodDisruptionBudget
        Returns:
        value indicating object was evicted or not
        Throws:
        KubernetesClientException - if an error occurs, including if the Pod is not found.
      • evict

        boolean evict​(io.fabric8.kubernetes.api.model.policy.v1.Eviction eviction)
        Evicts a pod from its node subject to certain policies and safety constraints.
        Parameters:
        eviction - Eviction object
        Returns:
        value indicating object was evicted or not
        Throws:
        KubernetesClientException - if an error occurs, including if the Pod is not found.
      • ephemeralContainers

        EphemeralContainersResource ephemeralContainers()
        Manage ephemeral containers for a pod.
        Returns:
        ephemeral containers resource operations
      • patchReadinessGateStatus

        io.fabric8.kubernetes.api.model.Pod patchReadinessGateStatus​(Map<String,​Boolean> readiness)
        Set the Pod status readiness gate fields to match the given map.
        Parameters:
        readiness -
        Returns:
        a new pod instance with the updated readiness gates