--- apiVersion: extensions/v1beta1 kind: Deployment metadata: namespace: quay-enterprise name: quay-enterprise-redis labels: quay-enterprise-component: redis spec: # Only one instance of the redis database is defined here. Adjust replicas based on demand. replicas: 1 selector: matchLabels: quay-enterprise-component: redis template: metadata: namespace: quay-enterprise labels: quay-enterprise-component: redis spec: containers: - name: redis-master image: registry.access.redhat.com/rhscl/redis-32-rhel7 imagePullPolicy: "IfNotPresent" ports: - containerPort: 6379 --- apiVersion: v1 kind: Service metadata: namespace: quay-enterprise name: quay-enterprise-redis labels: quay-enterprise-component: redis spec: ports: - port: 6379 selector: quay-enterprise-component: redis