From 38ebae492045f602265a8db2c21f34b94762954b Mon Sep 17 00:00:00 2001 From: gregory hendrickson Date: Thu, 26 Jan 2023 14:38:23 -0800 Subject: [PATCH] modify service --- services/ghost-blog-service.yaml | 5 ++--- services/mysql-service.yaml | 4 +--- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/services/ghost-blog-service.yaml b/services/ghost-blog-service.yaml index e4e9812..44bdb44 100644 --- a/services/ghost-blog-service.yaml +++ b/services/ghost-blog-service.yaml @@ -7,6 +7,5 @@ spec: selector: app: ghost-blog ports: - - protocol: TCP - port: 80 - targetPort: 2368 \ No newline at end of file + - name: ghost-http + port: 2368 \ No newline at end of file diff --git a/services/mysql-service.yaml b/services/mysql-service.yaml index e25c180..f68fd9c 100644 --- a/services/mysql-service.yaml +++ b/services/mysql-service.yaml @@ -7,7 +7,5 @@ spec: selector: app: mysql ports: - - name: mysql - port: 3306 - targetPort: 3306 + - port: 3306 type: ClusterIP