summaryrefslogtreecommitdiffstats
path: root/clover/clovisor/build-docker
diff options
context:
space:
mode:
authorStephen Wong <stephen.kf.wong@gmail.com>2019-01-18 01:50:08 +0000
committerStephen Wong <stephen.kf.wong@gmail.com>2019-01-18 01:50:08 +0000
commit6aa27547b71bff174e3017f637a002546033bf39 (patch)
treeb89410b7bf14d896c04686ed05d7259f01a3e43e /clover/clovisor/build-docker
parentadf4c7d34840acbc4676d895075d7098c0064f9c (diff)
Various changes to improve Clovisor:
1.) make clovisor work on GKE 2.) running more efficient correlation between k8s service, pods, and service port name for the pod's container port 3.) add per session trace metrics on Clovisor's traces, including request and response sizes, trace-id, request-id, and more HTTP header fields 4.) improve eBPF code to account for TCP sessions which do not finish with either FIN or RST flags 5.) tested with Clover sample app (the "SDC") Change-Id: Ia1a6275caf31a63fb1288c93cea42b32a4606307 Signed-off-by: Stephen Wong <stephen.kf.wong@gmail.com>
Diffstat (limited to 'clover/clovisor/build-docker')
-rwxr-xr-xclover/clovisor/build-docker4
1 files changed, 3 insertions, 1 deletions
diff --git a/clover/clovisor/build-docker b/clover/clovisor/build-docker
index c724c8c..4f776ec 100755
--- a/clover/clovisor/build-docker
+++ b/clover/clovisor/build-docker
@@ -8,7 +8,7 @@
# http://www.apache.org/licenses/LICENSE-2.0
if [ -z "$1" ]
then
- kernel_ver=`uname -r`
+ kernel_ver=linux-headers-`uname -r`
else
kernel_ver=$1
fi
@@ -16,3 +16,5 @@ 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