From 796fe9a785ece4b56e9767b64352459b02399258 Mon Sep 17 00:00:00 2001 From: ycz008 Date: Fri, 19 Apr 2024 15:17:14 +0800 Subject: [PATCH] udpate mongo --- prod-upgrade/mongo/mongo.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/prod-upgrade/mongo/mongo.yaml b/prod-upgrade/mongo/mongo.yaml index 14f8512..1d458a1 100644 --- a/prod-upgrade/mongo/mongo.yaml +++ b/prod-upgrade/mongo/mongo.yaml @@ -73,13 +73,12 @@ kind: Service metadata: name: mongo spec: - selector: - app: mongo ports: - name: mongo protocol: TCP port: 27017 targetPort: 27017 - nodePort: 30018 - type: NodePort + type: ClusterIP + selector: + app: mongo