From 364c45803a308398fd74ae58bd2cf36182c2ed36 Mon Sep 17 00:00:00 2001 From: liaosirui Date: Thu, 31 Oct 2024 10:53:45 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=95=9C=E5=83=8F=E5=90=8D?= =?UTF-8?q?=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 6 +++--- build.sh | 4 +++- deploy/numa-daemonset.yaml | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 6a4080d..a89af94 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ -IMG ?= hongxuming/nriplugin:latest +IMG ?= numadj-nriplugin:latest -CONTAINER_TOOL ?= nerdctl +CONTAINER_TOOL ?= docker #----------------------------------------# # 镜像构建、推送、打包 # @@ -16,7 +16,7 @@ docker-push: .PHONY: pack # 打包NRI插件为tar包 pack: make docker-build - ${CONTAINER_TOOL} save -o bin/nriplugin.tar ${IMG} + ${CONTAINER_TOOL} save -o bin/numadj-nriplugin.tar ${IMG} #----------------------------------------# # 构建gprc服务器 # diff --git a/build.sh b/build.sh index 7606edb..1b5dade 100755 --- a/build.sh +++ b/build.sh @@ -3,4 +3,6 @@ set -ex docker build -t numadj-nriplugin:latest . -docker save numadj-nriplugin:latest > bin/numadj-nriplugin.tar \ No newline at end of file +docker save numadj-nriplugin:latest > bin/numadj-nriplugin.tar + +docker images prune -q diff --git a/deploy/numa-daemonset.yaml b/deploy/numa-daemonset.yaml index 4947e3a..ffab960 100644 --- a/deploy/numa-daemonset.yaml +++ b/deploy/numa-daemonset.yaml @@ -75,7 +75,7 @@ spec: path: /var/run/nri/nri.sock containers: - name: numaadj - image: hongxuming/nriplugin:latest + image: numadj-nriplugin:latest env: - name: NRI_POD_NAME valueFrom: -- Gitee