- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for CreateHostRulesForHealthChecks (0.29 sec)
-
cni/pkg/iptables/iptables_test.go
var probeIP *netip.Addr if ipv6 { probeIP = &probeSNATipv6 } else { probeIP = &probeSNATipv4 } err := iptConfigurator.CreateHostRulesForHealthChecks(probeIP) if err != nil { t.Fatal(err) } compareToGolden(t, ipv6, tt.name, ext.ExecutedAll) }) } } } func TestInvokedTwiceIsIdempotent(t *testing.T) {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Mar 11 17:46:23 GMT 2024 - 3.8K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
// Create hostprobe rules now, in the host netns // Later we will reuse this same configurator inside the pod netns for adding other rules iptablesConfigurator.DeleteHostRules() if err := iptablesConfigurator.CreateHostRulesForHealthChecks(&HostProbeSNATIP); err != nil { return nil, fmt.Errorf("error initializing the host rules for health checks: %w", err) }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 01:42:30 GMT 2024 - 7.1K bytes - Viewed (0) -
cni/pkg/iptables/iptables.go
// - kubelet (node-local healthchecks, which we do not capture) // - kube-proxy (fowarded/proxied traffic from LoadBalancer-backed services, potentially with public IPs, which we must capture) func (cfg *IptablesConfigurator) CreateHostRulesForHealthChecks(hostSNATIP *netip.Addr) error { // Append our rules here builder := cfg.appendHostRules(hostSNATIP) log.Info("Adding host netnamespace iptables rules")
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 01:42:30 GMT 2024 - 19.2K bytes - Viewed (0)