Repository navigation
v0.11.1
ProxCloud v0.11.1 is the release after v0.11.0. It completes layer 4 of the load balancer: UDP, TLS termination with certificates, and the layer 4 options, for a tenant's own balancers and for the Services of a managed Kubernetes cluster. It was prepared by five release candidates and five lab drills, each followed by a read-only audit. Its code is that of v0.11.1-rc.5: against that candidate the release changes the version lines, these notes and the documents, and nothing of the product.
The BOM (bill of materials) is the list of exact versions a managed-services platform runs. The BOM of this release is 0.11.1. Against 0.11.0 it moves one thing: the cluster chart for new tenant clusters, proxmox-kamaji-cluster 0.1.17 → 0.1.19.
Highlights
- Read the first six points of "Upgrade" before you upgrade. One of them is about billing: a public address of a Kubernetes Service that has no floating IP row gets one, billed from the time the address was allocated.
- Five listener protocols. A listener is
tcp,udp,tls,httporhttps.v0.11.0servedtcpandhttpand refused the rest. - UDP, on a pair. A highly available load balancer takes UDP listeners. The kernel's IPVS (LVS) balances the datagrams on the appliance that holds the address, next to HAProxy. A TCP and a UDP listener may share a port number. A balancer on one VM refuses UDP.
- TLS ends on the balancer. A project uploads certificates with their keys. A
tlslistener passes TCP to the servers, anhttpslistener passes HTTP. One listener presents up to ten certificates and picks by the server name the client asks for (SNI). TLS 1.2 and 1.3 only, with a fixed list of suites. - The layer 4 options. Session persistence by source address, PROXY protocol version 1 or 2, health checks of type
tcp,http,https,tls-helloandnonewith their own interval, timeout, rise and fall, three timeouts, and a connection limit per listener. - Kubernetes Services get the same. A Service of a managed cluster can have UDP ports, TCP and UDP on one address, session affinity, TLS from a
kubernetes.io/tlsSecret, and a set ofproxcloud.io/lb-*annotations. A Service can also leave its public address to its cluster and take it again later. - The controller watches. With cluster chart
0.1.19a change of a Service or a node is sent to the portal about a second after it happens. Before, the controller listed the cluster every 10 s. - An existing cluster gets none of this by the portal's upgrade. It keeps the controller it was made with until it is moved to chart
0.1.19. Until then its UDP Services stay refused, so nothing gets an address and a bill without its owner's action. - No request is lost at a reload or a node change any more (#430).
v0.11.0listed this as a known issue. On the lab, underv0.11.1-rc.1, a client loop counted 31365 requests and 0 failed across the upgrade fromv0.11.0. A node change under load was not run there. - Every load balancer is reloaded once after the upgrade, the standby of a pair first. No maintenance window is needed.
- Only
proxcloud.io/lb-*annotations are read. The product defines its own names. A manifest written for another cloud's controller must be renamed first: see Known issues. - What ran on a lab ran on the candidates. "Verified on a lab" names the candidate of each part. The images of this release ran nowhere before its tag.
Upgrade
These steps upgrade from v0.11.0. A site that runs a candidate of v0.11.1 reads "From a candidate" as well. From an older release, read the notes of v0.11.0 first: their steps and cautions still apply. Every figure below was measured on one lab under a candidate, as named.
Read these six first
- Billing: an address without a floating IP row gets one, billed from its allocation time. The floating IP row (
FLOATING_IP) lists a public address for the tenant and bills it. An address that a cluster's balancer holds for a Service, or that a cluster keeps, and that has no such row gets one at the first pass of that balancer after the upgrade. The row starts at the time the address was allocated, not at the upgrade. Its bill item is counted from that time, or from the start of the open bill's cycle where the address is older than that. Before you upgrade: run a services sync, then read each project's floating IPs and its open bill. The sync writes the same rows with the same start, so what you read then is what the upgrade bills. Give back first any address that must not be billed. See "Billing first". - Every balancer's HAProxy config is pushed once, the standby first. No maintenance window is needed. A pair also gets keepalived's files once. That is one HAProxy reload per appliance and one keepalived reload per appliance of a pair. A reload is not a restart: open connections are kept. On the lab, across the upgrade from
v0.11.0to rc.1, a client loop counted 31365 requests on the Service that stayed served and 0 failed. The standby of a pair was pushed 15 s before the other appliance, the cluster's pair within a minute of the upgrade, and the single balancer at the first services sync. One cost, once: a balancer with a dead member, or a Service withexternalTrafficPolicy: Local, sees the known 2 to 4 seconds of lost requests at this reload. See step 2. - A cluster gets UDP, TLS from a Secret, keep-address and the annotations only with chart
0.1.19and its controller. The portal's upgrade and the platform run change no existing cluster. Move a cluster with the tenant's platform update on the cluster's page, the operator's Bump of the chart version, or the operator's Enable load balancer controller, run again. A cluster that is already on chart0.1.19from a candidate is offered no update: the operator's Apply settings moves its controller to this release's image. See step 5. proxcloud.io/lb-internalis read now.v0.11.0did not read this annotation. A Service that carries it with"true","yes"or an empty value loses its public address when its cluster gets the new controller. Set it to"false"or remove it where the address must stay. On the lab, under rc.1, two such Services lost their address within half a minute of their cluster's update.- Release the kept addresses before a rollback to
v0.11.0.v0.11.0does not know a cluster's list of kept addresses and saves the cluster's balancer without it. The addresses then stay allocated, billed and in the floating IP quota, and no page lists them, also after the roll forward. See step 7. - A UDP port with no listener is silently dropped. On a pair with a UDP listener, a datagram for a port that has no UDP listener gets no ICMP "port unreachable". A monitor that reads that answer, or a UDP traceroute to the address, times out instead. No balancer of
v0.11.0has a UDP listener, so this starts with a pair's first UDP listener.
Billing first
- Which addresses. Until this release only the services sync (the changelog calls it the provider sync) wrote the floating IP row of an address that a cluster's balancer holds for a Service. Now the balancer's own pass writes it, and the row of an address a cluster keeps. Kept addresses are new in this release: a site on
v0.11.0has none. - When. At the first pass of each cluster's balancer after the portal's upgrade: its controller's next request, within 30 s, or the services sync. Nobody has to act, and no plan row announces it.
- From when it bills. The row carries the time the address was allocated. Its bill item is counted from that time, or from the start of the open bill's cycle where the address is older than that. With a price by the hour, an address allocated ten days ago in this cycle is billed for those ten days at the next charge run.
- It is the row a services sync writes. A sync before the upgrade writes the same rows with the same start. The upgrade bills nothing a sync would not have billed. It bills it at the first pass, and without a sync.
- Which sites this changes. On a site whose services sync runs on schedule, at most the addresses taken since its last run. On a site that runs no sync by itself, such as a lab with the scheduler off, every address of a Service that no sync has seen: they counted in the quota and were neither listed nor billed. On the lab under rc.2, 12 addresses were in use with 4 rows until a sync ran.
- What it does not touch. A tenant's own balancers and the public addresses of servers: their rows are the sync's, as before. No address moves, and nothing is pushed to an appliance for this.
- What to check before the upgrade. Run a services sync and read each project's floating IPs and its open bill. After the upgrade,
GET /api/v1/project/{id}/quota-usagelists every public address the quota counts undernetwork.addresses, withsinceandkind. - There is no switch for it. An address that is given back before the upgrade gets no row: its Service deleted. An address that stays is billed from its allocation, by this pass or by the next sync.
- On the lab, at the upgrade from rc.2 to rc.3, six addresses got their floating IP row with the allocation time as its start. What a charge run then bills was read in the code only: the rows were read, and no charge run was made.
Steps
-
Before the upgrade, look at four things.
- The floating IP rows, above.
- The platform's BOM. The move is planned from the BOMs
0.10.1,0.10.2,0.11.0, their candidates, and the five candidates of0.11.1. A platform on an older BOM (0.8.0to0.10.0and their candidates, all on Kubernetes 1.35.10) is refused by this build. Move it to0.10.1first with thev0.10.1build, both parts, as the notes of v0.10.1 describe. - Services that carry
proxcloud.io/lb-internal: the fourth point above. A value that is no boolean refuses the Service. - Whatever waits for ICMP "port unreachable" from a balancer's address: the sixth point above.
-
Upgrade the portal. On the Docker Compose host, check out the tag and run the upgrade. The script takes its backup first.
compose.yamldid not change sincev0.11.0. See "Upgrade" in the Compose guide.git fetch --tags && git checkout v0.11.1 ./proxcloud-up.sh upgrade v0.11.1- Why every balancer is pushed. The config the platform renders for an existing balancer is no longer the one
v0.11.0rendered: it names a state file, tries a refused connect on another member, waits 2 s for a connect where it waited 5 s, and names its backends by pool. The files of a pair's keepalived changed too. So each balancer's recorded hash differs, and its next pass pushes it. - What a push is. One HAProxy reload per appliance, and one keepalived reload per appliance of a pair. A reload is not a restart: open connections are kept.
- The standby first. A pair's standby gets the config before the appliance that holds the address. A config that HAProxy on the standby does not take is not sent to the other one. On each appliance the apply checks the file, reloads, proves that HAProxy listens on every address of it, and puts the old file back otherwise.
- When. At the first services sync after the upgrade. For a cluster's balancer, at its controller's next call. Run a services sync right after the upgrade, at a time of your choosing, on a site without a scheduler.
- What it costs once. This reload is the last one that starts every member as up. A balancer with a dead member, or a Service with
externalTrafficPolicy: Local, sees the known 2 to 4 seconds of lost requests once more. - Until its push, the health view of a balancer lists its members as
NOT LOADED. The listeners are not affected. - A balancer without a UDP or TLS listener gets no new package and one new file, the state file.
- sshd is masked by that push, on every appliance.
- A pair that has one appliance at the upgrade gets keepalived as its own master and serves alone from then on.
- On the lab this ran from
v0.11.0to rc.1, as the second point above says. The portal upgrades between the candidates took 25 to 32 s each, with the backup. This release renders the same HAProxy config and the same keepalived files as rc.2 to rc.5.
- Why every balancer is pushed. The config the platform renders for an existing balancer is no longer the one
-
Read the plan. Open System → Managed services and read the plan in step 4. It refuses nothing. From the BOM
0.11.0(and from0.11.0-rc.1and0.11.0-rc.2) it lists two changes:Change From → to Class Stage Wave release0.11.0→0.11.1record only none tenantCharts.kubernetesproxmox-kamaji-cluster0.1.17→0.1.19record only none -
Run the platform upgrade. Type
upgrade <installation name> to 0.11.1. There is one action, with no parts, and no seed backup is asked for.- What it does. It records the new release and writes chart
0.1.19on the Kubernetes provider: clusters created after it get the new chart and the controller that watches. - What it does not do. It replaces no machine, syncs nothing and writes nothing on Proxmox. The platform cluster stays on chart
0.1.16. No tenant cluster changes chart, and no balancer is touched by this run. - No sandbox. The BOM holds no sandbox component, so the run installs none.
- On the lab the run from
0.11.0to0.11.1-rc.1, with these two rows, took 44 s. The four one-row runs between the candidates took 38 s, 8.5 s, 8.2 s and 8.5 s. Every running VM kept its QEMU process. No run to0.11.1itself was made.
- What it does. It records the new release and writes chart
-
Give the clusters the new controller. The portal's upgrade restarts no controller. The image a cluster's controller runs is set when the cluster is moved.
- A cluster made before
v0.11.1keeps the controller ofv0.11.0. Its UDP Services stayUDPNotSupported, and no annotation butproxcloud.io/lb-proxy-protocol: "true"is read. On the lab, under rc.1, such a cluster changed in nothing by the portal's upgrade and the platform run. - How to move it. Any one of these moves it to chart
0.1.19and to the portal's controller image: the tenant's platform update on the cluster's page, the operator's Bump of the chart version, or the operator's Enable load balancer controller, run again (it also replaces the controller's credential). - What the move changes for the tenant. A Service with a UDP port that stood refused gets a public address, which is billed and counts in the floating IP quota. A Service with
proxcloud.io/lb-internalthat is not false loses its address. - The move rolls the controller's pod only: no machine, no appliance, no balancer config.
- The portal serves either controller. A controller of
v0.11.0is answered as before. - A cluster that is on chart
0.1.19already, from a candidate: see "From a candidate". - See "UDP, TLS and the controller of an earlier release".
- A cluster made before
-
Give the site what UDP and TLS need. Skip this step and nothing breaks.
- UDP needs a pair. A balancer made with
ha: false, or made beforev0.11.0, refuses a UDP listener. - UDP needs
nftableson the appliance. The first UDP listener installs that one package from apt where the image lacks it. A site with no egress bakes it intoconfig.lbImage. - An image of your own also needs
perland the kernel modulenf_conntrack_netlink. Both appliance images have them. See Known issues. - UDP members must answer a ping from the appliance. The default health check sends a datagram and a ping. A security group that admits the UDP port but no ICMP takes the member out. Admit ICMP from the load balancer, or choose a check with a required reply, a TCP check or an HTTP check.
- TLS needs the portal's encryption key. On a portal whose
ENCRYPTION_KEYis missing or shorter than 32 characters, a certificate upload answers503and nothing is stored. - Protect
backups/. The upgrade's backup writes the database dump and a copy of.envside by side. From this release that directory holds what opens every tenant's private key. See Known issues.
- UDP needs a pair. A balancer made with
-
If you roll the portal back to
v0.11.0, read this first.- Release the kept addresses first.
v0.11.0does not know a cluster's list of kept addresses and saves the cluster's balancer without it. The addresses then stay allocated, billed and in the floating IP quota, and no page lists them, also after the roll forward. They go back to the pool only with the cluster. Release each one on the cluster's page before the rollback. - A Service that ends TLS with a Secret loses its address. The old portal ends no TLS, so the controller does not send it such a Service. Take
proxcloud.io/lb-tls-secretoff the Services whose address must stay, before the rollback. - Do not move a cluster's chart while the portal is rolled back. Chart
0.1.19starts the controller with--watch=true, which the image ofv0.11.0does not know. See Known issues. - A balancer with a UDP or TLS listener is not served by
v0.11.0. Remove such listeners first. - A platform that was moved to the BOM
0.11.1is not known to an older build. A portal rolled back after the platform run of step 4 refuses that platform (bom_unsupported) until the roll forward. - The floating IP rows stay, and a masked sshd stays masked.
- No rollback of the portal ran on a lab.
- Release the kept addresses first.
-
Follow each row of this table that matches your site.
| If you run ... | Do ... |
|---|---|
| A site that bills and has clusters with Services | Read "Billing first" before the upgrade. |
A platform on the BOM 0.10.2 or 0.10.2-rc.1 |
The plan lists two changes, both record only: the release and the tenant chart 0.1.16 → 0.1.19. Read, not run. |
A platform on the BOM 0.10.1 or 0.10.1-rc.2 |
Four changes, allowed: those two and cert-manager v1.20.2 → v1.21.3 on the seed and on the platform cluster. Back up the cert-manager resources first, as the notes of v0.10.2 describe. Read, not run. |
A platform on the BOM 0.10.1-rc.1 |
Five changes, allowed: those four, with the tenant chart from 0.1.15, and the platform cluster's chart 0.1.15 → 0.1.16. Read, not run. |
| A platform on an older BOM | Refused (step 1). |
A platform on the BOM of a candidate of 0.11.1 |
The plan lists one change, the release, record only ("From a candidate"). |
A balancer made before v0.11.0 |
It stays one VM. It takes the layer 4 options and TLS, not UDP. It is pushed once like the others (step 2). |
| A monitor that waits for ICMP "port unreachable" from a balancer's address | It gets no answer for a UDP port without a listener, on a pair with a UDP listener. |
| A site installed with the Ansible installer | Its ProxCloud pin is v0.11.1. Its k3s and Kubernetes pins stay at 1.35.10. The installer path was not drilled. |
| A new install | proxcloud-up.sh install takes v0.11.1 by default, and the chart and the installer name it. |
From a candidate
A candidate was for a lab. A site that runs one upgrades with steps 2 to 4. The plan from the BOM of any candidate lists one change, the release, record only: 0.11.1-rc.1, 0.11.1-rc.2, 0.11.1-rc.3, 0.11.1-rc.4 or 0.11.1-rc.5 → 0.11.1.
- From rc.5: nothing is pushed. The release renders every file of an appliance as rc.5 does, to the byte. No balancer's hash differs and no pass pushes. A cluster's controller needs nothing.
- From rc.4: a pair with a UDP listener gets one file and one reload of its UDP service. The file is
/usr/local/sbin/proxcloud-lvs-net, the script the UDP service runs before it starts and at a reload. The reload is one ofproxcloud-lvs.serviceper appliance, the standby first, at the pair's first pass. The other five files of the UDP service are not written, the unit is not restarted, no unit file is written and no package is installed. HAProxy and the keepalived that moves the address are not touched, so no address moves. Every other balancer gets nothing. - From rc.4: this ran on the lab, to rc.5. Each appliance got the one file and the one reload, the standby first by 15 s, and the service kept its process. 1,461,283 datagrams and 6,590 requests were counted across the portal's upgrade and the ten minutes after, none unanswered. The push came after those minutes, at the services sync: in its minute 1 of 133,169 datagrams went unanswered, and the cause was not found. See "Verified on a lab".
- From rc.3: the same pair gets two files. The script, and
/etc/proxcloud-lb/lvs.nft, the nftables table, which gains the chainlb-input. One reload of the UDP service per appliance, the standby first. From that reload on, a UDP port without a listener is silent (the sixth point above). - From rc.3: one WARN line per appliance. The operator's log has one WARN line per appliance for this push, "load balancer: an appliance's UDP table is not as its configuration has it; pushing it again". It is the state read finding the table of rc.3. On the lab, from rc.3 to rc.4, four appliances got the table and one reload, the standby first by 7 to 8 s, and four running one-socket flows lost none of 4464 datagrams each.
- From rc.2: the same pair gets four files. Those two,
/etc/keepalived/lvs.conf, which gainswarmup 0in every virtual server that has a health check, and a new drop-in,/etc/systemd/system/proxcloud-lvs.service.d/nftables.conf, which ties the UDP service tonftables.service. systemd's unit files are reloaded for the drop-in, and the UDP service once per appliance, the standby first. The push masks sshd on the appliances it reaches. Every other balancer gets nothing. - From rc.1 or rc.2: a stale UDP connection limit is put right by that push. A UDP listener whose limit was changed under rc.1 or rc.2 still holds the figure of before in the kernel. After the push a limit that never limited starts to refuse clients above it, and a removed one stops refusing. Run a services sync where none runs on schedule.
- From rc.1: a pair gets keepalived's five files once more, with one keepalived reload per appliance, the standby first.
haproxy.cfgis the same to the byte, so HAProxy is not reloaded. A pair that readDEGRADED"Neither appliance holds the address yet" under rc.1 readsACTIVEat that first pass, and its cluster's pending Services become ready. A pair with a UDP listener gets the push of rc.2's part in the same pass. - From rc.1 or rc.2: the floating IP rows. "Billing first" holds, also for kept addresses. On rc.2,
GET /api/v1/project/{id}/quota-usagelists the addresses before the upgrade: each row of kindserviceorkeptthat has no floating IP is billed from itssince. A site that runs rc.3 or later has these rows. - A cluster that is on chart
0.1.19under rc.1 or rc.2 keeps the controller image of that candidate. Until it gets a later image, a Service annotated to keep its address and deleted within about a second still gives the address back, and a credential rotation still puts one WarningGatewayRefusedon each Service. The tenant's console offers no update for such a cluster, because its chart version is the provider's already, and the operator's Bump all skips it. Use the operator's Apply settings on the cluster's row of the provider page, or Enable load balancer controller again. Both set the controller's image to the portal's. On the lab, under rc.3, such a cluster was moved by Apply settings: only the controller's pod rolled, and no address was lost. - A cluster whose controller was set under rc.3 or later needs nothing: nothing the controller does changed since rc.3. No page says which image a controller runs. Both consoles say which protocol it speaks, and every controller since rc.1 speaks protocol 2.
- Under rc.1 to rc.4, a UDP client could be left unanswered while its balancer read
ACTIVE. Under rc.1 to rc.3, a client that sent before the listener for its port existed. Under rc.1 to rc.4, a client that kept sending while the UDP service of the appliance that holds the address stopped and started: the last UDP listener removed and one added again, the service's keepalived dying, or a restart ofnftables.serviceorproxcloud-lvs.serviceby hand. Until a pair's first pass after the upgrade it serves as before. - The upgrade frees no such client. Its reload finds the table loaded and empties nothing. A client that is unanswered before the upgrade stays so until it is silent for more than 30 s, or sends from another source port. Restart it, or let it be silent. After the pair's first pass, the next stop and start of the UDP service frees it too: seen in real guests, not on a lab.
- The health view. A pair whose row still reads
DEGRADEDwith "its VM is stopped; starting it" or "it does not answer" for an appliance that is back is put right by its next pass. On a pair that gets no push at the upgrade, the first health read of it does it too. - A rollback to a candidate. To rc.5 nothing changes on an appliance. To an earlier one, that portal writes its own UDP files back to a pair with a UDP listener at its first pass, with one reload, and the defect of that candidate is back. A portal rolled back to rc.2 answers
413to a cluster whose state is within about 6 KiB of the 64 KiB limit. A candidate's build does not carry the BOM0.11.1either (step 7). No rollback ran on a lab.
What changed
Since v0.11.0: fifteen merged pull requests that were in the first candidate, four of them sandbox work for v0.12.0 that is switched off here (see "Sandboxes"); eight fixes that the lab drills of the candidates and the tests of the release asked for (see "Fixed on the way"); and two that change tests alone (#449, #479). The release pull requests of the candidates are not counted.
Load balancers
- A protocol per listener and the layer 4 options (#431). Per listener:
protocol,connectionLimit(1 to 20000) andtimeoutClientData. Per pool:sessionPersistenceby source address,proxyVersion1 or 2,timeoutMemberConnectandtimeoutMemberData. Per health check: the typestcp,http,https,tls-helloandnone, andinterval,timeout,riseandfall. A field at its default writes no line. See the load balancer section of the cloud integration guide. - UDP listeners on a pair (#433). IPVS in NAT mode balances the datagrams. A second keepalived, in a unit of its own, fills its table and runs only health checks. The keepalived that moves the address is not touched: a server that comes or goes reloads the UDP service alone. Round robin, least connections or source address, with weights; persistence by source address; source ranges.
- UDP health checks (#433).
udp-connectis the default: a datagram to the port and a ping. It takes an optionalpayloadandrequireReply.tcporhttpon a port of your choice, ornone. A server leaves after 2 to 10 failed checks. - The appliance is no router (#433). Forwarding is on only while an nftables chain with policy drop is loaded that lets through nothing but the answers of balanced flows. The same table drops a UDP datagram for a port without a listener (#473).
- TLS and HTTPS listeners, and a project's certificates (#434). Upload a PEM chain and its key, read what a certificate says, delete one no listener names. RSA of 2048 to 8192 bits or ECDSA P-256 or P-384, no passphrase, a chain of five at most. There is no update: a replacement is a new certificate named on the listeners in the old one's place. A change of certificate is one reload and closes no connection.
httpsoffers HTTP/2 and HTTP/1.1, speaks HTTP/1.1 to the servers and setsX-Forwarded-ForandX-Forwarded-Proto: https. TLS to the servers is not offered.- The files of an appliance are compared at every pass (#433). An appliance whose
haproxy.cfg,keepalived.confor UDP file is not the one the platform recorded is pushed again. Before, a file changed by hand stayed. - No request is lost at a reload or when a node changes (#430). A reload keeps the state of every member, backends are named by pool, the controller sends a node from its first Ready on, and a refused connect is tried on another member at once.
- A Service's address is written when it is served (#430). The controller wrote it as soon as it was allocated, minutes before the first answer.
- Smaller fixes of the second drill of
v0.11.0(#430). A balancer's lock is a lease of one minute. A paused VM is a known state. A pair with a paused appliance names the pause. An appliance whose HAProxy has no listeners gives up the address. Three messages are corrected. - The console has the protocol list, the options, the UDP checks with their caveat, and a Certificates page.
Managed Kubernetes
- Gateway protocol 2 (#435). It only adds to protocol 1: a Service's annotations, affinity and chosen nodes in the request, its
ipModeand Events in the answer. A controller ofv0.11.0is served as before. - UDP and mixed Services (#435). A Service's UDP ports are served by the pair's LVS. A TCP and a UDP port of one number share the Service's address. An SCTP port refuses the Service with
ProtocolNotSupported. - Session affinity (#435).
sessionAffinity: ClientIPkeeps a client on one node for the Service's timeout, for TCP and UDP. - TLS from a Service's Secret (#438).
proxcloud.io/lb-tls-secretnames one to fourkubernetes.io/tlsSecrets of the Service's namespace. The controller reads only the Secrets its Services name. A renewed Secret reaches both appliances as a new file and one reload. A Secret that is deleted or bad never takes TLS off a port and never costs a Service its address. See "TLS from a Service's Secret". - Keeping an address (#440).
proxcloud.io/lb-keep-address: "true"leaves the Service's address to its cluster when the Service goes. A Service that names a kept address inspec.loadBalancerIPgets it. A kept address is billed and counts in the floating IP quota until it is released. A cluster keeps 5 at most. - The controller watches (#439). It watches the Services, the Nodes and the TLS Secrets its Services name, and takes its turn one second after a change. The watch is only a trigger: a turn still lists everything and sends the whole state. An unchanged state is sent every 30 s, where it was every 10 s.
- Which nodes are behind a Service follows Kubernetes' own rule (#435). The exclude label is read as a boolean, and a node with the cluster autoscaler's removal taint is taken out.
- Four review findings closed (#441).
proxcloud.io/lb-internalwith a value that is no boolean refuses the Service. An emptyproxcloud.io/lb-tls-secretasks for TLS and is held like a bad Secret. The second of two quick changes no longer waits about 11 s. The console holds the API's rule for "Down after" on a UDP pool. - Chart
0.1.19for new clusters, and the pages (#442). Both consoles show each port's protocol, the Secret and expiry of a certificate, the kept addresses, and which controller a cluster has.
The annotations, all under proxcloud.io/lb-. No other name is read.
proxcloud.io/lb- |
Values | Effect |
|---|---|---|
proxy-protocol |
true or v2, v1, false |
PROXY header to the nodes on the TCP ports. true is version 2, as in v0.11.0 |
method |
roundrobin, leastconn, source |
The algorithm |
connection-limit |
1 to 20000, -1 = none |
Open connections per listener; per node on a UDP port |
timeout-client-data, timeout-member-connect, timeout-member-data |
1000 to 86400000 ms | The three timeouts of the TCP ports |
x-forwarded-for |
true |
The TCP ports become HTTP listeners that add X-Forwarded-For |
enable-health-monitor |
true, false |
false = no health check; not obeyed for policy Local |
health-monitor-delay, -timeout, -max-retries, -max-retries-down |
1 to 300 s, 1 to 300 s, 1 to 10, 1 to 10 | The check's interval, timeout, good checks to come up, bad checks to go down |
node-selector |
key=value, key |
Only the nodes with every one of these labels are behind the Service |
keep-address |
true, false |
The address stays the cluster's when the Service goes |
internal |
true, false |
true refuses the Service: it never gets a public address |
tls-secret |
one to four Secret names, between commas | TLS ends on the balancer with these certificates; the first answers a client that asks for no name |
tls-ports |
TCP ports, between commas | Only these ports end TLS; unset, every TCP port does |
backend-protocol |
http, tcp |
What the nodes are spoken to in behind a port that ends TLS |
- An unknown name of the prefix is named in one Warning Event
AnnotationNotSupported. A value that is not understood is named inInvalidAnnotationand the default holds. Neither refuses a Service.internalis the one annotation that takes an address back. - The full table, the differences from OCCM and how to rename a manifest are in the managed Kubernetes guide.
Billing
- The pass that takes an address writes its floating IP row (#452). See the first point of "Upgrade".
- A project sees which public addresses its quota counts (#446):
GET /api/v1/project/{id}/quota-usage, undernetwork.addresses, withsinceandkind. - Sandboxes worth less than half a cent each were invoiced 0.00 (#436). At the send, what the sandbox items that round to 0.00 accrued is summed per project and added as one item, "Sandbox runs below 0.005 each (n)". It applies to bills sent from now on. A site that sells sandboxes sees one more line on such a bill.
Sandboxes
- The sandbox platform code is present and switched off (#422, #423, #432, #436). The code that builds sandboxes on a managed-services platform, chart
proxcloud-sandbox0.1.0and cluster chart0.1.18are in this build forv0.12.0. No BOM names the sandbox chart, so an installation that asks for the block is refused (400 invalid_installation) and no run installs anything of it. - The sandbox network guard accepts Cilium's CNI hand-over per node (#422). It ships in the next sandbox runtime image.
Fixed on the way
None of these faults is in v0.11.0: each was found in a candidate of this release, in code that is new here, and fixed in the next one.
- A pair with a UDP listener knows which appliance holds its address (#447). Under rc.1 such a pair read
DEGRADEDwhile it served. - The first appliance of a pair serves alone (#446), while the second is built.
- A damaged certificate file is noticed and healed (#448), at every pass, only where it is damaged.
- An appliance takes a change while the image's package manager runs (#453). The health view names the right holder right after a failover, sshd stays masked after a reboot, and a certificate file is never readable by others.
- A changed connection limit of a UDP listener reaches the kernel (#454), with the algorithm, persistence and weights.
- An address annotated just before its delete is kept (#452).
- A UDP client that was sending before its listener existed is answered (#473). The appliance drops a datagram that the balancer does not take before the kernel remembers its flow. An appliance the platform started reads up once it serves again.
- A UDP client that keeps sending while the UDP service stops and starts is answered again (#477). At a start that finds no table loaded, the service's script empties the appliance's connection table once, right after the table is loaded. A reload finds the table and empties nothing. No package is added: the script sends the kernel one message with
perl. Each such start writes one line to the journal ofproxcloud-lvs.service: "the nftables table was not loaded before: the connection table was emptied", or "the connection table could not be emptied".
Release
- BOM
0.11.1. The pins of0.11.0but the tenant cluster chart,0.1.19(sha256:476950b5e841c9460c47960b1841ceac17998b5c06c7358c9966585f6602d5fa). The five candidates pin the same. No chart of the product differs from its newest tag. This build carries the BOMs of0.8.0to0.11.1-rc.5(twenty-two) as previous BOMs. - No product change against
v0.11.1-rc.5. Between that tag and this release the product's files differ in the version lines a final moves, and in the test lines that the kept BOM of0.11.1-rc.5needed. - What a final moves. The app chart is
0.11.1with appVersionv0.11.1, and the installer's ProxCloud pin and the Compose default namev0.11.1. The installer's k3s and Kubernetes pins stay at 1.35.10.
Verified on a lab
Nothing ran on the images of this release: they do not exist before the tag. Everything below ran on one lab on v0.11.1-rc.1 (2026-11-23), on v0.11.1-rc.2 (2026-11-23 and 2026-11-24), on v0.11.1-rc.3 (2026-11-24), on v0.11.1-rc.4 (2026-11-24) or on v0.11.1-rc.5 (2026-11-25), dates in UTC, as each heading says. Each drill was followed by a read-only audit that counted its figures again. This release has the code of rc.5.
- Where. A lab of three Proxmox nodes with a public test range. Every appliance on one node, on Ubuntu 26.04, with one vCPU. The scheduler was off: every sync was started by hand.
- Not run again as a whole. Each part ran on the candidate its heading names. The detail of the rc.1 parts is in the notes of v0.11.1-rc.2.
On rc.1: the upgrade from v0.11.0, and TLS
- The upgrade from
v0.11.0under five client loops: 31365 requests on the Service that stayed served, 0 failed. - One push per balancer, the pair's standby first by 15 s, the single balancer at the first services sync.
- The platform run of two record-only rows.
- K12: a cluster on the
v0.11.0controller changes in nothing by the portal's upgrade and the platform run. - The cluster's update without a machine roll.
- The
lb-internalandloadBalancerIPcases, and a UDP Service answering from outside the cluster. - TLS on a single balancer. Uploads, SNI, the TLS versions, HTTP/2, PROXY version 1 and 2, a rotation under load (6450 requests, 0 failed), the bundle of 16 KiB, a reboot (56 s without an answer).
- The search for the private key. 289 strings, 0 hits outside the sealed row of the database and the 11 certificate files of the appliance.
On rc.2: the upgrade from rc.1
- The portal upgrade took 25 s, with its backup first. Four client loops counted 24627, 24627, 24627 and 12314 requests, 0 failed.
- A pair got keepalived's files once, with one keepalived reload per appliance, the standby first by 8 s. There was no HAProxy reload and no VRRP transition. The single balancer got nothing.
- The pair that rc.1 left
DEGRADEDreadACTIVEat the first pass, and its pending Services became ready. - The platform run of one record-only row took 38 s. 18 VMs kept their process.
On rc.2: Kubernetes
- On the cluster that was moved. Ports added, changed and removed. UDP alone and beside TCP.
externalTrafficPolicy: Local. Each annotation by itsproxcloud.io/lb-name, 18 cases. Session affinity. - TLS from a Secret, with SNI. A renewal was served after 17 and 21 s, with 0 failed of 4749 requests. A bad Secret was held with
InvalidCertificate. - Keeping an address, the limit of 5 and the release of a kept address, with the annotation set seconds before the delete. Set within a second of it, the address was lost: fixed in rc.3 (#452). The gateway down and back.
- Under load. 64355 TCP and 32178 UDP requests, 0 failed.
- A new cluster. Chart
0.1.19and protocol 2 from its creation. The first appliance served TCP and UDP alone 1 min 57 s before the second was ready. The balancer wentBUILD,DEGRADED,ACTIVE, neverERROR. - Nodes. The exclude label, a cordon, a node's first Ready.
- "Enable load balancer controller" again rotates the credential.
- The cluster's pair under faults. A replace with TLS and UDP: one window of 0.7 s. A planned failover: 0.7 s. A dead master: 3.2 s, with the standby serving the certificate. A stopped appliance was started by the product.
- The cluster's delete left nothing.
On rc.2: a tenant's own pair
- UDP. Beside TCP on one port. DNS at 200 queries a second for 5 minutes: none of 59983 lost. Algorithms, persistence, health checks, source ranges, answers of 4 KiB. Forwarding is on only while a UDP listener exists.
- TLS. SNI, TLS 1.1 refused, HTTP/2. A rotation under 50 requests a second: 2052 requests, 0 failed, the standby first.
- Faults. Six failovers: planned 0.7 to 0.8 s, a dead master 3.5 to 3.6 s, for UDP, TCP and TLS. A replace: 0.8 s for TCP, 2.4 s for UDP. Reboots. A damaged certificate file was healed in one pass, only where it was damaged. A lone appliance. UDP files edited by hand were put back. About 55 config changes with 0 failed requests.
- The appliance is no router. 44 packets were routed through the appliance toward a tenant's address: none arrived.
- Delete. The pair with its listeners and certificates was deleted in 17 s. Servers, group, key and network were removed with nothing left.
On rc.3: the upgrade from rc.2
- The portal upgrade took 31 s, with its backup first. Eight client loops counted 183773 requests in 47 minutes, 0 failed.
- No HAProxy config and no keepalived file was pushed, and there was no HAProxy reload and no VRRP transition, on four appliances.
- A pair with a UDP listener got
lvs.confand the drop-in once, with one reload of the UDP service, the standby first by 10 to 11 s. The cluster's pair got it at its controller's next call, after 21 s, and the tenant's pair at the services sync. - A stale limit was put right by that push. The kernel held 5 where the listener showed 50, on both appliances. After the push 30 of 30 flows were answered. sshd was masked by the same push.
- Six addresses got their floating IP row with the allocation time as its start.
- The platform run from the BOM
0.11.1-rc.2was one record-only row and took 8.5 s. 19 VMs kept their process. - A cluster on chart
0.1.19was offered no update and was moved by Apply settings: only the controller's pod rolled, and no address was lost.
On rc.3: the fixes of rc.3
- UDP limits and options (#454). A UDP limit added, raised and removed, an algorithm, persistence and a weight were in the kernel of both appliances at the first read after the
200. - A replace with UDP (#454) lost 0.7 s of TCP and 0.8 s of UDP, with no WARN line.
- A restart of nftables (#454). Forwarding was never on without the table: 0 of 87 samples.
- The package manager (#453). A change was taken at once while
apt-getran on the standby, on the appliance that holds the address, and on both. - dpkg at work on
haproxy(#453). The push was held, the row stayedACTIVE"A change waits", the appliance that holds the address was not pushed first, and the platform's own retry landed the change 10 s after dpkg's last run ended. The balancer was neverDOWNorERROR, and 0 requests failed. The same held on a cluster's pair, where the retry landed it 20 s after dpkg's end. - The health view after a failover (#453).
GET_HEALTHanswered200with the right holder 5, 15 and 30 s after a holder's shutdown on a tenant's pair, and 7, 15 and 30 s after it on a cluster's. - sshd and certificate files (#453). sshd stayed masked after a reboot, before any push. A new certificate file was 0600 in every sample. Every push had its log line.
- Keeping an address (#452). Annotate and delete in one command line kept the address, twice. The opposite order gave it back. Five were kept and the sixth was given back with one
KeepAddressLimitWarning. - Rows and rotation (#452). The floating IP rows were written and archived by the pass. A credential rotation raised no Warning: the controller was refused for 36 s.
- Clean-up. Five kept addresses were released in 2 s each. A cluster with six Services was deleted in 3 min 20 s, and a pair with 20 listeners in 17 s. 15 allocations gave 15 archived rows, and nothing stayed billed.
On rc.3: the finding rc.4 fixed
- A UDP client that sent before its listener existed was not answered: 2584 of 2584 datagrams after the listener was added, and 4933 after a restart of
nftables.service. A client whose listener existed first lost nothing: every one-socket loop had 0 failed across the upgrade, nine reloads, the failovers and the replace. - The way round that was seen: 36 s of silence. That a replace heals a caught flow was not seen.
On rc.4: the upgrade from rc.3 and the fixes of rc.4
- The portal upgrade took 28.5 s, with its backup first. Six client loops, four of them UDP from one socket each, counted 35710 requests in 15 minutes, 0 failed.
- A pair with a UDP listener got one file,
lvs.nft, and one reload of its UDP service, the standby first by 7 to 8 s. The cluster's pair got it at its controller's next call, 22 s after the upgrade, and the tenant's pair at the services sync. No other file, no HAProxy reload and no VRRP transition, on four appliances. - No datagram of a running one-socket flow was lost when the table was replaced: 0 of 4464 on each of four loops.
- The platform run from the BOM
0.11.1-rc.3was one record-only row and took 8.2 s. 19 VMs kept their process. - A UDP listener added while its client sends (5 and 20 datagrams a second from one socket): the client was answered within 0.02 s of the first new client, and every datagram after. Under rc.3 on the same lab: 0 of 962.
- A listener removed and added again under the same sender: 440 datagrams unanswered while it was gone, nothing forwarded and no ICMP. The sender was answered 0.06 s after the listener was served again. The pair kept its other UDP listeners, so its UDP service was reloaded and not stopped: this is not the event rc.5 fixed.
- A restart of
nftables.serviceon the appliance that holds the address was tried once in that drill: three one-socket flows lost 7 datagrams each (1.6 s), then all were answered. One try does not show what rc.4 does. Looped on the same lab the next day, still under rc.4, on appliances of one vCPU, 8 of 40 such restarts left a client unanswered for as long as it sent: 12 of 160 clients at 500 datagrams a second, none of 240 at 5 and none of 240 at 50. In real guests on a test host it was about 1 client in 8 at 5 a second and 3 in 4 at 50. - A UDP Service made again on its kept address while clients send: the address was on the appliance 7 s before its listener, and the clients were answered 0.06 and 0.18 s after the first new client. A UDP port added to a Service: the appliance got the datagrams 14 s before the listener, and the client was answered in the same fifth of a second.
- A failover with one-socket flows running lost 0.8 s: 3 datagrams a flow, 7 TCP requests. A replace lost 0.7 s of TCP and 0.8 s of UDP, and the new appliances got the new table.
- The health fix. After a failover, the first
GET_HEALTHthat reached the started appliance serving, 43 s after its boot, answered up and wrote the rowACTIVE, with no pass in between. - Unchanged. UDP and TCP from outside, a 4096 byte answer, a UDP connection limit to the kernel and back. Nothing sent through the balancer's address reached a tenant address. The clean-up left no row, and four addresses gave four archived floating IP rows.
- What these tries do not show. The Service made again on its kept address was tried once. Whether the pair's UDP service stopped in between, or was only reloaded beside another UDP listener, was not looked up. Where it stopped, one try would mostly not have met the defect rc.5 fixed.
On rc.5: the upgrade from rc.4 and the fix
One pair with one UDP listener, on the appliances that ran the rc.4 control the same day.
- The portal upgrade took 32 s, with its backup first. Twelve one-socket UDP clients, four each at 5, 50 and 500 datagrams a second, and a TCP loop ran across it and the ten minutes after: 1,461,283 datagrams and 6,590 requests, none unanswered.
- The pair got one file, the script, and one reload of its UDP service per appliance, the standby first by 15 s, at the services sync. The service kept its process and its start time. No other file, no HAProxy reload, no VRRP transition. The reload loaded
nf_conntrack_netlink. In that minute 1 of 133,169 datagrams went unanswered, half a second after the standby's reload; the cause was not found. - The platform run from the BOM
0.11.1-rc.4was one record-only row and took 8.5 s. Every running VM kept its process. - The events, looped on the appliance that holds the address, clients sending throughout: the last UDP listener removed and added again 40 times, the service's keepalived killed 60 times,
systemctl restart nftables40 times,systemctl restart proxcloud-lvs20 times. After each, every client was answered within 0.2 s of the first: 0 of 1,920 left unanswered. UDP was unanswered meanwhile for 27 to 36 s (the listener away), 3.2 to 3.8 s, 1.2 to 1.6 s and 1.1 to 1.6 s. - The same pair under rc.4, the same day: 4 of 20, 10 of 52 and 8 of 40 of the first three events left a client unanswered, 27 of 448 clients at 500 datagrams a second, 1 of 448 at 50 and 0 of 448 at 5. With 5 and 50 a second alone: 2 of 60 events. At 5 and 50 a second this lab cannot tell the fix from rc.4; at 500 it can.
- A start alone, 30 times: 0 of 360 clients left unanswered. The lab has no figure for rc.4 here.
- The journal line at every start that found no table: 261 starts, 261 times "the connection table was emptied", never "could not be emptied". Also at two boots and on the two appliances of a replace.
- HAProxy through it: 56,890 requests, 0 failed; no VRRP transition.
- The appliance's own traffic after such a start, tried once: 13 name lookups answered,
apt-get updateended with 0, the clock in sync. - Two failovers with the clients running lost 0.6 to 0.8 s and left no client unanswered. The appliance the product started again booted the newer kernel of its package run (7.0.0-44), loaded the module and wrote the line.
- A replace under the clients took 14 min 48 s; the switch lost 0.6 to 1.0 s of UDP and 0.7 s of TCP; no client left unanswered.
- Unchanged. A listener added while twelve clients send to it, 5 times: all answered within 0.2 s of each other. A weight and a connection limit changed: no datagram lost. The clean-up left no row; one address gave one archived floating IP row.
Beside the lab
- The spike of the method of 2026-11-22, by hand, with no product code: see the notes of v0.11.1-rc.1. It is not a test of this code.
- The stop and start of the UDP service, in real guests of both appliance images on a test host, with clients that each send from one socket. Under rc.4, per stop and start: a restart of
nftables.serviceleft about 1 client in 8 unanswered at 5 datagrams a second and 3 in 4 at 50; the last UDP listener removed and one added again about 1 in 16 and 5 in 8; a start alone about 1 in 800 and 1 in 100. On a lab pair with appliances of one vCPU it was far rarer: 1 of 688 clients at 5 a second, 2 of 688 at 50, 27 of 448 at 500. - The same with the fix, in real guests: 200 stops and starts per event and image, four clients at 5 datagrams a second and four at 50: 0 of 800 clients left unanswered at either rate, for the listener removed and added again, for keepalived killed, and for a restart of
nftables.service. Debian 13's userland ran there on the test host's kernel (7.0), not on its own (6.12).
Everything else rests on tests: the HAProxy and keepalived of both appliance images in containers with systemd, network namespaces for client, servers and gateway, real TLS handshakes, a fake Proxmox, a fake tenant cluster, and an API server over HTTP that streams as kube-apiserver does.
Not verified
- This release. Its images, its tag's workflows, and the move of a platform to the BOM
0.11.1. The lab is on0.11.1-rc.5. The plans were read, not run. - The upgrade from
v0.11.0, rc.1, rc.2 or rc.3 straight to the release. Each step between two neighbours ran. The upgrade from rc.5 to the release, which pushes nothing, did not run either. - A balancer without a UDP listener at the upgrade from rc.3 or rc.4. The lab's pairs had UDP listeners.
- The UDP stop-and-start fix on Debian 13 appliances (kernel 6.12), and on an appliance with more than one vCPU, where rc.4 left a client unanswered far more often.
- The same fix at 5 and 50 datagrams a second on a lab, and for a start alone. rc.4 is nearly clean there on this lab too, so its zero shows little. Those rates rest on the runs in real guests.
systemctl reload nftables, a clean exit of the service's keepalived, a flush that fails, and systemd's start limit, on a lab.- A client that was caught before the upgrade: that it stays caught through the upgrade's reload, and that the next stop and start of the UDP service, or a replace, frees it.
- The event on a cluster's pair: its only Service with a UDP port deleted and made again. The lab had no cluster in the rc.5 drill.
- The connection table's entry count before and after a start: the image has no tool that lists it. The appliance's own DNS, time sync and apt after a start beyond the one try under rc.5.
- The chain of rc.4 on the lab, in three cases. A listener whose servers are all down, which should answer "port unreachable". A first datagram from outside for a port with no listener: the node's firewall dropped it before the appliance, and the chain was seen with a removed listener and a kept address. The connection entry itself: the image has no tool that lists it.
- The health fix's one exception, a change made while the appliance was down.
- A table changed by hand that is noticed and loaded again at the next pass, on a lab.
- Every member out and back for a one-socket flow, under rc.4. Under rc.3 both flows were answered again by themselves.
- An upgrade with a held push. A tenant's change inside a new pair's first self-started apt run: one keepalived push and the planned switch were taken in such a run. A new pair made under rc.3: two appliances made by a replace were.
- A real package upgrade of
haproxyby unattended-upgrades during a change: a reinstall stood in. Andneedrestart. - A certificate file's mode between samples 0.1 s apart.
- Some Service cases. A Service deleted while pending or refused. A wrong Secret's Warning after 2 minutes. An old controller deleting a Service under the rc.3 portal. More than 50 Services deleted at once.
- What a charge run bills for the rows a pass wrote. The rows were read.
- pveproxy down during
GET_HEALTH, and a cluster's pair with one appliance held while the other is built. - The upgrade of a pair with one appliance, and of a tenant's own pair with TLS listeners: the audit of the rc.3 drill names neither.
- That an existing file keeps its mode through the real guest agent. The tests model it.
- A node change under load with two workers or more. The lab had no room. "No request is lost when a node changes" rests on tests. Also a drain,
externalTrafficPolicy: Localamong several nodes, and affinity with two clients. - A project's delete, and every "next pass" a scheduler would run by itself: the lab ran no scheduler.
- Debian 13 appliances on a lab. Two nodes. The consoles in a browser. A production site with a public network.
- cert-manager itself,
CertificateExpired, a Secret over 16 KiB, 16 Secrets on one cluster. A changed encryption key. A restart of the tenant's API server. A rollback of the portal. - The appliance's own forward-drop rule. The node's firewall dropped the test packets first. And "reaches no other host" for a lone appliance's adverts, which was read on its own NICs only.
- The search for the private key with needles under rc.2 to rc.5. It ran on rc.1. Free disk blocks and process memory were searched under none.
- The sandbox invoice line on a sent bill of a real site, and anything of the sandbox platform code.
- Earlier releases. Everything the notes of v0.11.0 list as not verified still holds.
Known issues
UDP
- UDP only on a pair. A balancer on one VM answers
400"UDP needs a high-availability load balancer". - A UDP server never sees the client's address. It sees the appliance's private address. UDP has no PROXY protocol.
- The default UDP check has blind spots. Without a
payloadit sends random bytes to the service. WithoutrequireReply, a closed port on a running server is not seen while the port has traffic. A server whose firewall drops silently is never seen as down without a reply check. - The default UDP check needs ICMP. It pings the server. A server that does not answer a ping from the appliance is taken out, even when its UDP port works.
- After a failover the other appliance spreads UDP clients afresh. The appliances do not sync their connections. Source persistence starts afresh too, for TCP as well, and after every change of the configuration.
- The connection limit of a UDP listener counts per server, not per listener.
- A UDP port without a listener is silent. On a pair with a UDP listener, a datagram for a port that has no UDP listener, or whose listener's pool has no server at all, gets no ICMP "port unreachable". A listener whose servers are all down answers it as before.
- A stop and start of the UDP service leaves UDP unanswered on that appliance for its seconds. On the lab under rc.5: 1.1 to 1.6 s at a restart of
proxcloud-lvs.serviceor ofnftables.service, 3.2 to 3.8 s when the service's keepalived is killed, and 27 to 36 s when a balancer's last UDP listener is removed and one is added again, which is the time the listener is away. Afterwards every client is answered again. - What the lab shows of that fix, and what it does not. The lab's appliances have one vCPU. There the candidate before the fix left a client unanswered almost only at 500 datagrams a second: 27 of 448 clients, against 2 of 688 at 50 and 1 of 688 at 5. So the lab tells the fix from the candidate before at 500 datagrams a second, and not at 5 or 50. The lower rates rest on runs in real guests on a test host. Debian 13 appliances, and appliances with more than one vCPU, did not run on a lab.
- A flush that fails is said in one place only. The journal of
proxcloud-lvs.serviceon the appliance has the line "the connection table could not be emptied", at info priority:journalctl -p warningdoes not show it. The balancer readsACTIVEand its UDP as served, and a client that sent through that stop and start can stay unanswered for as long as it sends. No page, no row and no log of the portal says so. Not seen on the lab: 261 starts, 261 times emptied. - An image of your own needs
perland the kernel modulenf_conntrack_netlinkfor the flush. Both appliance images have them. Withoutperlthe UDP service starts and serves, and only that journal line says that the flush failed: seen in real guests. Without the module the same is expected, and was not run. - Each start of the UDP service that finds no table empties the appliance's whole connection table, the entries of a ruleset of your own included: a boot, the first UDP listener, a restart of the service or of
nftables.service. TCP is not tracked while the table is loaded, so HAProxy's connections do not notice. An answer on its way to a UDP question the appliance itself asked in that instant is lost once: in the fix's review one name lookup of 6549 took 5 s, the resolver's retry. - A client caught by a table loaded by hand, or by a ruleset of your own that tracks connections, is freed at the next start of the UDP service, and not before. A masquerade or TCP
notrackrule taken out of the loaded table by hand is not noticed. A start of a stoppednftables.serviceby hand is seen by the next pass only. - More than five starts of the UDP service within 10 s meet systemd's start limit, for example a loop of restarts of
nftables.serviceby hand. The service then stays stopped until it is started again: by hand aftersystemctl reset-failed proxcloud-lvs, or by the pair's next pass. The limit was met in the fix's review. What follows it was read in the code, not run. - The first datagrams after a listener is served can be lost, until its first member passes its check. In real guests the first answer came 0.6 to 0.8 s after the push that added the listener.
- The appliance itself hears no UDP it did not ask for. Nothing on it listens for any. Its DNS and its time sync are answers to its own questions.
- One busy UDP port hides a closed one on the same server, for 86 s on the lab (rc.2). A security group change that stops ping takes a server that is already in service out only at the next UDP change.
leastconnon UDP counts the flows of the last five minutes. At a UDP member's removal under load a datagram in flight can be lost: 1 of 71660 on the lab (rc.2).- On an image without
ipvsadma changed UDP connection limit stays in the file only. Both appliance images bring it with keepalived. - A difference in the kernel's UDP table that cannot be put right fails the push after about 10 s: the balancer reads
ERRORwhile UDP is served. Not expected in practice.
TLS
- Where private keys rest. In the database, encrypted with the portal's encryption key. In
backups/, where the database dump and a copy of.envwithENCRYPTION_KEYlie side by side: whoever reads that directory reads every tenant's private key. And in clear on each appliance's disk (root only), so in any Proxmox backup, snapshot, clone or replica of an appliance VM. - A Service's Secret rests the same way. The portal seals it in a row of the cluster's balancer and writes it to both appliances.
- Whoever may write a Service in a namespace can have any TLS Secret of that namespace served, as with an Ingress.
- No update of a certificate. Rotation is: upload the new one, name it on the listeners, delete the old one.
- The TLS policy is fixed. No TLS 1.1, no RSA key exchange, no CBC suite. No TLS to the servers.
- A certificate with a signature the appliance's HAProxy refuses is taken by the upload and refused at the push. The last config stays in use and the row says why.
- While a Secret is unusable its whole Service is frozen as it was served, its node list included when it has a node selector.
- Only the last
X-Forwarded-Forvalue is the balancer's. A client's own value stays in front of it. Use the PROXY protocol for an address a client cannot forge.
Kubernetes
- A request for an internal balancer under another cloud's annotation name is not recognised. Only
proxcloud.io/lb-internalis read. A Service that asks for an internal balancer with OCCM's annotation alone gets a public address. Rename the annotation before you apply such a manifest. - Annotations of any other prefix do nothing, are not sent to the portal and raise no Event.
proxcloud.io/lb-proxy-protocol: "true"is version 2 here; writev1for version 1. - Chart
0.1.19with av0.11.0controller image does not run. The chart starts the controller with--watch=true, and that image exits at it. The one way into this pair is a portal rolled back tov0.11.0that is then asked to enable the controller again, or to set the chart version, on a cluster that is on0.1.19. Do neither while the portal is rolled back. The Services of such a cluster stay as they were last served. - A portal rolled back to
v0.11.0takes the address of a TLS Service and gives it a new one after the roll forward. Each turn of a new controller is then two requests, and the old portal audits the refused one. - A portal rolled back to
v0.11.0drops the list of kept addresses. They stay allocated, billed and in the floating IP quota, and no page lists them, also after the roll forward, until the cluster is deleted. Release them before a rollback (step 7). - An existing cluster is not upgraded for you. It keeps protocol 1 until its chart is moved (step 5). Enable load balancer controller, which also rotates the credential, moves it too: its refused UDP Services then get addresses without the tenant acting.
- A cluster on the
v0.11.0controller that addsproxcloud.io/lb-tls-secretserves the port plain, with no Event: that controller sends no such annotation. - A cluster's state over 64 KiB is refused as a whole. Nothing changes and every address stays; each Service gets a Warning Event
TooLarge. - The gateway has no rate limit per cluster. A Service that flaps causes about one call a second, where it was one per 10 s.
- "The controller last reported" reads up to a minute and a half. A degraded pair of a quiet cluster is looked at in steps of 30 s, where it was 10 s.
- Pool names of a cluster's balancer changed. Nothing reads them but people.
- With more than 50 Services deleted at once, the address of a Service beyond the first 50 is decided from the stored state in that turn.
- An annotation changed again while a deleted Service still waits for its finalizer may not start a pass.
- A real credential failure is said on the Services two minutes late: a wrong Secret, or a released cluster. The controller's log has it at once.
- With two API replicas, a Service change that arrives during a converge on the other replica waits for the controller's next send.
- A Service can be refused
QuotaExceededfor a minute or two after other Services gave their addresses back. It gets its address by itself. Seen on the lab under rc.1. - A tenant's cluster row names the old chart version until the next services sync after the cluster's update. Seen on the lab under rc.1.
- A deleted cluster's worker stays in the tenant's lists until the next services sync.
- A new cluster's first answer came 8 min 42 s after its Services on the lab under rc.2 (9 min 14 s under
v0.11.0). The appliance's own first boot is that time.
Changes, health and repair
- A change still waits in two cases. While dpkg is at work on a package the appliance itself runs, which lasts seconds, and during the first install of a new appliance. The balancer answers
200and says that a change waits. - A package upgrade that restarts HAProxy in the moment of a change can make a good config read
ERROR"refused" until the next pass. A restart of HAProxy or keepalived byneedrestartafter a library upgrade, during a change, is not handled. - The platform's own retries are six, 20 s apart. On the lab under rc.3, with dpkg at work on
haproxyfive times in a row, the fourth retry landed the change, 139 s after the call. - The balancer says "the platform tries again within half a minute" also when the six retries are over. On a site without a scheduler nothing tries again until the next change.
- An appliance behind a held standby still gets a new config first when its own HAProxy is not serving or one of its certificate files is faulty. And after retries that ended with a change still waiting, the next hold lets the appliance that holds the address go ahead at once.
- An appliance whose HAProxy push is refused or held still takes its UDP change in that pass.
- In a pass, an appliance whose state cannot be read twice is still marked down, and the balancer reads
DOWNwhen that happens to both. - After a failover, an appliance that the product had to start reads
down"its VM is stopped; starting it", and the balancerDEGRADED, until the first health read after it is back or the next pass. On a pair that nobody looks at, that is the next pass: on a tenant's own pair the next services sync, on a cluster's pair the controller's next turn. The row names the old roles as long. Traffic is not affected. - An appliance that was down through a change stays one change behind until the next services sync or the next change. Nothing queues a pass after the one that started its VM.
- A services sync that lists the addresses in the moment before a pass takes one can archive the row the pass just wrote. The next pass or sync writes it again, from the allocation time.
- With the scheduler off,
DELETE /project/{id}answers200SCHEDULED_FOR_DELETIONthough nothing will delete it./nowanswers409and says why.
Pairs and appliances
- A lone appliance of a pair sends one VRRP advert a second to its network's gateway. It is addressed to
127.0.0.1and reaches no other host. A gateway that logs such packets may log one a second while a pair has one appliance. - A second appliance that joins can hold the addresses beside the first for one pass, when the push that tells the first of its peer fails in the pass where the new one starts.
- A change made while an appliance joins or is replaced reaches the appliance that holds the address first, not the standby.
- A lone appliance whose public network was taken from the project stays
BUILD, and then reads the general "VMs did not become ready". - Why a cluster's second appliance was not built is in the API log only. A tenant's own pair is still taken back as a whole when its second appliance cannot be built.
- A reload that keeps HAProxy's master socket closed for more than 0.6 s is still one failed run of keepalived's track script. Two in a row move the addresses.
- A support file of keepalived that is edited by hand is not seen by a pass.
keepalived.conf,haproxy.cfg, the UDP files and the certificate files are. - While an appliance holds a change it refused, its certificate files are not checked. The next push it takes writes them.
- A single balancer whose heal cannot be pushed reads
DOWNwith the file's message, although HAProxy still serves from memory. - When a replace's wait for UDP members ends at 30 s, the address moves all the same, and only the API log says so.
- An existing appliance runs sshd after a reboot until its next push, on the Ubuntu image. Its firewall drops port 22 and it has no authorized key.
Timings
Measured on the lab under the candidate named. HAProxy's own reload, 4 to 5 s on each appliance on the lab, is unchanged from v0.11.0.
- A change is live in 16 to 33 s (rc.3). One TCP port 16 to 20 s, one UDP port 19 to 23 s, a TCP and a UDP port together 26 to 30 s, changes 26 s apart up to 33 s, changes 3 s apart 50 to 55 s. No request failed meanwhile.
- A planned failover loses 0.7 to 0.8 s (rc.2). A dead master loses 3.2 to 3.6 s (rc.2). A failover with one-socket UDP flows running lost 0.6 to 0.8 s (rc.4, rc.5).
- A replace lost 0.7 s of TCP and TLS and 0.8 s of UDP (rc.3, rc.4), and 0.7 s of TCP and 0.6 to 1.0 s of UDP under rc.5, where it took 14 min 48 s.
- A new certificate was served 15.8 to 21 s after its change (rc.2), on a pair and from a Service's Secret. On a single balancer, under rc.1, 7.9 s.
- A reboot of a single balancer leaves it without an answer for about 56 s (rc.1). A reboot of a pair's master lost 0.8 s (rc.2).
Still true from v0.11.0
- A member new to a config starts as up. A node that is Ready and does not forward yet gets connections until its first check fails. Each waits the connect timeout, 2 s, and is then answered by another member.
- One pair per cluster, shared by all its Services. An in-cluster client of a Service with
ipMode: VIPnever passes the pair. The built-in quota is five public addresses. - The other known issues in the notes of v0.11.0 still hold, except "UDP is refused", "no TLS termination" and the lost requests at a reload, which this release answers by its code.
Riding along
- The sandbox invoice line. A bill with sandbox items that round to 0.00 gets one summed item from now on (see "Billing"). No sent bill changes.
- Sandbox platform code, switched off. It cannot be turned on in this release: no BOM names its chart.
Full detail: changelog of 0.11.1. Guides: managed Kubernetes, cloud integration, managed services, Docker Compose install, release operations.
What's Changed
- chore(platform): keep the 0.11.0 bom, set main to 0.12.0-dev by @hiento09 in #429
- fix(sandbox): accept per-node cilium cni config in netguard by @hiento09 in #422
- feat(charts): sandbox chart, and per-group pool, range and DNS in the cluster chart by @hiento09 in #423
- fix(lb): lose no request at a node change or a reload by @hiento09 in #430
- feat(lb): listener protocols and layer 4 options by @hiento09 in #431
- feat(platform): build the sandbox group or cluster from the install settings by @hiento09 in #432
- feat(lb): UDP listeners on an appliance pair by @hiento09 in #433
- feat(lb): TLS termination and certificates by @hiento09 in #434
- feat(sandbox): register the platform's sandbox provider and fence its VMs on the platform network by @hiento09 in #436
- feat(k8s): serve UDP, affinity and the layer 4 annotations from Services by @hiento09 in #435
- feat(k8s): end TLS on the balancer from a Service's Secret by @hiento09 in #438
- feat(k8s): watch Services and nodes in the load balancer controller by @hiento09 in #439
- feat(k8s): keep a Service's address and honour loadBalancerIP by @hiento09 in #440
- fix(lb): close four open review findings before the candidate by @hiento09 in #441
- feat(k8s): offer chart 0.1.19 and the layer 4 pages by @hiento09 in #442
- chore(release): prepare v0.11.1-rc.1 by @hiento09 in #444
- chore(platform): keep the 0.11.1-rc.1 bom, set main to 0.12.0-dev by @hiento09 in #445
- fix(lb): serve from the first appliance of a pair by @hiento09 in #446
- fix(lb): read which appliance holds the address when a pair serves UDP by @hiento09 in #447
- fix(lb): notice and heal a damaged certificate file by @hiento09 in #448
- test(platform): pull each chart once by @hiento09 in #449
- chore(release): prepare v0.11.1-rc.2 by @hiento09 in #450
- chore(platform): keep the 0.11.1-rc.2 bom, set main to 0.12.0-dev by @hiento09 in #451
- fix(k8s): keep the address of a Service annotated just before its delete by @hiento09 in #452
- fix(lb): take a change while the image's package manager runs by @hiento09 in #453
- fix(lb): apply a changed UDP connection limit, and take UDP changes quicker by @hiento09 in #454
- chore(release): prepare v0.11.1-rc.3 by @hiento09 in #471
- chore(platform): keep the 0.11.1-rc.3 bom, set main to 0.12.0-dev by @hiento09 in #472
- fix(lb): answer a UDP client that was sending before its listener existed by @hiento09 in #473
- chore(release): prepare v0.11.1-rc.4 by @hiento09 in #474
- chore(platform): keep the 0.11.1-rc.4 bom, set main to 0.12.0-dev by @hiento09 in #475
- fix(lb): leave no UDP client caught when the UDP service stops and starts by @hiento09 in #477
- test(lb): assert the push order across appliances, not inside one by @hiento09 in #479
- chore(release): prepare v0.11.1-rc.5 by @hiento09 in #478
- chore(release): prepare v0.11.1 by @hiento09 in #481
Full Changelog: v0.11.0...v0.11.1