Regression for singleuser.cloudMetadata.blockWithIptables
in z2jh 3.3.0 and 3.3.1 - workaround in 3.3.2
#3368
Labels
singleuser.cloudMetadata.blockWithIptables
in z2jh 3.3.0 and 3.3.1 - workaround in 3.3.2
#3368
Current state
In 3.3.2 we now pin to
alpine:3.18
in our network-tools image, its used by an init container for user pods to block traffic to the cloud metadata server.iptables
is inalpine:3.19
working in "nt_tables" mode as compared to "legacy" mode, and that has been seen to cause failures at least on GKE 1.27 nodes.For now, we rely on pinning alpine to the old version - but I figure ideally if we can we should do the same thing with modern dependencies and "nt_tables" instead.
Initial investigation leading to workaround
Expand to se initial investigation
iptables
binary version updatedError logs with
iptables v1.8.10
(nf_tables)Dockerfile
zero-to-jupyterhub-k8s/images/network-tools/Dockerfile
Lines 1 to 5 in 9e5dec6
Image command
zero-to-jupyterhub-k8s/jupyterhub/files/hub/jupyterhub_config.py
Lines 433 to 445 in 9e5dec6
Analysis
iptables --help
emit the same thing except a single(legacy)
/(nf_tables)
difference between versions.iptables
installed in alpine 3.18 is (legacy), while it becomes (nf_tables) in alpine 3.19I figure the short quick fix is to pin alpine to 3.18, and then we have an issue of transitioning that we don't have to rush out.
The text was updated successfully, but these errors were encountered: