github.com/castai/kvisor@v1.7.1-0.20240516114728-b3572a2607b5/demo/4.apply-seccom/hello.yaml (about) 1 apiVersion: apps/v1 2 kind: Deployment 3 metadata: 4 name: hello 5 namespace: demo 6 labels: 7 app: hello 8 spec: 9 replicas: 1 10 selector: 11 matchLabels: 12 app: hello 13 template: 14 metadata: 15 labels: 16 app: hello 17 spec: 18 containers: 19 - name: curl-nginx 20 image: hashicorp/http-echo:1.0 21 args: 22 - "-text=just made some syscalls!" 23 securityContext: 24 allowPrivilegeEscalation: false 25 - name: curl-nginx 26 image: curlimages/curl 27 command: ["/bin/sh", "-ec", "while :; do curl http://server; sleep 5 ; done"]