From 5d97f2afa878174a91eea8a8e3f0de4521ce918b Mon Sep 17 00:00:00 2001 From: Ganesh Rathinavel Medayil <182092+ganeshrvel@users.noreply.github.com> Date: Tue, 19 Mar 2024 18:56:47 +0530 Subject: [PATCH] Improve the image pull backoff matcher (#1349) --- src/robusta/core/playbooks/pod_utils/imagepull_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/robusta/core/playbooks/pod_utils/imagepull_utils.py b/src/robusta/core/playbooks/pod_utils/imagepull_utils.py index 6e5c4db78..7f4847520 100644 --- a/src/robusta/core/playbooks/pod_utils/imagepull_utils.py +++ b/src/robusta/core/playbooks/pod_utils/imagepull_utils.py @@ -126,7 +126,7 @@ class ImagePullBackoffInvestigator: configs = [ # Containerd { - "err_template": 'failed to pull and unpack image ".*?": failed to resolve reference ".*?": .*?: not found', + "err_template": r'failed to pull and unpack image ".*?": failed to resolve reference ".*?": .*?(no such host|not found)', "reason": ImagePullBackoffReason.RepoDoesntExist, }, {