Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 937 for conntrack (0.12 sec)

  1. pkg/proxy/conntrack/conntrack.go

    	conntrackPath, err := ct.execer.LookPath("conntrack")
    	if err != nil {
    		return fmt.Errorf("error looking for path of conntrack: %v", err)
    	}
    	klog.V(4).InfoS("Clearing conntrack entries", "parameters", parameters)
    	output, err := ct.execer.Command(conntrackPath, parameters...).CombinedOutput()
    	if err != nil {
    		return fmt.Errorf("conntrack command returned: %q, error message: %s", string(output), err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. cmd/kube-proxy/app/conntrack.go

    	// unexpectedly mounted as 'ro' by docker because of a known docker
    	// issue (https://github.com/docker/docker/issues/24000). Setting
    	// conntrack will fail when sysfs is readonly. When that happens, we
    	// don't set conntrack hashsize and return a special error
    	// errReadOnlySysFS here. The caller should deal with
    	// errReadOnlySysFS differently.
    	writable, err := rct.isSysFSWritable(ctx)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. pkg/util/iptables/testing/parse_test.go

    				-A KUBE-FORWARD -m conntrack --ctstate INVALID -j DROP
    				-A KUBE-FORWARD -m comment --comment "kubernetes forwarding rules" -m mark --mark 0x4000/0x4000 -j ACCEPT
    				-A KUBE-FORWARD -m comment --comment "kubernetes forwarding conntrack rule" -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
    				COMMIT
    				*nat
    				:KUBE-SERVICES - [0:0]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 26K bytes
    - Viewed (0)
  4. pkg/proxy/conntrack/cleanup.go

    		if err != nil {
    			klog.ErrorS(err, "Failed to clear udp conntrack", "nodePort", nodePort)
    		}
    	}
    }
    
    // deleteStaleEndpointConntrackEntries takes care of flushing stale conntrack entries related
    // to UDP endpoints. After a UDP endpoint is removed we must flush any conntrack entries
    // for it so that if the same client keeps sending, the packets will get routed to a new endpoint.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. pkg/proxy/apis/config/v1alpha1/defaults.go

    	}
    	if obj.NFTables.MinSyncPeriod.Duration == 0 {
    		obj.NFTables.MinSyncPeriod = metav1.Duration{Duration: 1 * time.Second}
    	}
    
    	if obj.Conntrack.MaxPerCore == nil {
    		obj.Conntrack.MaxPerCore = ptr.To[int32](32 * 1024)
    	}
    	if obj.Conntrack.Min == nil {
    		obj.Conntrack.Min = ptr.To[int32](128 * 1024)
    	}
    
    	if obj.IPTables.MasqueradeBit == nil {
    		temp := int32(14)
    		obj.IPTables.MasqueradeBit = &temp
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  6. pkg/proxy/conntrack/conntrack_test.go

    var nothingToDelete = func() ([]byte, []byte, error) {
    	return []byte(""), nil, fmt.Errorf("conntrack v1.4.2 (conntrack-tools): 0 flow entries have been deleted")
    }
    
    type testCT struct {
    	execCT
    
    	fcmd *fakeexec.FakeCmd
    }
    
    func makeCT(result fakeexec.FakeAction) *testCT {
    	fcmd := &fakeexec.FakeCmd{
    		CombinedOutputScript: []fakeexec.FakeAction{result},
    	}
    	fexec := &fakeexec.FakeExec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  7. pkg/proxy/apis/config/fuzzer/fuzzer.go

    			obj.ClientConnection.ContentType = c.RandString()
    			obj.Conntrack.MaxPerCore = ptr.To(c.Int31())
    			obj.Conntrack.Min = ptr.To(c.Int31())
    			obj.Conntrack.TCPCloseWaitTimeout = &metav1.Duration{Duration: time.Duration(c.Int63()) * time.Hour}
    			obj.Conntrack.TCPEstablishedTimeout = &metav1.Duration{Duration: time.Duration(c.Int63()) * time.Hour}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  8. cmd/kube-proxy/app/server_linux.go

    				"cannot modify conntrack limits, problems may arise later (If running Docker, see docker issue #24000)"
    			s.Recorder.Eventf(s.NodeRef, nil, v1.EventTypeWarning, err.Error(), "StartKubeProxy", message)
    		}
    	}
    
    	if s.Config.Conntrack.TCPEstablishedTimeout != nil && s.Config.Conntrack.TCPEstablishedTimeout.Duration > 0 {
    		timeout := int(s.Config.Conntrack.TCPEstablishedTimeout.Duration / time.Second)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  9. pkg/proxy/apis/config/types.go

    	TCPBeLiberal bool
    	// udpTimeout is how long an idle UDP conntrack entry in
    	// UNREPLIED state will remain in the conntrack table
    	// (e.g. '30s'). Must be greater than 0 to set.
    	UDPTimeout metav1.Duration
    	// udpStreamTimeout is how long an idle UDP conntrack entry in
    	// ASSURED state will remain in the conntrack table
    	// (e.g. '300s'). Must be greater than 0 to set.
    	UDPStreamTimeout metav1.Duration
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13K bytes
    - Viewed (0)
  10. pkg/proxy/endpointschangetracker.go

    	// Existing conntrack NAT entries pointing to these endpoints must be deleted to
    	// ensure that no further traffic for the Service gets delivered to them.
    	DeletedUDPEndpoints []ServiceEndpoint
    
    	// NewlyActiveUDPServices identifies UDP Services that have just gone from 0 to
    	// non-0 endpoints. Existing conntrack entries caching the fact that these
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 13.2K bytes
    - Viewed (0)
Back to top