---
kind: Deployment
apiVersion: apps/v1
metadata:
  name: redis-cli
  namespace: demo
  labels:
    app: redis
spec:
  replicas: 1
  selector:
    matchLabels:
      app: redis-cli
  template:
    metadata:
      name: redis-cli
      labels:
        app: redis-cli
    spec:
      containers:
        - name: redis-cli
          # update image id (manual or via jenkins)
          image: 'redis:6.2.6-alpine3.14'
          command: ["/bin/sh" ]
          args: 
            - '-c'
            - sleep 100000
      restartPolicy: Always

