Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
EOLE
hackathon-kubernetes
Commits
986adedd
Commit
986adedd
authored
Nov 21, 2018
by
Luc Bourdot
Browse files
Merge branch 'teebee' into 'master'
Teebee See merge request
!4
parents
b7361d66
502ceaed
Changes
1
Hide whitespace changes
Inline
Side-by-side
kubernetes/scrumblr/scrumbl-redis.yml
0 → 100644
View file @
986adedd
# redisdeployment.yml
apiVersion
:
apps/v1
# for versions before 1.9.0 use apps/v1beta2
kind
:
Deployment
metadata
:
name
:
combine
#namespace: hackathon
spec
:
selector
:
matchLabels
:
app
:
combine
replicas
:
1
# tells deployment to run 2 pods matching the template
template
:
metadata
:
labels
:
app
:
combine
spec
:
containers
:
-
name
:
scrumbl
image
:
timmit/scrumblr:latest
env
:
-
name
:
GET_HOSTS_FROM
value
:
dns
ports
:
-
containerPort
:
8080
-
name
:
redis
image
:
redis:latest
env
:
-
name
:
GET_HOSTS_FROM
value
:
dns
ports
:
-
containerPort
:
6379
name
:
redis
protocol
:
TCP
---
kind
:
Service
apiVersion
:
v1
metadata
:
name
:
combine
spec
:
selector
:
app
:
combine
ports
:
-
protocol
:
TCP
port
:
8000
targetPort
:
8080
type
:
LoadBalancer
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment