Created
July 24, 2018 13:23
-
-
Save hackintoshrao/71706dcf1510ba9c98881885d09730a9 to your computer and use it in GitHub Desktop.
Yaml config fpr gateway and service entry for new istio config
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
| piVersion: networking.istio.io/v1alpha3 | |
| kind: Gateway | |
| metadata: | |
| name: up-gateway | |
| namespace: istio-system | |
| spec: | |
| selector: | |
| istio: ingressgateway # use Istio default gateway implementation | |
| servers: | |
| - port: | |
| number: 80 | |
| name: http | |
| protocol: HTTP | |
| hosts: | |
| - "*" | |
| --- | |
| apiVersion: networking.istio.io/v1alpha3 | |
| kind: VirtualService | |
| metadata: | |
| name: frontend | |
| namespace: istio-system | |
| spec: | |
| hosts: | |
| - "*" | |
| gateways: | |
| - up-gateway | |
| http: | |
| - match: | |
| - uri: | |
| prefix: / | |
| route: | |
| - destination: | |
| port: | |
| number: 80 | |
| host: frontend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment