apiVersion: apps/v1
kind: Deployment
metadata:
  name: redis-user
  labels:
    app: redis-user
    tier: backend
spec:
  replicas: 1
  selector:
    matchLabels:
      app: redis-user
  template:
    metadata:
      labels:
        app: redis-user
        tier: backend
    spec:
      containers:
        - name: redis-user
          image: "docker.io/redis:6.0.5"
          resources:
            requests:
              cpu: 100m
              memory: 100Mi
          ports:
            - containerPort: 6379
