diff --git a/frontend/src/pages/projects/notebook/utils.ts b/frontend/src/pages/projects/notebook/utils.ts index 7a42db512a..e2fcff6783 100644 --- a/frontend/src/pages/projects/notebook/utils.ts +++ b/frontend/src/pages/projects/notebook/utils.ts @@ -239,6 +239,9 @@ export const useNotebookStatus = ( if (!gracePeriod && lastItem.reason === 'FailedScheduling') { currentEvent = 'Insufficient resources to start'; status = EventStatus.ERROR; + } else if (!gracePeriod && lastItem.reason === 'BackOff') { + currentEvent = 'ImagePullBackOff'; + status = EventStatus.ERROR; } else if (lastItem.type === 'Warning') { currentEvent = 'Issue creating notebook container'; status = EventStatus.WARNING; diff --git a/frontend/src/utilities/notebookControllerUtils.ts b/frontend/src/utilities/notebookControllerUtils.ts index 0eed6f6013..5d62bcaa82 100644 --- a/frontend/src/utilities/notebookControllerUtils.ts +++ b/frontend/src/utilities/notebookControllerUtils.ts @@ -435,6 +435,9 @@ export const useNotebookStatus = ( if (!gracePeriod && lastItem.reason === 'FailedScheduling') { currentEvent = 'Insufficient resources to start'; status = EventStatus.ERROR; + } else if (!gracePeriod && lastItem.reason === 'BackOff') { + currentEvent = 'ImagePullBackOff'; + status = EventStatus.ERROR; } else if (lastItem.type === 'Warning') { currentEvent = 'Issue creating notebook container'; status = EventStatus.WARNING;