apiVersion: apps/v1
kind: Deployment
metadata:
  name: redis
  namespace: tomsther
spec:
  selector:
    matchLabels:
      app: redis-label
  replicas: 1
  template:
    metadata:
      labels:
        app: redis-label
    spec:
      containers:
      - name: redis
        image: redis
        resources:
          limits:
            memory: 32Mi
        ports:
          - containerPort: 6379
