public interface PodResource extends Resource<io.fabric8.kubernetes.api.model.Pod>, Loggable, Containerable<String,ContainerResource>, ContainerResource, PortForwardable
| Modifier and Type | Method and Description |
|---|---|
boolean |
evict()
Evicts resource, respecting
PodDisruptionBudget |
boolean |
evict(io.fabric8.kubernetes.api.model.policy.v1.Eviction eviction)
Evicts a pod from its node subject to certain policies and safety constraints.
|
cascading, isReady, lockResourceVersion, lockResourceVersion, requirefromServerwithResourceVersionwaitUntilCondition, waitUntilReadycreate, createOrReplaceaccept, edit, edit, edit, editStatus, patch, patch, patch, patch, patch, patch, patchStatusreplace, replaceStatuscreate, createOrReplace, delete, patchStatus, updateStatuswithGracePeriodwithPropagationPolicyreplace, replaceStatusdryRun, dryRuninform, inform, inform, informOnCondition, runnableInformer, withIndexers, withLimitinContainerdir, file, readingInput, redirectingInput, redirectingInputredirectingOutput, writingOutputredirectingError, terminateOnError, writingErrorredirectingErrorChannel, writingErrorChannelwithTTYusingListenerusingTimestampslimitBytes, terminatedsinceSeconds, sinceTimetailingLineswithPrettyOutputgetLog, getLog, getLogInputStream, getLogReader, watchLog, watchLog, withLogWaitTimeoutportForward, portForward, portForward, portForwardboolean evict()
PodDisruptionBudgetKubernetesClientException - if an error occurs, including if the Pod is not found.boolean evict(io.fabric8.kubernetes.api.model.policy.v1.Eviction eviction)
eviction - Eviction objectKubernetesClientException - if an error occurs, including if the Pod is not found.Copyright © 2015–2022 Red Hat. All rights reserved.