apiVersion: apps/v1 kind: Deployment metadata: name: curl spec: replicas: 1 selector: matchLabels: app.kubernetes.io/name: curl strategy: rollingUpdate: maxSurge: 25% maxUnavailable: 25% type: RollingUpdate template: metadata: labels: app.kubernetes.io/name: curl spec: terminationGracePeriodSeconds: 0 containers: - name: curl image: docker.io/curlimages/curl:8.17.0 command: ["/bin/sleep", "infinity"] imagePullPolicy: IfNotPresent resources: requests: cpu: 100m memory: 200Mi limits: cpu: 100m memory: 200Mi securityContext: allowPrivilegeEscalation: false readOnlyRootFilesystem: true