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
kind: Deployment
metadata:
name: agent-discovery
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: agent-discovery
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: agent-discovery
image: 172.16.1.20:5000/agent-discovery-microservice
image: 143.205.173.97:5000/agent-discovery-microservice
ports:
- 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
kind: Deployment
metadata:
name: community-detection
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: community-detection
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: community-detection
image: 172.16.1.20:5000/community-detection-microservice
image: 143.205.173.97:5000/community-detection-microservice
ports:
- 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
kind: Deployment
metadata:
name: democratic-reasoning
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: democratic-reasoning
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: democratic-reasoning
image: 172.16.1.20:5000/democratic-reasoning-microservice
image: 143.205.173.97:5000/democratic-reasoning-microservice
ports:
- 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
kind: Deployment
metadata:
name: geo-profiling
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: geo-profiling
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: geo-profiling
image: 172.16.1.20:5000/geo-profiling-microservice
image: 143.205.173.97:5000/geo-profiling-microservice
ports:
- 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
kind: Deployment
metadata:
name: pareto-trust
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: pareto-trust
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: pareto-trust
image: 172.16.1.20:5000/pareto-trust-microservice
image: 143.205.173.97:5000/pareto-trust-microservice
ports:
- 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
kind: Deployment
metadata:
name: reputation-calculation
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: reputation-calculation
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: reputation-calculation
image: 172.16.1.20:5000/reputation-calculation-microservice
image: 143.205.173.97:5000/reputation-calculation-microservice
ports:
- 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
kind: Deployment
metadata:
name: role-discovery
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: role-discovery
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: role-discovery
image: 172.16.1.20:5000/role-discovery-microservice
image: 143.205.173.97:5000/role-discovery-microservice
ports:
- 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:
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
- 143.205.173.102
selector:
app: semantic-linking
ports:
......@@ -31,6 +31,6 @@ spec:
spec:
containers:
- name: semantic-linking
image: 172.16.1.20:5000/semantic-linking-microservice
image: 143.205.173.97:5000/semantic-linking-microservice
ports:
- 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
kind: Deployment
metadata:
name: stage-discovery
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: stage-discovery
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: stage-discovery
image: 172.16.1.20:5000/stage-discovery-microservice
image: 143.205.173.97:5000/stage-discovery-microservice
ports:
- 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
docker_reg = '143.205.173.97:5000'
paths = []
for p, _, f in os.walk('./'):
for file in f:
......
......@@ -5,7 +5,7 @@ metadata:
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
- 143.205.173.102
selector:
app: rabbit-mq
ports:
......
......@@ -5,7 +5,7 @@ metadata:
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
- 143.205.173.102
selector:
app: rest-gateway
ports:
......@@ -31,6 +31,6 @@ spec:
spec:
containers:
- name: rest-gateway
image: 172.16.1.20:5000/rest-gateway
image: 143.205.173.97:5000/rest-gateway
ports:
- 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
kind: Deployment
metadata:
name: network-metrics-retrieval
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: network-metrics-retrieval
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- 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:
- 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:
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
- 143.205.173.102
selector:
app: trace-retrieval
ports:
......@@ -31,7 +31,7 @@ spec:
spec:
containers:
- name: trace-retrieval
image: 172.16.1.20:5000/trace-retrieval-microservice
image: 143.205.173.97:5000/trace-retrieval-microservice
ports:
- containerPort: 5000
imagePullPolicy: Always
......@@ -43,7 +43,7 @@ metadata:
spec:
type: LoadBalancer
externalIPs:
- 143.205.173.36
- 143.205.173.102
selector:
app: trace-retrieval-db
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
kind: Deployment
metadata:
name: data-access
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: data-access
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: data-access
image: 172.16.1.20:5000/data-access-microservice
image: 143.205.173.97:5000/data-access-microservice
ports:
- 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
kind: Deployment
metadata:
name: event-detection
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: event-detection
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: event-detection
image: 172.16.1.20:5000/event-detection-microservice
image: 143.205.173.97:5000/event-detection-microservice
ports:
- 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
kind: Deployment
metadata:
name: smart-matching
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: smart-matching
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: smart-matching
image: 172.16.1.20:5000/smart-matching-microservice
image: 143.205.173.97:5000/smart-matching-microservice
ports:
- 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
kind: Deployment
metadata:
name: tokenized-decision-making
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: tokenized-decision-making
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- 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:
- 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
kind: Deployment
metadata:
name: trust-sla
spec:
replicas: 2
replicas: 1
selector:
matchLabels:
app: trust-sla
......@@ -16,6 +31,6 @@ spec:
spec:
containers:
- name: trust-sla
image: 172.16.1.20:5000/trust-sla-microservice
image: 143.205.173.97:5000/trust-sla-microservice
ports:
- 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