mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #101168 from mikedanese/warning
add a warning about the filter table
This commit is contained in:
commit
06d44d2f42
@ -126,6 +126,9 @@ function gce-metadata-fw-helper {
|
|||||||
iptables -w ${command} OUTPUT -p tcp --dport 80 -d ${METADATA_SERVER_IP} -m owner ${invert:-} --uid-owner=${METADATA_SERVER_ALLOWED_UID_RANGE:-0-2999} -j ${action}
|
iptables -w ${command} OUTPUT -p tcp --dport 80 -d ${METADATA_SERVER_IP} -m owner ${invert:-} --uid-owner=${METADATA_SERVER_ALLOWED_UID_RANGE:-0-2999} -j ${action}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# WARNING: DO NOT USE THE FILTER TABLE! Some implementations of network policy
|
||||||
|
# think they own it and will stomp all over your changes. At this time, the
|
||||||
|
# mangle table is less contentious so use that if possible.
|
||||||
function config-ip-firewall {
|
function config-ip-firewall {
|
||||||
echo "Configuring IP firewall rules"
|
echo "Configuring IP firewall rules"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user