Skip to content

Commit 7b55816

Browse files
committed
feat(tracejob): share pid namespace with host
Signed-off-by: Lorenzo Fontana <[email protected]>
1 parent 2f24ca3 commit 7b55816

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/tracejob/job.go

+1
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ func (t *TraceJobClient) CreateJob(nj TraceJob) (*batchv1.Job, error) {
213213
Template: apiv1.PodTemplateSpec{
214214
ObjectMeta: commonMeta,
215215
Spec: apiv1.PodSpec{
216+
HostPID: true,
216217
Volumes: []apiv1.Volume{
217218
apiv1.Volume{
218219
Name: "program",

0 commit comments

Comments
 (0)