Answer the question
In order to leave comments, you need to log in
How to add rule source ip to kubernetes ingress alb?
How to add rule source ip to kubernetes ingress alb? (in .yaml format)
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: "test"
annotations:
kubernetes.io/ingress.class: alb
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:eu-west-3:494b89c637f636a
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80,"HTTPS": 443}]'
labels:
app: test
spec:
rules:
- http:
paths:
- path: /*
backend:
serviceName: "test1"
servicePort: 80
- host: test.com
http:
paths:
- backend:
serviceName: "test"
servicePort: 80
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question