From 25dd31952c27ee77cfafb0d5865677f734d17b1e Mon Sep 17 00:00:00 2001 From: Ahmet Alp Balkan Date: Thu, 21 Jun 2018 14:07:08 -0700 Subject: [PATCH] checkoutservice: change port to 5050 Signed-off-by: Ahmet Alp Balkan --- kubernetes-manifests/checkoutservice.yaml | 6 +++--- src/checkoutservice/Dockerfile | 2 +- src/checkoutservice/main.go | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/kubernetes-manifests/checkoutservice.yaml b/kubernetes-manifests/checkoutservice.yaml index 2a3b45d..bf2bfe9 100644 --- a/kubernetes-manifests/checkoutservice.yaml +++ b/kubernetes-manifests/checkoutservice.yaml @@ -13,7 +13,7 @@ spec: - name: server image: checkoutservice ports: - - containerPort: 5000 + - containerPort: 5050 env: - name: PRODUCT_CATALOG_SERVICE_ADDR value: "productcatalogservice:3550" @@ -29,5 +29,5 @@ spec: selector: app: checkoutservice ports: - - port: 5000 - targetPort: 5000 + - port: 5050 + targetPort: 5050 diff --git a/src/checkoutservice/Dockerfile b/src/checkoutservice/Dockerfile index 2888137..d4d2f1c 100644 --- a/src/checkoutservice/Dockerfile +++ b/src/checkoutservice/Dockerfile @@ -9,5 +9,5 @@ FROM alpine as release RUN apk add --no-cache \ ca-certificates COPY --from=builder /catalogservice /catalogservice -EXPOSE 5000 +EXPOSE 5050 ENTRYPOINT ["/catalogservice"] diff --git a/src/checkoutservice/main.go b/src/checkoutservice/main.go index 49b744f..8a2990e 100644 --- a/src/checkoutservice/main.go +++ b/src/checkoutservice/main.go @@ -15,7 +15,7 @@ import ( ) const ( - listenPort = "5000" + listenPort = "5050" ) type checkoutService struct {