Commit 7ddb1643 authored by Alexander Lercher's avatar Alexander Lercher

Updated kubernetes files

parent f2bf61de
apiVersion: v1
kind: Service
metadata:
name: agent-discovery
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: agent-discovery
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30104
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: agent-discovery name: agent-discovery
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: agent-discovery app: agent-discovery
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: agent-discovery - name: agent-discovery
image: 172.16.1.20:5000/agent-discovery-microservice image: 143.205.173.97:5000/agent-discovery-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: agent-discovery
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: agent-discovery
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30104
protocol: TCP
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: community-detection
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: community-detection
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30109
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: community-detection name: community-detection
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: community-detection app: community-detection
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: community-detection - name: community-detection
image: 172.16.1.20:5000/community-detection-microservice image: 143.205.173.97:5000/community-detection-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: community-detection
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: community-detection
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30109
protocol: TCP
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: democratic-reasoning
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: democratic-reasoning
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30106
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: democratic-reasoning name: democratic-reasoning
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: democratic-reasoning app: democratic-reasoning
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: democratic-reasoning - name: democratic-reasoning
image: 172.16.1.20:5000/democratic-reasoning-microservice image: 143.205.173.97:5000/democratic-reasoning-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: democratic-reasoning
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: democratic-reasoning
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30106
protocol: TCP
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: geo-profiling
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: geo-profiling
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30105
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: geo-profiling name: geo-profiling
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: geo-profiling app: geo-profiling
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: geo-profiling - name: geo-profiling
image: 172.16.1.20:5000/geo-profiling-microservice image: 143.205.173.97:5000/geo-profiling-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: geo-profiling
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: geo-profiling
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30105
protocol: TCP
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: pareto-trust
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: pareto-trust
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30108
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: pareto-trust name: pareto-trust
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: pareto-trust app: pareto-trust
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: pareto-trust - name: pareto-trust
image: 172.16.1.20:5000/pareto-trust-microservice image: 143.205.173.97:5000/pareto-trust-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: pareto-trust
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: pareto-trust
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30108
protocol: TCP
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: reputation-calculation
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: reputation-calculation
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30107
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: reputation-calculation name: reputation-calculation
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: reputation-calculation app: reputation-calculation
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: reputation-calculation - name: reputation-calculation
image: 172.16.1.20:5000/reputation-calculation-microservice image: 143.205.173.97:5000/reputation-calculation-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: reputation-calculation
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: reputation-calculation
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30107
protocol: TCP
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: role-discovery
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: role-discovery
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30102
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: role-discovery name: role-discovery
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: role-discovery app: role-discovery
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: role-discovery - name: role-discovery
image: 172.16.1.20:5000/role-discovery-microservice image: 143.205.173.97:5000/role-discovery-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: role-discovery
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: role-discovery
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30102
protocol: TCP
\ No newline at end of file
...@@ -5,7 +5,7 @@ metadata: ...@@ -5,7 +5,7 @@ metadata:
spec: spec:
type: LoadBalancer type: LoadBalancer
externalIPs: externalIPs:
- 143.205.173.36 - 143.205.173.102
selector: selector:
app: semantic-linking app: semantic-linking
ports: ports:
...@@ -31,6 +31,6 @@ spec: ...@@ -31,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: semantic-linking - name: semantic-linking
image: 172.16.1.20:5000/semantic-linking-microservice image: 143.205.173.97:5000/semantic-linking-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: stage-discovery
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: stage-discovery
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30103
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: stage-discovery name: stage-discovery
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: stage-discovery app: stage-discovery
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: stage-discovery - name: stage-discovery
image: 172.16.1.20:5000/stage-discovery-microservice image: 143.205.173.97:5000/stage-discovery-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: stage-discovery
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: stage-discovery
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30103
protocol: TCP
\ No newline at end of file
import os import os
docker_reg = '143.205.173.97:5000'
paths = [] paths = []
for p, _, f in os.walk('./'): for p, _, f in os.walk('./'):
for file in f: for file in f:
......
...@@ -5,7 +5,7 @@ metadata: ...@@ -5,7 +5,7 @@ metadata:
spec: spec:
type: LoadBalancer type: LoadBalancer
externalIPs: externalIPs:
- 143.205.173.36 - 143.205.173.102
selector: selector:
app: rabbit-mq app: rabbit-mq
ports: ports:
......
...@@ -5,7 +5,7 @@ metadata: ...@@ -5,7 +5,7 @@ metadata:
spec: spec:
type: LoadBalancer type: LoadBalancer
externalIPs: externalIPs:
- 143.205.173.36 - 143.205.173.102
selector: selector:
app: rest-gateway app: rest-gateway
ports: ports:
...@@ -31,6 +31,6 @@ spec: ...@@ -31,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: rest-gateway - name: rest-gateway
image: 172.16.1.20:5000/rest-gateway image: 143.205.173.97:5000/rest-gateway
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: network-metrics-retrieval
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: network-metrics-retrieval
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30002
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: network-metrics-retrieval name: network-metrics-retrieval
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: network-metrics-retrieval app: network-metrics-retrieval
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: network-metrics-retrieval - name: network-metrics-retrieval
image: 172.16.1.20:5000/network-metrics-retrieval-microservice image: 143.205.173.97:5000/network-metrics-retrieval-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: network-metrics-retrieval
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: network-metrics-retrieval
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30002
protocol: TCP
\ No newline at end of file
...@@ -5,7 +5,7 @@ metadata: ...@@ -5,7 +5,7 @@ metadata:
spec: spec:
type: LoadBalancer type: LoadBalancer
externalIPs: externalIPs:
- 143.205.173.36 - 143.205.173.102
selector: selector:
app: trace-retrieval app: trace-retrieval
ports: ports:
...@@ -31,7 +31,7 @@ spec: ...@@ -31,7 +31,7 @@ spec:
spec: spec:
containers: containers:
- name: trace-retrieval - name: trace-retrieval
image: 172.16.1.20:5000/trace-retrieval-microservice image: 143.205.173.97:5000/trace-retrieval-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
imagePullPolicy: Always imagePullPolicy: Always
...@@ -43,7 +43,7 @@ metadata: ...@@ -43,7 +43,7 @@ metadata:
spec: spec:
type: LoadBalancer type: LoadBalancer
externalIPs: externalIPs:
- 143.205.173.36 - 143.205.173.102
selector: selector:
app: trace-retrieval-db app: trace-retrieval-db
ports: ports:
......
apiVersion: v1
kind: Service
metadata:
name: data-access
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: data-access
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30205
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: data-access name: data-access
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: data-access app: data-access
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: data-access - name: data-access
image: 172.16.1.20:5000/data-access-microservice image: 143.205.173.97:5000/data-access-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: data-access
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: data-access
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30205
protocol: TCP
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: event-detection
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: event-detection
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30204
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: event-detection name: event-detection
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: event-detection app: event-detection
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: event-detection - name: event-detection
image: 172.16.1.20:5000/event-detection-microservice image: 143.205.173.97:5000/event-detection-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: event-detection
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: event-detection
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30204
protocol: TCP
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: smart-matching
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: smart-matching
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30203
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: smart-matching name: smart-matching
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: smart-matching app: smart-matching
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: smart-matching - name: smart-matching
image: 172.16.1.20:5000/smart-matching-microservice image: 143.205.173.97:5000/smart-matching-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: smart-matching
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: smart-matching
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30203
protocol: TCP
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: tokenized-decision-making
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: tokenized-decision-making
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30201
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: tokenized-decision-making name: tokenized-decision-making
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: tokenized-decision-making app: tokenized-decision-making
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: tokenized-decision-making - name: tokenized-decision-making
image: 172.16.1.20:5000/tokenized-decision-making-microservice image: 143.205.173.97:5000/tokenized-decision-making-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: tokenized-decision-making
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: tokenized-decision-making
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30201
protocol: TCP
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: trust-sla
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.102
selector:
app: trust-sla
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30202
protocol: TCP
---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: trust-sla name: trust-sla
spec: spec:
replicas: 2 replicas: 1
selector: selector:
matchLabels: matchLabels:
app: trust-sla app: trust-sla
...@@ -16,6 +31,6 @@ spec: ...@@ -16,6 +31,6 @@ spec:
spec: spec:
containers: containers:
- name: trust-sla - name: trust-sla
image: 172.16.1.20:5000/trust-sla-microservice image: 143.205.173.97:5000/trust-sla-microservice
ports: ports:
- containerPort: 5000 - containerPort: 5000
\ No newline at end of file
apiVersion: v1
kind: Service
metadata:
name: trust-sla
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
selector:
app: trust-sla
ports:
- name: http
port: 80
targetPort: 5000
nodePort: 30202
protocol: TCP
\ 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