2017-09-22 03:22:10 +00:00
|
|
|
apiVersion: extensions/v1beta1
|
|
|
|
kind: Ingress
|
|
|
|
metadata:
|
|
|
|
name: gorush
|
|
|
|
namespace: gorush
|
|
|
|
annotations:
|
|
|
|
# Kubernetes Ingress Controller for AWS ALB
|
|
|
|
# https://github.com/coreos/alb-ingress-controller
|
|
|
|
alb.ingress.kubernetes.io/scheme: internet-facing
|
2017-10-23 04:58:02 +00:00
|
|
|
alb.ingress.kubernetes.io/subnets: subnet-aa3dfbe3,subnet-4aff342d
|
|
|
|
alb.ingress.kubernetes.io/security-groups: sg-71069b17
|
2017-09-22 03:22:10 +00:00
|
|
|
spec:
|
|
|
|
rules:
|
|
|
|
- host: gorush.example.com
|
|
|
|
http:
|
|
|
|
paths:
|
|
|
|
- path: /
|
|
|
|
backend:
|
|
|
|
serviceName: gorush
|
|
|
|
servicePort: 8088
|