summaryrefslogtreecommitdiffstats
path: root/clover/clovisor/build-docker
diff options
context:
space:
mode:
authorStephen Wong <stephen.kf.wong@gmail.com>2019-01-28 08:19:11 +0000
committerStephen Wong <stephen.kf.wong@gmail.com>2019-01-28 08:22:28 +0000
commita0a9f9e8bc71615899a76caa2eda85aef9930a4f (patch)
tree0e40bfbced28710d5ee7286cec99e8e774b11652 /clover/clovisor/build-docker
parent6aa27547b71bff174e3017f637a002546033bf39 (diff)
Prevent clovisor from unable to create qdisc / filter from previous
instance dying abnormally (qdisc deletion is part of exit callback for pod under monitoring, but if clovisor exits abnormally, qdisc would not be deleted, which cause the restarted new clovisor pod unable to load BPF code to the pods under monitoring) Change-Id: I5620f34e7f05805e203d1cfda9a8f7a1d42fd4f5 Signed-off-by: Stephen Wong <stephen.kf.wong@gmail.com>
Diffstat (limited to 'clover/clovisor/build-docker')
-rwxr-xr-xclover/clovisor/build-docker8
1 files changed, 4 insertions, 4 deletions
diff --git a/clover/clovisor/build-docker b/clover/clovisor/build-docker
index 4f776ec..99668d7 100755
--- a/clover/clovisor/build-docker
+++ b/clover/clovisor/build-docker
@@ -14,7 +14,7 @@ if [ -z "$1" ]
fi
cp bin/clovisor .
docker build --build-arg TARGET_KERNEL_VER=$kernel_ver -t clovisor .
-docker tag clovisor localhost:5000/clovisor
-docker push localhost:5000/clovisor
-#docker tag clovisor s3wong/clovisor
-#docker push s3wong/clovisor
+#docker tag clovisor localhost:5000/clovisor
+#docker push localhost:5000/clovisor
+docker tag clovisor s3wong/clovisor
+docker push s3wong/clovisor