Last active
November 10, 2022 23:59
-
-
Save nginx-gists/ee8dfa5239bf2ac23f630119dad04f6a to your computer and use it in GitHub Desktop.
NGINX and NGINX Plus Ingress Controllers for Kubernetes Load Balancing
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: 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 |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For a discussion of this file, see NGINX and NGINX Plus Ingress Controllers for Kubernetes Load Balancing