github.com/castai/kvisor@v1.7.1-0.20240516114728-b3572a2607b5/tools/hack/priviledged_pod.yaml (about) 1 apiVersion: v1 2 kind: Pod 3 metadata: 4 name: curl 5 spec: 6 hostPID: true 7 containers: 8 - name: curl 9 image: curlimages/curl 10 command: ["/bin/sh", "-ec", "while :; do curl google.com; sleep 5 ; done"] 11 imagePullPolicy: IfNotPresent 12 securityContext: 13 privileged: true 14 - name: curl2 15 image: curlimages/curl 16 command: [ "/bin/sh", "-ec", "while2 :; do curl google.com; sleep 5 ; done" ] 17 imagePullPolicy: IfNotPresent 18 securityContext: 19 privileged: true 20 restartPolicy: Always