cloudnet-compose/k8s-specifications/redis-deployment.yaml
2018-03-05 12:57:48 +01:00

21 lines
365 B
YAML

apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: redis
spec:
replicas: 1
template:
metadata:
labels:
app: redis
spec:
containers:
- image: redis:alpine
name: redis
volumeMounts:
- mountPath: /data
name: redis-data
volumes:
- name: redis-data
emptyDir: {}