Skip to content

docker: merged Gateways and cert-manager, as qemu - #36

Merged
solsson merged 1 commit into
mainfrom
docker-certmanager-merge-gateways
Oct 12, 2026
Merged

solsson merged 1 commit into
mainfrom
docker-certmanager-merge-gateways

Conversation

@solsson

@solsson solsson commented Oct 9, 2026

Copy link
Copy Markdown
Contributor

The two Gateway resources (both still exist):

  • ystack in namespace ystack, from ystack's 20-gateway base. It serves ystack's own routes on port 80.
  • yolean-net-http in namespace gateway-v4, from the site setup. It serves dev.yolean.net on ports 80 and 443.

Before the fix: Envoy Gateway's default is one proxy, with its own LoadBalancer Service, per Gateway. On a single-node k3s cluster each LoadBalancer Service has to bind the node's own ports 80/443, and only one can hold a port.

  • envoy-ystack-ystack-… got port 80 first.
  • envoy-gateway-v4-yolean-net-http-… wanted 80 and 443, and its port-binding pod stayed Pending forever. The site's Gateway showed PROGRAMMED False and had no address.

After the fix (mergeGateways: true): both Gateways share one proxy, envoy-y-cluster-…, with a single Service on 80 and 443. It tells their routes apart by hostname. Both Gateways show PROGRAMMED True at 172.17.0.2.

On macOS docker is the provider for the local dev clusters that qemu provisions on Linux,
and the workloads converged on them need both: a second Gateway next to ystack's on the
single node's 80/443, and certificates from y-cluster-ca (webhooks, a wildcard Gateway
certificate). Without them a docker cluster on Apple Silicon had a Gateway whose ServiceLB
pod stayed Pending, and a buckety-controller install that uses cert-manager TLS failed to apply.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@solsson
solsson merged commit 5deb814 into main Oct 12, 2026
11 checks passed
solsson pushed a commit to Yolean/ystack that referenced this pull request Oct 12, 2026
The one change (Yolean/y-cluster#36) is in the docker provisioner: it now
installs cert-manager with y-cluster's CA issuer, and enables Envoy
Gateway's mergeGateways, as the qemu provisioner already does. A docker
cluster (the macOS dev setup) can then run a second Gateway next to
ystack's on the node's 80/443 and apply workloads that take certificates
from y-cluster's CA. Both happen at provision time, so an existing docker
cluster gets them only when re-provisioned. qemu and the other
provisioners are unchanged.

sha256 computed from the downloaded assets and identical to the release's
y-cluster_v0.7.2_checksums.txt.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
solsson added a commit that referenced this pull request Oct 15, 2026
docker: merged Gateways and cert-manager, as qemu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant