AWS LBC IngressClass Params

0

How do I properly apply an IngressClassParam to my AWS Load Balancer Controller IngressClass?, say for default assigning the Subnets, or a Group.name. Is it a CRD i need to make? Or do I just apply as a new annotation to the AWS LBC IngressClass and the IngressClassParam already exists, just needed to be referenced?

1 Answer
1
Accepted Answer

start by creating a IngressClassParams

https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.2/guide/ingress/ingress_class/

once you have the IngressClassParams resource created, you would then create an IngressClass resource and reference the IngressClassParams resource in the parameters field of the IngressClass resource

https://docs.okd.io/4.11/networking/aws_load_balancer_operator/multiple-ingress-through-single-alb.html#:~:text=Create%20an%20IngressClassParams%20resource%20by,lb%20spec%3A%20controller%3A%20ingress.k8s.aws%2Falb

profile picture
EXPERT
answered 6 months ago
  • Thank you! Is it safe to combine multiple Params into a single IngressClassParams? Like tags, IPAddressType, and sslPolicy?

    ***Went ahead and just tested it. Yeah, it appears to work: one IngressClassParam; referenced on the ingressClass, gets the multiple setting s i had defined in the single IngressClassParam.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions