chore: rebasing off main and resolving conflicts (#2314)
Co-authored-by: Joshua Ward <joshua.l.ward@leidos.com>mine
parent
b56c151d94
commit
d63fe83edb
|
|
@ -544,6 +544,10 @@ func (p *Pod) Sanitize(ctx context.Context, ns string) (int, error) {
|
|||
fallthrough
|
||||
case render.PhaseImagePullBackOff:
|
||||
fallthrough
|
||||
case render.PhaseContainerStatusUnknown:
|
||||
fallthrough
|
||||
case render.PhaseEvicted:
|
||||
fallthrough
|
||||
case render.PhaseOOMKilled:
|
||||
// !!BOZO!! Might need to bump timeout otherwise rev limit if too many??
|
||||
log.Debug().Msgf("Sanitizing %s:%s", pod.Namespace, pod.Name)
|
||||
|
|
|
|||
|
|
@ -28,19 +28,21 @@ const (
|
|||
)
|
||||
|
||||
const (
|
||||
PhaseTerminating = "Terminating"
|
||||
PhaseInitialized = "Initialized"
|
||||
PhaseRunning = "Running"
|
||||
PhaseNotReady = "NoReady"
|
||||
PhaseCompleted = "Completed"
|
||||
PhaseContainerCreating = "ContainerCreating"
|
||||
PhasePodInitializing = "PodInitializing"
|
||||
PhaseUnknown = "Unknown"
|
||||
PhaseCrashLoop = "CrashLoopBackOff"
|
||||
PhaseError = "Error"
|
||||
PhaseImagePullBackOff = "ImagePullBackOff"
|
||||
PhaseOOMKilled = "OOMKilled"
|
||||
PhasePending = "Pending"
|
||||
PhaseTerminating = "Terminating"
|
||||
PhaseInitialized = "Initialized"
|
||||
PhaseRunning = "Running"
|
||||
PhaseNotReady = "NoReady"
|
||||
PhaseCompleted = "Completed"
|
||||
PhaseContainerCreating = "ContainerCreating"
|
||||
PhasePodInitializing = "PodInitializing"
|
||||
PhaseUnknown = "Unknown"
|
||||
PhaseCrashLoop = "CrashLoopBackOff"
|
||||
PhaseError = "Error"
|
||||
PhaseImagePullBackOff = "ImagePullBackOff"
|
||||
PhaseOOMKilled = "OOMKilled"
|
||||
PhasePending = "Pending"
|
||||
PhaseContainerStatusUnknown = "ContainerStatusUnknown"
|
||||
PhaseEvicted = "Evicted"
|
||||
)
|
||||
|
||||
// Pod renders a K8s Pod to screen.
|
||||
|
|
|
|||
Loading…
Reference in New Issue