Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
5e0cbb68
Commit
5e0cbb68
authored
Mar 11, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added jupyter
parent
b4b272bf
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
70 additions
and
20 deletions
+70
-20
test_deployer.py
deployer/test/test_deployer.py
+1
-0
docker-compose.yml
docker-compose.yml
+20
-20
jupyter-deployment.yaml
k8s/CONF/jupyter-deployment.yaml
+30
-0
jupyter-service.yaml
k8s/CONF/jupyter-service.yaml
+19
-0
No files found.
deployer/test/test_deployer.py
View file @
5e0cbb68
...
...
@@ -74,6 +74,7 @@ class TestDeployer(unittest.TestCase):
response
[
"creationDate"
]
=
output_current_milli_time
logger
.
info
(
"Returning Deployment"
)
logger
.
info
(
"Output message:"
+
json
.
dumps
(
response
))
print
(
json
.
dumps
(
response
))
if
__name__
==
'__main__'
:
...
...
docker-compose.yml
View file @
5e0cbb68
...
...
@@ -81,15 +81,15 @@ services:
logspout
:
ports
:
-
"
30002:80"
volumes
:
-
/etc/hostname:/etc/host_hostname:ro
-
/var/run/docker.sock:/var/run/docker.sock
environment
:
publish
:
"
127.0.0.1:30002:80"
image
:
gliderlabs/logspout:latest
#
logspout:
#
ports:
#
- "30002:80"
#
volumes:
#
- /etc/hostname:/etc/host_hostname:ro
#
- /var/run/docker.sock:/var/run/docker.sock
#
environment:
#
publish: "127.0.0.1:30002:80"
#image: gliderlabs/logspout:latest
mongo
:
...
...
@@ -97,10 +97,10 @@ services:
ports
:
-
"
27017:27017"
#
jupyter:
#
ports:
#
- "30003:8888"
#
image: jupyter/base-notebook
jupyter
:
ports
:
-
"
30003:8888"
image
:
jupyter/base-notebook
manager
:
...
...
@@ -138,13 +138,13 @@ services:
RABBITMQ_HOST
:
rabbit
SURE_TOSCA_BASE_PATH
:
http://sure-tosca:8081/tosca-sure/1.0.0
#
deployer:
#
depends_on:
#
- rabbit
#
- sure-tosca
#
image: alogo53/deployer:3.0.0
#
environment:
#
RABBITMQ_HOST: rabbit
deployer
:
depends_on
:
-
rabbit
-
sure-tosca
image
:
alogo53/deployer:3.0.0
environment
:
RABBITMQ_HOST
:
rabbit
#volumes:
...
...
k8s/CONF/jupyter-deployment.yaml
0 → 100644
View file @
5e0cbb68
apiVersion
:
apps/v1
kind
:
Deployment
metadata
:
annotations
:
kompose.cmd
:
kompose --file docker-compose.yml convert
kompose.version
:
1.16.0 (0c01309)
creationTimestamp
:
null
labels
:
io.kompose.service
:
jupyter
name
:
jupyter
spec
:
replicas
:
1
selector
:
matchLabels
:
io.kompose.service
:
jupyter
strategy
:
{}
template
:
metadata
:
creationTimestamp
:
null
labels
:
io.kompose.service
:
jupyter
spec
:
containers
:
image
:
jupyter/base-notebook
name
:
jupyter
ports
:
-
containerPort
:
8888
resources
:
{}
restartPolicy
:
Always
status
:
{}
k8s/CONF/jupyter-service.yaml
0 → 100644
View file @
5e0cbb68
apiVersion
:
v1
kind
:
Service
metadata
:
annotations
:
kompose.cmd
:
kompose --file docker-compose.yml convert
kompose.version
:
1.16.0 (0c01309)
creationTimestamp
:
null
labels
:
io.kompose.service
:
jupyter
name
:
jupyter
spec
:
type
:
NodePort
ports
:
-
port
:
8888
nodePort
:
30003
selector
:
io.kompose.service
:
jupyter
status
:
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