Commit b0730a07 authored by GRANDGERARD Gilles's avatar GRANDGERARD Gilles
Browse files

Merge branch 'scrumblr' into 'master'

Scrumblr

See merge request !1
parents b72f5afc e89d3965
kind: Deployment
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
metadata:
name: redis
labels:
service: redis
namespace: hackathon
spec:
replicas: 1
strategy: {}
selector:
matchLabels:
service: redis
replicas: 1 # tells deployment to run 2 pods matching the template
template:
metadata:
labels:
service: redis
spec:
containers:
- env:
- name: GET_HOSTS_FROM
value: dns
name: redis
image: redis:latest
ports:
- containerPort: 6379
resources: {}
---
kind: Service
apiVersion: v1
metadata:
name: redis
namespace: hackathon
spec:
selector:
service: redis
ports:
- port: 6379
targetPort: 6379
\ No newline at end of file
kind: Deployment
apiVersion: extensions/v1beta1 # for versions before 1.9.0 use apps/v1beta2
metadata:
name: scrumblr
labels:
service: scrumblr
namespace: hackathon
spec:
replicas: 1
strategy: {}
selector:
matchLabels:
service: scrumblr
replicas: 1 # tells deployment to run 2 pods matching the template
template:
metadata:
labels:
service: scrumblr
spec:
containers:
- env:
- name: SCRUMBLR_PORT
value: "8080"
- name: SCRUMBLR_BASEURL
value: /
- name: REDIS_PORT_6379_TCP_ADDR
value: redis
- name: REDIS_PORT_6379_TCP_PORT
value: "6375"
- name: GET_HOSTS_FROM
value: dns
name: scrumblr
image: timmit/scrumblr:latest
ports:
- containerPort: 8080
resources: {}
---
kind: Service
apiVersion: v1
metadata:
name: scrumblr
namespace: hackathon
spec:
type: NodePort
selector:
service: scrumblr
ports:
- port: 8080
targetPort: 8080
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment