Skip to content

Commit

Permalink
feat(tracejob): share pid namespace with host
Browse files Browse the repository at this point in the history
Signed-off-by: Lorenzo Fontana <lo@linux.com>
  • Loading branch information
fntlnz committed Dec 24, 2018
1 parent 2f24ca3 commit 7b55816
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/tracejob/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 7b55816

Please sign in to comment.