gorush/k8s/gorush-aws-alb-ingress.yaml

21 lines
550 B
YAML

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
alb.ingress.kubernetes.io/subnets: subnet-aa3dfbe3,subnet-4aff342d
alb.ingress.kubernetes.io/security-groups: sg-71069b17
spec:
rules:
- host: gorush.example.com
http:
paths:
- path: /
backend:
serviceName: gorush
servicePort: 8088