Repository navigation
Use LoadBalancer Services and Envoy Backend TLS on OpenShift - #1383
Merged
Merged
Conversation
ArnobKumarSaha
force-pushed
the
arnob-ocp-gw-lb
branch
2 times, most recently
from
October 29, 2026 16:12
0a14707 to
bc39009
Compare
OpenShift's ingress operator marks itself Degraded when unmanaged gateway.networking.k8s.io CRDs (TCPRoute, BackendTLSPolicy) exist. On OpenShift, expose NATS and s3proxy via dedicated LoadBalancer Services and use Envoy Gateway Backend TLS instead. Always enable the Envoy Gateway Backend extension API. Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
The pgpool image grants write access to /opt/pgpool-II/etc via group 0. With runAsGroup set to the namespace UID, the entrypoint cannot write its config files and the container crash-loops. Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
The ace /nats and s3proxy HTTPRoutes on OpenShift reference an Envoy Backend, but they are served by the service-gateway (gateway.voyagermesh.com/ace), whose EnvoyGateway config lacked extensionApis.enableBackend, so the route failed with ResolvedRefs=False. Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
ArnobKumarSaha
force-pushed
the
arnob-ocp-gw-lb
branch
from
October 29, 2026 18:09
bc39009 to
8a5389e
Compare
ArnobKumarSaha
added a commit
that referenced
this pull request
Oct 29, 2026
Signed-off-by: Arnob Kumar Saha <arnob@appscode.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
OpenShift 4.19+ owns the
gateway.networking.k8s.iogroup. The ingress operator goesDegraded(GatewayAPICRDsDegraded) when unmanaged CRDs exist. TCPRoute isn't managed in any OpenShift release, and BackendTLSPolicy is only managed from 4.22.OpenShift only (detected with the existing
distro.openshifthelper):ace:
nats-tcp/s3proxy-tcpGateway listeners and the NATS TCPRoute.<fullname>-nats-lbLoadBalancer Service (4222)./natsHTTPRoute at an Envoy GatewayBackendwithspec.tls, instead of using BackendTLSPolicy.s3proxy:
<fullname>-lbLoadBalancer Service (4224).Backendwithspec.tls, instead of using BackendTLSPolicy.acaas: set TLS on the existing
Backendinstead of using BackendTLSPolicy.New value
gateway.loadBalancer.annotations(ace, s3proxy): set the same IP-sharing annotations as the Envoy Service (service-gateway-presetsenvoy.service.annotations) so all three LoadBalancer Services share one IP. Clients still useplatform.host:4222/4224. Examples:metallb.universe.tf/loadBalancerIPs: <ip>+metallb.universe.tf/allow-shared-ip: aceservice.beta.kubernetes.io/azure-load-balancer-ipv4: <ip>spec.loadBalancerIPis deliberately not exposed (deprecated since Kubernetes 1.24).ace pgpool:
runAsGroup: 0. Pod and containerrunAsGroupare no longer the namespace UID.All platforms:
enableBackend: trueunderconfig.envoyGateway.extensionApis, set for:voyager-gateway(the cluster gateway)service-gatewayandservice-gateway-presets(the per-namespacegateway.voyagermesh.com/acegateway that serves the ace/s3proxy/acaas routes). Without it,/natsfails withResolvedRefs=False: Backend is disabled in Envoy Gateway configuration.catalog: regenerated by
make refresh(editor charts v0.38.0 → v0.39.0).Depends on:
backends.gateway.envoyproxy.ioCRD.Verification (
helm template):