Comments (7)
I am not an openshift developer, but I had the same need and after working with support I achieved it using
#! To apply this special file use:
#! oc replace --force -f - --wait --save-config
apiVersion: operator.openshift.io/v1
kind: IngressController
metadata:
name: default
namespace: openshift-ingress-operator
spec:
replicas: 3
defaultCertificate:
name: router-certs
endpointPublishingStrategy:
loadBalancer:
scope: Internal
providerParameters:
type: AWS
aws:
type: NLB
type: LoadBalancerService
from cluster-ingress-operator.
@htkmts, as @kim0 mentions, support for AWS NLB's was added to the ingress operator in OCP 4.6.
from cluster-ingress-operator.
/close
from cluster-ingress-operator.
@sgreene570: Closing this issue.
In response to this:
/close
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
from cluster-ingress-operator.
But this doesnt allow the static IP addresses configuration for the NLBs. It just takes a ip allocated from the subnets assigned to the cluster. Can i know if we can custom config the static IP addresses for the NLB?
Also would love to see the customisation for below NLB config parameters:
Name
Subnets
Custom tags
Attributes
Static IP addresses
from cluster-ingress-operator.
I also have same requirement. Basically for whatever reason if i need to replace NLB I want to retain same IP ,this will help not to request firewall opening and all if NLB pickup some other random IP.If we see AWS documentation "you can optionally specify one private IP address per subnet." https://docs.aws.amazon.com/elasticloadbalancing/latest/network/network-load-balancers.html
from cluster-ingress-operator.
Have also hit this. It seems as if https://github.com/openshift/cluster-ingress-operator/blob/master/pkg/operator/controller/ingress/load_balancer_service.go needs to be updated to pass annotations to the ingress controller's service:
- service.beta.kubernetes.io/aws-load-balancer-private-ipv4-addresses
- service.beta.kubernetes.io/aws-load-balancer-subnets annotations
or https://github.com/openshift/api/blob/54592eea55395af31e82fa9a605eb45523115454/operator/v1/types_ingress.go#L592-L595 needs to be updated to Deep Copy ELBv2 SubnetMappings into the resulting load balancer.
Probably the former.
See https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.2/guide/service/annotations/ and https://docs.aws.amazon.com/sdk-for-go/api/service/elbv2/#SubnetMapping
from cluster-ingress-operator.
Related Issues (20)
- Remove router-ca
- IngressController Autoscale HOT 4
- crd ingresscontrollers need `dnsPlocy` set for deloyment HOT 2
- Degraded status when starting an OCP private cluster deployed on AWS HOT 5
- Define custom annotations for LB Service HOT 6
- unable to build images locally HOT 5
- Ingress Conroller Degraded when using different domain for external LB HOT 5
- Support for custom ports to bind haproxy HOT 6
- Test issue for automation final try HOT 6
- Issue for testing automation HOT 2
- Testing automation again
- Ingress as a pluggable component HOT 2
- Bug: affinity rule created in router deployment for single-replica infrastructure and "NodePortService" endpoint publishing strategy HOT 5
- Add tweakable "ROUTER_IP_V4_V6_MODE/v4v6" parameter in the ingress operator for single stack clusters HOT 4
- Route objects owned by Ingress objects are not using the default certificate of the router in case no secret and host list is specified in the Ingress TLS configuration HOT 5
- Feature Request: Make router log level configurable via ingress controller HOT 2
- Bugzilla reference in New Issue template leads to dead end HOT 3
- persistent ingresswithoutclassname alerts w/no ingresses present. HOT 10
- test
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster-ingress-operator.