From 490bef46107f52eeb377bbd6027993235868bed0 Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Thu, 22 Jun 2023 00:24:17 +1000 Subject: [PATCH] ingress? --- manifests/02-services/hw-service.yaml | 4 ++-- manifests/03-ingress/hw-ingress.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/02-services/hw-service.yaml b/manifests/02-services/hw-service.yaml index a631e96..4ff0c58 100644 --- a/manifests/02-services/hw-service.yaml +++ b/manifests/02-services/hw-service.yaml @@ -8,9 +8,9 @@ spec: selector: app: helloworld ports: - - port: 6666 + - port: 80 targetPort: 80 - nodePort: 6666 + nodePort: 30001 #name: http #protocol: TCP diff --git a/manifests/03-ingress/hw-ingress.yaml b/manifests/03-ingress/hw-ingress.yaml index 28f7689..33ff302 100644 --- a/manifests/03-ingress/hw-ingress.yaml +++ b/manifests/03-ingress/hw-ingress.yaml @@ -17,7 +17,7 @@ spec: service: name: hw-service port: - number: 6666 + number: 30001 # - path: / # pathType: Prefix # backend: