Created
October 28, 2018 19:29
-
-
Save Toolenaar/77ea4c8f60117a165bf2d55406e8e481 to your computer and use it in GitHub Desktop.
ingress.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: "webapp-alb-ingress" | |
annotations: | |
kubernetes.io/ingress.class: alb | |
alb.ingress.kubernetes.io/target-type: ip | |
alb.ingress.kubernetes.io/scheme: internet-facing | |
alb.ingress.kubernetes.io/subnets: subnet-01e193631b526f0a3,subnet-0b00f964f88d73075,subnet-0252d9054910fb77e | |
alb.ingress.kubernetes.io/tags: Environment=prod,Team=locali | |
ingress.kubernetes.io/rewrite-target: / | |
labels: | |
app: webapp-service | |
spec: | |
backend: | |
serviceName: default-http-backend | |
servicePort: 80 | |
rules: | |
- http: | |
paths: | |
- backend: | |
serviceName: localiapi | |
servicePort: 4040 | |
path: /api | |
- backend: | |
serviceName: localiapi | |
servicePort: 4040 | |
path: / |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment