gorush/k8s/gorush-redis-deployment.yaml

20 lines
329 B
YAML
Raw Normal View History

2017-06-07 14:11:05 +00:00
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: redis
namespace: gorush
2017-06-07 14:11:05 +00:00
spec:
replicas: 1
template:
metadata:
labels:
app: redis
role: master
tier: backend
spec:
containers:
- name: master
image: redis
ports:
- containerPort: 6379