ceph-csi/vendor/k8s.io/kubernetes/examples/guestbook/legacy/redis-master-controller.yaml

27 lines
497 B
YAML
Raw Normal View History

2018-01-09 18:57:14 +00:00
apiVersion: v1
kind: ReplicationController
metadata:
name: redis-master
labels:
app: redis
role: master
tier: backend
spec:
replicas: 1
template:
metadata:
labels:
app: redis
role: master
tier: backend
spec:
containers:
- name: master
2018-03-06 22:33:18 +00:00
image: k8s.gcr.io/redis:e2e # or just image: redis
2018-01-09 18:57:14 +00:00
resources:
requests:
cpu: 100m
memory: 100Mi
ports:
- containerPort: 6379