From e81ad622cd2e9013babd942e592cabfe54f1fba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A6=83=E6=98=8C=E6=B3=A2?= Date: Mon, 11 Apr 2022 08:29:01 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20deploy.yaml?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.yaml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/deploy.yaml b/deploy.yaml index 1840dd9..81bd20c 100644 --- a/deploy.yaml +++ b/deploy.yaml @@ -42,17 +42,13 @@ spec: kind: Service apiVersion: v1 metadata: - labels: - app: $IMAGES name: $IMAGES namespace: yanxuan spec: ports: - - name: http - port: 80 - protocol: TCP - targetPort: http + - port: 80 + protocol: TCP + targetPort: 80 selector: app: $IMAGES - sessionAffinity: None type: ClusterIP