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
|
fallthrough
|
||||||
case render.PhaseImagePullBackOff:
|
case render.PhaseImagePullBackOff:
|
||||||
fallthrough
|
fallthrough
|
||||||
|
case render.PhaseContainerStatusUnknown:
|
||||||
|
fallthrough
|
||||||
|
case render.PhaseEvicted:
|
||||||
|
fallthrough
|
||||||
case render.PhaseOOMKilled:
|
case render.PhaseOOMKilled:
|
||||||
// !!BOZO!! Might need to bump timeout otherwise rev limit if too many??
|
// !!BOZO!! Might need to bump timeout otherwise rev limit if too many??
|
||||||
log.Debug().Msgf("Sanitizing %s:%s", pod.Namespace, pod.Name)
|
log.Debug().Msgf("Sanitizing %s:%s", pod.Namespace, pod.Name)
|
||||||
|
|
|
||||||
|
|
@ -28,19 +28,21 @@ const (
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
PhaseTerminating = "Terminating"
|
PhaseTerminating = "Terminating"
|
||||||
PhaseInitialized = "Initialized"
|
PhaseInitialized = "Initialized"
|
||||||
PhaseRunning = "Running"
|
PhaseRunning = "Running"
|
||||||
PhaseNotReady = "NoReady"
|
PhaseNotReady = "NoReady"
|
||||||
PhaseCompleted = "Completed"
|
PhaseCompleted = "Completed"
|
||||||
PhaseContainerCreating = "ContainerCreating"
|
PhaseContainerCreating = "ContainerCreating"
|
||||||
PhasePodInitializing = "PodInitializing"
|
PhasePodInitializing = "PodInitializing"
|
||||||
PhaseUnknown = "Unknown"
|
PhaseUnknown = "Unknown"
|
||||||
PhaseCrashLoop = "CrashLoopBackOff"
|
PhaseCrashLoop = "CrashLoopBackOff"
|
||||||
PhaseError = "Error"
|
PhaseError = "Error"
|
||||||
PhaseImagePullBackOff = "ImagePullBackOff"
|
PhaseImagePullBackOff = "ImagePullBackOff"
|
||||||
PhaseOOMKilled = "OOMKilled"
|
PhaseOOMKilled = "OOMKilled"
|
||||||
PhasePending = "Pending"
|
PhasePending = "Pending"
|
||||||
|
PhaseContainerStatusUnknown = "ContainerStatusUnknown"
|
||||||
|
PhaseEvicted = "Evicted"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Pod renders a K8s Pod to screen.
|
// Pod renders a K8s Pod to screen.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue