Skip to content

Commit 312ec1b

Browse files
committed
cozyplane: bump to the external-address delivery fixes
Re-vendor from upstream main. The image pins move to the builds of lllamnyp/cozyplane#50 (kpr from #49): external addresses the node itself owns are served, an LB reply leaves by the link its request arrived on, the external egress link is picked per address rather than per node, the float slot is keyed on the whole binding, and from_uplink stays off L3 links. Chart-side, the kpr DaemonSet now hands the process its node name through the downward API — without it kpr serves no external address — and exposes the strictly opt-in CLUSTER_DSR toggle as values.clusterDSR (default off). Assisted-by: LLM Signed-off-by: Timofei Larkin <[email protected]>
1 parent 077f04f commit 312ec1b

4 files changed

Lines changed: 18 additions & 3 deletions

File tree

‎packages/system/cozyplane-apiserver/values.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Container image (shared with the cozyplane chart — the apiserver binary lives
22
# in the same image). Digest-pinned (no floating tag); keep it equal to
33
# chart/cozyplane/values.yaml's pin. See docs/packaging.md.
4-
image: ghcr.io/lllamnyp/cozyplane@sha256:133c1e1c95e28f4a857288c3a58aca592de7e2a0d91c689cd99382f61ec1805c
4+
image: ghcr.io/lllamnyp/cozyplane@sha256:a50c456b3ea5aa5043c738a5cad7805707b6fb155b8f7a3d202f3b877590c325
55
imagePullPolicy: IfNotPresent
66
imagePullSecrets: []
77

‎packages/system/cozyplane-kpr/templates/daemonset.yaml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ spec:
7777
env:
7878
- {name: KPR_CGROUP_ROOT, value: {{ .Values.cgroupRoot | quote }}}
7979
- {name: KPR_BPFFS_ROOT, value: {{ .Values.bpffsRoot | quote }}}
80+
# Without NODE_NAME kpr cannot tell which endpoints are node-local,
81+
# so it writes NO LoadBalancer-ingress, NodePort or externalIP rows
82+
# at all -- ClusterIPs keep working, which is why the omission is
83+
# easy to miss (docs/lb-ingress.md).
84+
- name: NODE_NAME
85+
valueFrom: {fieldRef: {fieldPath: spec.nodeName}}
86+
- {name: CLUSTER_DSR, value: {{ .Values.clusterDSR | quote }}}
8087
securityContext:
8188
privileged: true
8289
volumeMounts:

‎packages/system/cozyplane-kpr/values.yaml‎

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# procedure and how the pin is refreshed.
55
# It imports Cilium's LB control plane, so it is a large image and a SEPARATE
66
# component from the cozyplane agent — never co-mingled.
7-
image: ghcr.io/lllamnyp/cozyplane-kpr@sha256:93353087eb57f1cb0488e5fe503a376173703a5c626a9c074f0b527a57e4b4b6
7+
image: ghcr.io/lllamnyp/cozyplane-kpr@sha256:7417b9ad4c5719b529eb49e493743ff6ad297f6d666d42a0d90f761766747bf3
88
imagePullPolicy: IfNotPresent
99
imagePullSecrets: []
1010

@@ -19,3 +19,11 @@ apiServerURL: ""
1919
# and the host bpffs root where the LB service/backend maps are pinned.
2020
cgroupRoot: /host/cgroup2
2121
bpffsRoot: /sys/fs/bpf
22+
23+
# externalTrafficPolicy: Cluster via DSR. Off, a Cluster-policy Service degrades
24+
# to node-local delivery: a node with no ready backend serves nothing for that
25+
# frontend. On, remote backends are reached by DSR, which needs EVERY node
26+
# permitted to source the LB/external addresses on the wire -- an underlay
27+
# property cozyplane cannot verify, and one that black-holes silently when the
28+
# fabric denies it. Hence opt-in (docs/lb-ingress.md, DSR caveats).
29+
clusterDSR: false

‎packages/system/cozyplane/values.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Digest-pinned (no floating tag). Built and published by .github/workflows/
33
# release.yml on every push to main; see docs/packaging.md for how the digest is
44
# refreshed and why pinning it does not change it.
5-
image: ghcr.io/lllamnyp/cozyplane@sha256:133c1e1c95e28f4a857288c3a58aca592de7e2a0d91c689cd99382f61ec1805c
5+
image: ghcr.io/lllamnyp/cozyplane@sha256:a50c456b3ea5aa5043c738a5cad7805707b6fb155b8f7a3d202f3b877590c325
66
imagePullPolicy: IfNotPresent
77
imagePullSecrets: []
88

0 commit comments

Comments
 (0)