Skip to content

Commit

Permalink
Merge pull request #3511 from glazychev-art/arm64_fix
Browse files Browse the repository at this point in the history
Fix prefetch for ARM64
  • Loading branch information
denis-tingaikin authored Mar 13, 2024
2 parents ca96084 + 56971ca commit 3c656a3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 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,10 @@ spec:
app: prefetch-{{.Number}}
spec:
initContainers:
# return container is used to pass the return application to other containers.
# containers use it to exit immediately after loading the image.
- name: return
image: rrandom312/return
image: ghcr.io/networkservicemesh/cmd-return
imagePullPolicy: IfNotPresent
command: ["cp", "/bin/return", "/out/return"]
volumeMounts:
Expand All @@ -51,7 +55,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 3c656a3

Please sign in to comment.