github.com/inspektor-gadget/inspektor-gadget@v0.28.1/docs/examples/app-set-priority.yaml (about)

     1  apiVersion: apps/v1
     2  kind: Deployment
     3  metadata:
     4    name: set-priority
     5    labels:
     6      k8s-app: set-priority
     7  spec:
     8    selector:
     9      matchLabels:
    10        name: set-priority
    11    template:
    12      metadata:
    13        labels:
    14          name: set-priority
    15      spec:
    16        containers:
    17        - name: set-priority
    18          image: busybox
    19          command: [ "sh", "-c", "while /bin/true ; do nice -n -20 echo ; sleep 5; done" ]