apiVersion: apps/v1 kind: Deployment metadata: labels: app: act-runner name: act-runner spec: replicas: 1 selector: matchLabels: app: act-runner template: metadata: labels: app: act-runner spec: restartPolicy: Always containers: - name: runner image: runner command: ["sh", "-c", "while ! nc -z localhost 2376