From 2cdd50dc9e0b89d4ba681bcbe827bd4157c2c238 Mon Sep 17 00:00:00 2001
From: Matteo <matteo.difazio@garr.it>
Date: Fri, 21 May 2021 12:26:06 +0200
Subject: [PATCH] 20210521 Matteo: Edit services type to ClusterIP and mongo
 service name

---
 blazegraph-svc.yaml     | 2 +-
 fdp-api-svc.yaml        | 6 +++---
 fdp-client-svc.yaml     | 2 +-
 ffds-register-api.yaml  | 2 +-
 ffds-register-svc.yaml  | 2 +-
 mongo-svc.yaml          | 4 ++--
 smartharvester-svc.yaml | 2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/blazegraph-svc.yaml b/blazegraph-svc.yaml
index 284b242..11be07b 100644
--- a/blazegraph-svc.yaml
+++ b/blazegraph-svc.yaml
@@ -7,7 +7,7 @@ metadata:
     app: fdp
     tier: blazegrah
 spec: 
-  type: LoadBalancer 
+  type: ClusterIP 
   ports:
   - protocol: TCP
     port: 8888
diff --git a/fdp-api-svc.yaml b/fdp-api-svc.yaml
index 6c5e753..9b536df 100644
--- a/fdp-api-svc.yaml
+++ b/fdp-api-svc.yaml
@@ -7,9 +7,9 @@ metadata:
     app: fdp
     tier: back
 spec:
-  type: LoadBalancer
-  externalIPs:
-    - 51.178.69.94 
+  type: ClusterIP
+  #externalIPs:
+  #  - 51.178.69.94 
   ports:
   - protocol: TCP
     port: 80
diff --git a/fdp-client-svc.yaml b/fdp-client-svc.yaml
index e202be1..b16f416 100644
--- a/fdp-client-svc.yaml
+++ b/fdp-client-svc.yaml
@@ -7,7 +7,7 @@ metadata:
     app: fdp
     tier: front
 spec:
-  type: LoadBalancer
+  type: ClusterIP
   ports:
   - protocol: TCP
     port: 80
diff --git a/ffds-register-api.yaml b/ffds-register-api.yaml
index 5973007..e8ae19d 100644
--- a/ffds-register-api.yaml
+++ b/ffds-register-api.yaml
@@ -7,7 +7,7 @@ metadata:
     app: ffds
     tier: api
 spec:
-  type: LoadBalancer
+  type: ClusterIP
   ports:
   - protocol: TCP
     port: 80
diff --git a/ffds-register-svc.yaml b/ffds-register-svc.yaml
index 7137888..53d4dd2 100644
--- a/ffds-register-svc.yaml
+++ b/ffds-register-svc.yaml
@@ -7,7 +7,7 @@ metadata:
     app: fdp
     tier: register-front
 spec:
-  type: LoadBalancer
+  type: ClusterIP
   ports:
   - protocol: TCP
     port: 80
diff --git a/mongo-svc.yaml b/mongo-svc.yaml
index 526eb62..2a8d178 100644
--- a/mongo-svc.yaml
+++ b/mongo-svc.yaml
@@ -4,10 +4,10 @@ metadata:
   labels:
     app: fdp
     tier: mongo
-  name: mongo
+  name: mongo2
   namespace: f2ds
 spec:
-  type: LoadBalancer 
+  type: ClusterIP 
   ports:
   - name: "27017"
     port: 27017
diff --git a/smartharvester-svc.yaml b/smartharvester-svc.yaml
index e43a1a1..209eb14 100644
--- a/smartharvester-svc.yaml
+++ b/smartharvester-svc.yaml
@@ -7,7 +7,7 @@ metadata:
     app: fdp
     tier: back
 spec:
-  type: LoadBalancer
+  type: ClusterIP
   ports:
   - protocol: TCP
     port: 8080
-- 
GitLab