ceph-csi/vendor/k8s.io/kubernetes/examples/guestbook/redis-master-deployment.yaml
Serguei Bezverkhi e9033989a0 vendor updates
2018-03-07 11:43:06 -05:00

23 lines
442 B
YAML

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: redis-master
spec:
replicas: 1
template:
metadata:
labels:
app: redis
role: master
tier: backend
spec:
containers:
- name: master
image: k8s.gcr.io/redis:e2e # or just image: redis
resources:
requests:
cpu: 100m
memory: 100Mi
ports:
- containerPort: 6379