Commit 47a3d029 authored by Matthieu Lamalle's avatar Matthieu Lamalle
Browse files

redis scrumblr

parent be09d962
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:
- name: redis
image: redis:latest
ports:
- containerPort: 6379
resources: {}
---
kind: Service
apiVersion: v1
metadata:
name: crossbar
namespace: zephir2
spec:
selector:
service: crossbar
ports:
- protocol: TCP
port: 8080
targetPort: 8080
\ No newline at end of file
kind: Deployment
apiVersion: apps/v1 # 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:
- name: scrumblr
image: luceole/e-scrumblr:latest
ports:
- containerPort: 80
resources: {}
---
kind: Service
apiVersion: v1
metadata:
name: scrumblr
namespace: hackathon
spec:
type: NodePort
selector:
service: scrumblr
ports:
- protocol: TCP
port: 80
targetPort: 80
name: http
nodePort: 30002
\ No newline at end of file
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