Created
April 11, 2018 07:06
-
-
Save ahelland/e7af3844faa79e141caafe47043fa71c to your computer and use it in GitHub Desktop.
Kubernetes YAML definition for api-playground-ingress referred to in "Building Microservices with AKS and VSTS — Part 3"
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: api-playground-ingress | |
annotations: | |
nginx.ingress.kubernetes.io/rewrite-target: / | |
kubernetes.io/tls-acme: 'true' | |
spec: | |
tls: | |
- hosts: | |
- csharpfiddle.westeurope.cloudapp.azure.com | |
secretName: tls-secret | |
rules: | |
- host: csharpfiddle.westeurope.cloudapp.azure.com | |
http: | |
paths: | |
- path: / | |
backend: | |
serviceName: api-playground | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment