From 7b558166af5f840682a7ad2ebc4eefb3ee08f2d3 Mon Sep 17 00:00:00 2001 From: Lorenzo Fontana Date: Sat, 15 Dec 2018 07:27:17 +0100 Subject: [PATCH] feat(tracejob): share pid namespace with host Signed-off-by: Lorenzo Fontana --- pkg/tracejob/job.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/tracejob/job.go b/pkg/tracejob/job.go index 04dc768c..33e981fe 100644 --- a/pkg/tracejob/job.go +++ b/pkg/tracejob/job.go @@ -213,6 +213,7 @@ func (t *TraceJobClient) CreateJob(nj TraceJob) (*batchv1.Job, error) { Template: apiv1.PodTemplateSpec{ ObjectMeta: commonMeta, Spec: apiv1.PodSpec{ + HostPID: true, Volumes: []apiv1.Volume{ apiv1.Volume{ Name: "program",