diff options
author | Stephen Wong <stephen.kf.wong@gmail.com> | 2019-01-18 01:50:08 +0000 |
---|---|---|
committer | Stephen Wong <stephen.kf.wong@gmail.com> | 2019-01-18 01:50:08 +0000 |
commit | 6aa27547b71bff174e3017f637a002546033bf39 (patch) | |
tree | b89410b7bf14d896c04686ed05d7259f01a3e43e /clover/clovisor/Dockerfile | |
parent | adf4c7d34840acbc4676d895075d7098c0064f9c (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/Dockerfile')
-rw-r--r-- | clover/clovisor/Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clover/clovisor/Dockerfile b/clover/clovisor/Dockerfile index 63375a1..06ddd23 100644 --- a/clover/clovisor/Dockerfile +++ b/clover/clovisor/Dockerfile @@ -1,6 +1,7 @@ FROM ubuntu:18.04 -ARG TARGET_KERNEL_VER="4.15.0-36-generic" +# the following is the Linux version for GKE for k8s 1.11.4-gke.8 +ARG TARGET_KERNEL_VER="linux-headers-4.15.0-1023-gcp" RUN set -ex; \ echo "deb [trusted=yes] http://repo.iovisor.org/apt/bionic bionic main" > /etc/apt/sources.list.d/iovisor.list; \ @@ -8,7 +9,7 @@ RUN set -ex; \ DEBIAN_FRONTEND=noninteractive apt-get install -y \ auditd \ bcc-tools \ - linux-headers-$TARGET_KERNEL_VER \ + $TARGET_KERNEL_VER \ libelf1; COPY . . |