Last active
October 7, 2018 14:57
-
-
Save l2fprod/1ebba758b4ef4407d6e47e431d04ffae to your computer and use it in GitHub Desktop.
knative / lw / ingress
This file contains 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
# redirect iks ingress to knative ingress | |
# HTTP only | |
apiVersion: extensions/v1beta1 | |
kind: Ingress | |
metadata: | |
name: lw-knative-ingress | |
namespace: istio-system | |
annotations: | |
# give 30s to services to start from "cold start" | |
ingress.bluemix.net/upstream-fail-timeout: "serviceName=knative-ingressgateway fail-timeout=30" | |
ingress.bluemix.net/upstream-max-fails: "serviceName=knative-ingressgateway max-fails=0" | |
spec: | |
rules: | |
- host: lw-erp.default.$INGRESS_DOMAIN | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: knative-ingressgateway | |
servicePort: 80 | |
- host: lw-controller.default.$INGRESS_DOMAIN | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: knative-ingressgateway | |
servicePort: 80 | |
- host: lw-webui.default.$INGRESS_DOMAIN | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: knative-ingressgateway | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment