Skip to content

Commit

Permalink
Merge pull request #16 from VerizonMedia/disable-istio-sidecar-injection
Browse files Browse the repository at this point in the history
Disable istio sidecar injection
  • Loading branch information
edeNFed authored Oct 1, 2020
2 parents a49a25c + 32f7e84 commit 52a33a1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cli/cmd/kubernetes/job/bpf.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ func (b *bpfCreator) create(targetPod *v1.Pod, targetDetails *data.TargetDetails
Labels: map[string]string{
"kubectl-flame/id": id,
},
Annotations: map[string]string{
"sidecar.istio.io/inject": "false",
},
}

job := &batchv1.Job{
Expand Down
3 changes: 3 additions & 0 deletions cli/cmd/kubernetes/job/jvm.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ func (c *jvmCreator) create(targetPod *v1.Pod, targetDetails *data.TargetDetails
Labels: map[string]string{
"kubectl-flame/id": id,
},
Annotations: map[string]string{
"sidecar.istio.io/inject": "false",
},
}

job := &batchv1.Job{
Expand Down

0 comments on commit 52a33a1

Please sign in to comment.