Skip to content

Instantly share code, notes, and snippets.

@nginx-gists
Last active November 10, 2022 23:59
Show Gist options
  • Select an option

  • Save nginx-gists/ee8dfa5239bf2ac23f630119dad04f6a to your computer and use it in GitHub Desktop.

Select an option

Save nginx-gists/ee8dfa5239bf2ac23f630119dad04f6a to your computer and use it in GitHub Desktop.
NGINX and NGINX Plus Ingress Controllers for Kubernetes Load Balancing
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: cafe-ingress
spec:
tls:
- hosts:
- cafe.example.com
secretName: cafe-secret
rules:
- host: cafe.example.com
http:
paths:
- path: /tea
backend:
serviceName: tea-svc
servicePort: 80
- path: /coffee
backend:
serviceName: coffee-svc
servicePort: 80
@nginx-gists
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment