Created
March 10, 2021 08:52
-
-
Save reutsharabani/74c6fd2c0de10361722c5f617cd7bfe9 to your computer and use it in GitHub Desktop.
This file contains 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: my-ingress | |
annotations: | |
# provision application load balancer | |
kubernetes.io/ingress.class: alb | |
# on a public subnet | |
alb.ingress.kubernetes.io/scheme: internet-facing | |
# register pods to Load Balancer (not nodes) | |
alb.ingress.kubernetes.io/target-type: ip | |
spec: | |
rules: | |
- http: | |
paths: | |
- path: /* | |
backend: | |
serviceName: my-service | |
servicePort: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment