Skip to content

Commit

Permalink
HostPID is important for stoping kubelet on a node
Browse files Browse the repository at this point in the history
Important for #68
  • Loading branch information
razo7 committed Jul 24, 2023
1 parent 5c7d966 commit 69972b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/e2e/utils/command.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ func getPod(nodeName string) *corev1.Pod {
},
Spec: corev1.PodSpec{
NodeName: nodeName,
HostPID: true,
SecurityContext: &corev1.PodSecurityContext{
RunAsGroup: pointer.Int64(0),
},
Expand Down

0 comments on commit 69972b6

Please sign in to comment.