diff --git a/manager/scheduler/filter.go b/manager/scheduler/filter.go index 4e0bb9f02a..5b2f5a0672 100644 --- a/manager/scheduler/filter.go +++ b/manager/scheduler/filter.go @@ -305,6 +305,14 @@ func (f *PlatformFilter) platformEqual(imgPlatform, nodePlatform api.Platform) b nodePlatform.Architecture = "arm64" } + // normalize "loongarch64" architectures to "loong64" + if imgPlatform.Architecture == "loongarch64" { + imgPlatform.Architecture = "loong64" + } + if nodePlatform.Architecture == "loongarch64" { + nodePlatform.Architecture = "loong64" + } + if (imgPlatform.Architecture == "" || imgPlatform.Architecture == nodePlatform.Architecture) && (imgPlatform.OS == "" || imgPlatform.OS == nodePlatform.OS) { return true }