Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
social
SoMeDi Use Case - Lateral
Commits
d0d422dd
Commit
d0d422dd
authored
May 22, 2018
by
Alberto Pascual
Browse files
k8s deployment changes
parent
dd425322
Pipeline
#731
failed with stages
in 6 minutes and 39 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
d0d422dd
...
...
@@ -8,7 +8,7 @@ include .makefiles/base.mk
include
.makefiles/k8s.mk
build-web
:
##
Build a specific version (e.g. build-2.7)
docker build
-t
'
$(IMAGENAMEWEB)
:
$(VERSION)
'
-f
d
emo
/Dockerfile d
emo
/
;
docker build
-t
'
$(IMAGENAMEWEB)
:
$(VERSION)
'
-f
d
ashboard
/Dockerfile d
ashboard
/
;
push-web
:
build-web
##
Push the "latest" tag to dockerhub
docker push
'
$(IMAGENAMEWEB)
:
$(VERSION)
'
...
...
dashboard/dashboard-somedi.env.html
View file @
d0d422dd
...
...
@@ -461,4 +461,4 @@
});
</script>
</dom-module>
</dom-module>
\ No newline at end of file
dashboard/dashboard-somedi.html
View file @
d0d422dd
...
...
@@ -454,7 +454,6 @@
//console.log(that.ids)
that
.
data
=
resp
;
//console.log(that.data);
});
}
}
...
...
k8s/somedi-ingress.yaml
View file @
d0d422dd
...
...
@@ -2,28 +2,19 @@
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
${NAME}-
crawler
name
:
${NAME}-
web
annotations
:
ingress.kubernetes.io/rewrite-target
:
/
spec
:
rules
:
-
host
:
${NAME}
.cluster.gsi.dit.upm.es
-
host
:
somedi
.cluster.gsi.dit.upm.es
http
:
paths
:
-
path
:
/
backend
:
serviceName
:
${NAME}-crawler
servicePort
:
8082
---
apiVersion
:
extensions/v1beta1
kind
:
Ingress
metadata
:
name
:
${NAME}-web
annotations
:
ingress.kubernetes.io/rewrite-target
:
/
spec
:
rules
:
-
host
:
$ENDPOINT_EXTERNAL
serviceName
:
${NAME}-web
servicePort
:
8080
-
host
:
unstable.somedi.cluster.gsi.dit.upm.es
http
:
paths
:
-
path
:
/
...
...
k8s/somedi-svc.yaml
View file @
d0d422dd
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
${NAME}-crawler
spec
:
type
:
ClusterIP
ports
:
-
name
:
luigiweb
port
:
8082
protocol
:
TCP
selector
:
role
:
${NAME}-crawler
---
apiVersion
:
v1
kind
:
Service
metadata
:
name
:
${NAME}-web
spec
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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