Service annotations to input in the loadbalancer IPV4 address
Environment
- Azure Red Hat OpenShift (ARO)
- 4.x
Issue
- Can I use the service annotations to input my loadbalancer IPV4 address?
Resolution
- Use of service annotations to input the loadbalancer IPV4 address will be available in version 4.13
Sample load balancer configuration file
apiVersion: v1
kind: Service
metadata:
name: egress-2
spec:
ports:
- name: db
port: 3306
loadBalancerIP:
loadBalancerSourceRanges: <======== add IPv4 info here
- 10.x.x.x/8
- 192.168.x.x/16
type: LoadBalancer
selector:
name: mysql
Use this documentation for more information about LoadbalancerIP in the spec section or via the default ingress router
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Comments