diff --git a/Makefile b/Makefile index 6a4080d110199c36f174b1b6d0116f1864231bfa..a89af943a857143b15ee1ed7a1f307a8c038464f 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 7606edb0741d3698848993272acd77243f903487..1b5dade9a36612028c26b876807ede85948b1fb8 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 4947e3a7c7217fa1eeba83faaffded08fb3ed9a2..ffab9603353e70171e12ba5181b949c339912224 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: