apiVersion: apps/v1
kind: Deployment
metadata:
  name: curl-generic-deployment
spec:
  replicas: 1
  selector:
    matchLabels:
      app: curl
  template:
    metadata:
      labels:
        app: curl
    spec:
      containers:
      - name: curl
        image: curlimages/curl:latest
        command: ["/bin/sh"]
        args: ["-c", "while true; do echo hello; sleep 300;done"]