From 931cd92b2c893f400a3c734df0d952636013b03d Mon Sep 17 00:00:00 2001 From: Jon Jackson Date: Tue, 2 Apr 2019 11:26:41 -0400 Subject: [PATCH] Show "Evicted" instead of "Failed" for evicted pod status --- frontend/public/module/k8s/pods.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/public/module/k8s/pods.ts b/frontend/public/module/k8s/pods.ts index 4362af63fac..17230639be7 100644 --- a/frontend/public/module/k8s/pods.ts +++ b/frontend/public/module/k8s/pods.ts @@ -182,6 +182,10 @@ export const podPhase = (pod): PodPhase => { return 'Terminating'; } + if (pod.status.reason === 'Evicted') { + return 'Evicted'; + } + let initializing = false; let phase = pod.status.phase || pod.status.reason;