From 4ebf59f2b24edd2730bf817b39b3e3f1b5e6c0ec Mon Sep 17 00:00:00 2001 From: Simple_Not <44047940+moonbaseDelta@users.noreply.github.com> Date: Thu, 22 Jun 2023 00:31:11 +1000 Subject: [PATCH] ingress? --- manifests/03-ingress/web2-ingress.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 manifests/03-ingress/web2-ingress.yaml diff --git a/manifests/03-ingress/web2-ingress.yaml b/manifests/03-ingress/web2-ingress.yaml new file mode 100644 index 0000000..fb713fc --- /dev/null +++ b/manifests/03-ingress/web2-ingress.yaml @@ -0,0 +1,18 @@ +apiVersion: networking.k8s.io/v1 + kind: Ingress + metadata: + name: example-ingress + annotations: + nginx.ingress.kubernetes.io/rewrite-target: /$1 + spec: + rules: + - host: hello-world.info + http: + paths: + - path: /v2 + pathType: Prefix + backend: + service: + name: web2 + port: + number: 8080 \ No newline at end of file