Skip to content

Instantly share code, notes, and snippets.

@ahelland
Created April 11, 2018 07:06
Show Gist options
  • Save ahelland/e7af3844faa79e141caafe47043fa71c to your computer and use it in GitHub Desktop.
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"
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