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 medik8s#68
  • Loading branch information
razo7 committed Jul 24, 2023
1 parent 5c7d966 commit c3a8f6a
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 c3a8f6a

Please sign in to comment.