mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-03 03:30:19 +00:00
23 lines
456 B
YAML
23 lines
456 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: gcr.io/google_containers/redis:e2e # or just image: redis
|
||
|
resources:
|
||
|
requests:
|
||
|
cpu: 100m
|
||
|
memory: 100Mi
|
||
|
ports:
|
||
|
- containerPort: 6379
|