Skip to content

Commit

Permalink
Added dynamic setting of a common namespace across kubernetes.
Browse files Browse the repository at this point in the history
Removed Filebeat.
  • Loading branch information
Kostas Filippopolitis committed Feb 17, 2025
1 parent d7ce70e commit a42a56b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 225 deletions.
8 changes: 8 additions & 0 deletions kubernetes/templates/exareme2-controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: exareme2-controller-deployment
namespace: {{ .Values.namespace }}
labels:
app: exareme2-controller
spec:
Expand Down Expand Up @@ -148,6 +149,7 @@ apiVersion: v1
kind: Service
metadata:
name: exareme2-controller-service
namespace: {{ .Values.namespace }}
spec:
type: LoadBalancer
selector:
Expand All @@ -164,6 +166,7 @@ apiVersion: v1
kind: Service
metadata:
name: exareme2-workers-service
namespace: {{ .Values.namespace }}
spec:
clusterIP: None
selector:
Expand All @@ -182,6 +185,7 @@ apiVersion: v1
kind: Service
metadata:
name: exareme2-smpc-coordinator-service
namespace: {{ .Values.namespace }}
spec:
type: LoadBalancer
selector:
Expand All @@ -201,6 +205,7 @@ apiVersion: v1
kind: Service
metadata:
name: exareme2-smpc-coordinator-db-service
namespace: {{ .Values.namespace }}
spec:
selector:
app: exareme2-controller
Expand Down Expand Up @@ -275,6 +280,7 @@ apiVersion: v1
kind: Service
metadata:
name: exareme2-smpc-player0-service
namespace: {{ .Values.namespace }}
spec:
selector:
smpc_player: player0
Expand Down Expand Up @@ -357,6 +363,7 @@ apiVersion: v1
kind: Service
metadata:
name: exareme2-smpc-player1-service
namespace: {{ .Values.namespace }}
spec:
selector:
smpc_player: player1
Expand Down Expand Up @@ -439,6 +446,7 @@ apiVersion: v1
kind: Service
metadata:
name: exareme2-smpc-player2-service
namespace: {{ .Values.namespace }}
spec:
selector:
smpc_player: player2
Expand Down
222 changes: 0 additions & 222 deletions kubernetes/templates/exareme2-filebeat.yaml

This file was deleted.

1 change: 1 addition & 0 deletions kubernetes/templates/exareme2-globalnode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: exareme2-globalworker-deployment
namespace: {{ .Values.namespace }}
labels:
app: exareme2-worker
nodeType: globalworker
Expand Down
3 changes: 3 additions & 0 deletions kubernetes/templates/exareme2-localnode.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
name: exareme2-localworker-deployment
namespace: {{ .Values.namespace }}
labels:
app: exareme2-worker
nodeType: localworker
Expand All @@ -12,6 +13,7 @@ spec:
app: exareme2-worker
template:
metadata:
namespace: {{ .Values.namespace }}
labels:
app: exareme2-worker
nodeType: localworker
Expand Down Expand Up @@ -256,6 +258,7 @@ spec:
#kind: Service
#metadata:
# name: exareme2-worker-service
# namespace: {{ .Values.namespace }}
#spec:
# type: LoadBalancer
# selector:
Expand Down
4 changes: 1 addition & 3 deletions kubernetes/values.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
namespace: default
localnodes: 2

exareme2_images:
Expand Down Expand Up @@ -36,6 +37,3 @@ smpc:
queue_image: redis:alpine3.15
get_result_interval: 5
get_result_max_retries: 100

elk:
enabled: true

0 comments on commit a42a56b

Please sign in to comment.