Prerequisites
- The Load Balancer IP sharing feature applies to NextGen Gateway versions 19.1.0 and later when installed using the Gateway ISO.
- Other installation types may not support the single IP sharing functionality with Load Balancer.
Service Disruption and Expected Downtime
Changing the Load Balancer configuration will restart multiple services and their associated ports, causing temporary downtime for various components.
Expected Downtime for Key Components
Version | Mode of Operation | Details |
---|---|---|
nextgen-gw-0 | Main Gateway StatefulSet pod | 3-5 minutes |
nextgen-gw-tcp service | TCP services (SNMP traps, Syslog) | 2-3 minutes |
nextgen-gw-udp service | UDP services (SNMP traps, Syslog) | 2-3 minutes |
npm-collector-[hash] | NPM Collector pods | 2-4 minutes |
npm-collector service | NPM Collector service (replaced) | 2-3 minutes |
npm-collector-external | New external-facing NPM Collector | 1-3 minutes |
npm-collector-internal | New internal ports NPM Collector | 1-3 minutes |
squidproxy-[hash] | Squid proxy deployment pods | 2-4 minutes |
squidproxy service | Original Squid proxy service | 1-2 minutes |
squidproxy-ext service | Extension Squid proxy service | 1-2 minutes |
nextgen-gw-lb-controller-[hash] | Load Balancer controller pod | 1-2 minutes |
nextgen-updater-[hash] | Updater cronjob pod (if running) | No impact if not running |
MetalLB components | Load balancer IP allocation | 2-3 minutes |
Tip
For production environments, perform this operation during a scheduled maintenance window to minimize impact.Pods and Services: Before and After Load Balancer
- Before LB Enabled: Services such as Gateway, Squid Proxy, and Redis run with separate IPs and independent pods.
- After LB Enabled:
- Introduction of
nextgen-gw-lb-controller
pod. - Squid Proxy runs in two modes initially:
squid-proxy
: Original service with a separate IP.squid-proxy-ext
: New service sharing Gateway IP.
- Over time, only
squid-proxy-ext
will remain active.
- Introduction of
Example: Pod Status Before Load Balancer Enabled
Example: Service Status Before Load Balancer Enabled
Example: Pod Status After Load Balancer Enabled
Example: Service Status After Load Balancer Enabled
Point to be Noted
- Squid Proxy will continue to run in a Load Balancer (LB) configuration but will now share its IP address with the Gateway service.
- If you already have Squid Proxy running, it uses a separate IP address from the Gateway service. To allow customers enough time to update their agents on their own schedule, the existing Squid Proxy service will remain active with its current IP. Alongside the existing service, a new service called squid-proxy-ext will be introduced, which shares the IP address with the Gateway service.
- If you will have two Squid Proxy services running in the Load Balancer setup:
- squid-proxy: Uses the original, separate IP address.
- squid-proxy-ext: Shares the Gateway’s IP address.
- Only the new squid-proxy-ext service will be deployed once the Load Balancer mode is enabled.