Skip to content

Instantly share code, notes, and snippets.

@tomaustin700
Created March 27, 2020 16:05
Show Gist options
  • Save tomaustin700/16d99169a7792ccd239f648af3f29f2d to your computer and use it in GitHub Desktop.
Save tomaustin700/16d99169a7792ccd239f648af3f29f2d to your computer and use it in GitHub Desktop.
Basic ingress configuration for an AKS instance
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: ingress
namespace: ingress-basic
annotations:
kubernetes.io/ingress.class: nginx
nginx.ingress.kubernetes.io/use-regex: "true"
spec:
rules:
- host: akstomaustin.westeurope.cloudapp.azure.com
http:
paths:
- path: /
backend:
serviceName: helloworld
servicePort: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment