• Marcelo Juchem's avatar
    logging ipset/iptables commands · 39116b75
    Marcelo Juchem authored
    This PR logs `ipset` and `iptables` commands at log level 9.
    
    I've recently encountered an issue with Kubernetes v1.24.0 and
    `kube-router` v1.5.1 where the node's network goes bonkers as soon as
    `NetworkPolicyController::syncNetworkPolicyChains` is executed (last log
    line is "Syncing network policy chains took 48.780838ms"). After that,
    `ssh` freezes and `kubelet` becomes inacessible.
    
    Debugging this issue proved to be quite daunting, specially due to the
    lack of insight on which network policies are being applied.
    
    Adding these logs have helped the debugging process immensely so far.
    39116b75
.gitignore 63 Bytes