Commit 7d5a6d78 authored by cazenave's avatar cazenave
Browse files

again

parent 6d210056
apiVersion: v1
kind: ConfigMap
metadata:
labels:
app: fdp
tier: ffds
name: ffds-config
data:
ingressUrl: "http:\\localhost"
apiVersion: v1
kind: Service
metadata:
name: ffds-register-api
labels:
app: ffds
tier: api
spec:
type: NodePort
ports:
- protocol: TCP
port: 80
targetPort: 8080
name: http
selector:
app: ffds
tier: api
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: ffds-register-api
labels:
app: ffds
tier: api
spec:
replicas: 1
selector:
matchLabels:
app: ffds
tier: api
template:
metadata:
labels:
app: ffds
tier: api
spec:
containers:
- name: ffds-register-api
image: cines/ffds-register-api:v1
ports:
- name: http
containerPort: 8080
......@@ -39,6 +39,12 @@ spec:
containers:
- name: ffds-register
image: cines/ffds-register-front:v1
env:
- name: ingressUrl
valueFrom:
configMapKeyRef:
name: ffds-config
key: ingressUrl
ports:
- name: http
containerPort: 80
......
......@@ -21,4 +21,8 @@ spec:
backend:
serviceName: fdp-client
servicePort: 80
- path: /es
backend:
serviceName: elasticsearch-loadbalancer
servicePort: 9200
This diff is collapsed.
#!/bin/sh
#
# The MIT License
# Copyright © 2017 DTL
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
kubectl apply -f ingress.yml
kubectl apply -f mongo.yaml
kubectl apply -f blazegraph.yaml
kubectl apply -f elasticsearch.yaml
#!/bin/sh
#
# The MIT License
# Copyright © 2017 DTL
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
#
kubectl delete -f mongo.yaml
kubectl delete -f blazegraph.yaml
kubectl delete -f elasticsearch.yaml
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