apiVersion: apps/v1
kind: Deployment
metadata:
  name: deployment-complete
  namespace: test
spec:
  replicas: 1
  selector:
    matchLabels:
      app: sleep-complete
  template:
    metadata:
      labels:
        app: sleep-complete
    spec:
      containers:
      - name: sleep
        image: tutum/curl
        command: ["/bin/sleep","infinity"]
        resources:
          requests:
            cpu: "100m"
            memory: "5M"
          limits:
            cpu: "200m"
            memory: "30M"
        securityContext:
          readOnlyRootFilesystem: true
