kubernetes/examples/guestbook/legacy/redis-master-controller.yaml
Ahmet Alp Balkan 8f4dfd28db
examples/guestbook: remove not useful/inaccurate comments
The comments removed in this patch are either inaccurate or
does not serve any purpose as they're already applies as uncommented
in the tutorial and explained in the walkthrough text.

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-04-27 20:54:25 -07:00

27 lines
511 B
YAML

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
image: gcr.io/google_containers/redis:e2e # or just image: redis
resources:
requests:
cpu: 100m
memory: 100Mi
ports:
- containerPort: 6379