kubernetes-up-and-running/17-1-parse.yaml
kammous 4f5c952545 Rename all files accordingly to kuard 2nd edition
- Move all objects, except for chapter 17 from v1beta to v1
- Fix an error on kuard image for Job chapter (#12)
2020-04-04 13:58:19 +02:00

28 lines
651 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: parse-server
namespace: default
spec:
replicas: 1
selector:
matchLabels:
run: parse-server
template:
metadata:
labels:
run: parse-server
spec:
containers:
- name: parse-server
image: ${DOCKER_USER}/parse-server
env:
- name: PARSE_SERVER_DATABASE_URI
value: "mongodb://mongo-0.mongo:27017,\
mongo-1.mongo:27017,mongo-2.mongo\
:27017/dev?replicaSet=rs0"
- name: PARSE_SERVER_APP_ID
value: my-app-id
- name: PARSE_SERVER_MASTER_KEY
value: my-master-key