Skip to content

Commit

Permalink
Fix prefetch for ARM64
Browse files Browse the repository at this point in the history
Signed-off-by: Artem Glazychev <artem.glazychev@xored.com>
  • Loading branch information
glazychev-art committed Mar 7, 2024
1 parent 2fa1987 commit e7a6c0e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions extensions/prefetch/k8s.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Copyright (c) 2021 Doc.ai and/or its affiliates.
//
// Copyright (c) 2024 Cisco and/or its affiliates.
//
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down Expand Up @@ -41,8 +43,11 @@ spec:
app: prefetch-{{.Number}}
spec:
initContainers:
# return container is used to pass the return application to other containers.
# containers use this to exit immediately after loading the image.
# See: https://github.com/glazychev-art/return
- name: return
image: rrandom312/return
image: ghcr.io/glazychev-art/return
imagePullPolicy: IfNotPresent
command: ["cp", "/bin/return", "/out/return"]
volumeMounts:
Expand All @@ -51,7 +56,7 @@ spec:
{{.Containers}}
containers:
- name: pause
image: google/pause:latest
image: registry.k8s.io/pause:3.9
volumes:
- name: bin
emptyDir: { }
Expand Down

0 comments on commit e7a6c0e

Please sign in to comment.