Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 90 for proxyutil (0.17 sec)

  1. cmd/kube-proxy/app/server_linux_test.go

    				ClusterCIDR:     "10.0.0.0/14",
    			},
    			primaryIPFamily: v1.IPv4Protocol,
    			expected: map[v1.IPFamily]proxyutil.LocalTrafficDetector{
    				v1.IPv4Protocol: proxyutil.NewDetectLocalByCIDR("10.0.0.0/14"),
    				v1.IPv6Protocol: proxyutil.NewNoOpLocalDetector(),
    			},
    		},
    		{
    			name: "LocalModeClusterCIDR, single-stack IPv6 cluster",
    			config: &proxyconfigapi.KubeProxyConfiguration{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. pkg/proxy/serviceport.go

    	// to just log lines with high verbosity
    	ipFamilyMap := proxyutil.MapIPsByIPFamily(service.Spec.ExternalIPs)
    	info.externalIPs = ipFamilyMap[ipFamily]
    
    	// Log the IPs not matching the ipFamily
    	if ips, ok := ipFamilyMap[proxyutil.OtherIPFamily(ipFamily)]; ok && len(ips) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jan 09 08:17:56 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. cmd/kube-proxy/app/server_linux.go

    	localDetectors := map[v1.IPFamily]proxyutil.LocalTrafficDetector{
    		v1.IPv4Protocol: proxyutil.NewNoOpLocalDetector(),
    		v1.IPv6Protocol: proxyutil.NewNoOpLocalDetector(),
    	}
    
    	switch config.DetectLocalMode {
    	case proxyconfigapi.LocalModeClusterCIDR:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 18.1K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/netlink_linux.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package ipvs
    
    import (
    	"fmt"
    	"net"
    
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/klog/v2"
    	proxyutil "k8s.io/kubernetes/pkg/proxy/util"
    	netutils "k8s.io/utils/net"
    
    	"github.com/vishvananda/netlink"
    	"golang.org/x/sys/unix"
    )
    
    type netlinkHandle struct {
    	netlink.Handle
    	isIPv6 bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 30 16:18:49 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. pkg/proxy/iptables/proxier.go

    		filterChains:             proxyutil.NewLineBuffer(),
    		filterRules:              proxyutil.NewLineBuffer(),
    		natChains:                proxyutil.NewLineBuffer(),
    		natRules:                 proxyutil.NewLineBuffer(),
    		localhostNodePorts:       localhostNodePorts,
    		nodePortAddresses:        nodePortAddresses,
    		networkInterfacer:        proxyutil.RealNetwork{},
    		conntrackTCPLiberal:      conntrackTCPLiberal,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  6. pkg/proxy/apis/config/v1alpha1/defaults.go

    	} else {
    		obj.HealthzBindAddress = proxyutil.AppendPortIfNeeded(obj.HealthzBindAddress, ports.ProxyHealthzPort)
    	}
    	if obj.MetricsBindAddress == "" {
    		obj.MetricsBindAddress = fmt.Sprintf("%s:%v", defaultMetricsAddress, ports.ProxyStatusPort)
    	} else {
    		obj.MetricsBindAddress = proxyutil.AppendPortIfNeeded(obj.MetricsBindAddress, ports.ProxyStatusPort)
    	}
    
    	if obj.OOMScoreAdj == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  7. pkg/proxy/healthcheck/service_health.go

    	// It doesn't matter whether we listen on "0.0.0.0", "::", or ""; go
    	// treats them all the same.
    	nodeIPs := []net.IP{net.IPv4zero}
    
    	if !nodePortAddresses.MatchAll() {
    		ips, err := nodePortAddresses.GetNodeIPs(proxyutil.RealNetwork{})
    		if err == nil {
    			nodeIPs = ips
    		} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 30 09:25:48 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. pkg/proxy/ipvs/proxier.go

    		natChains:             proxyutil.NewLineBuffer(),
    		natRules:              proxyutil.NewLineBuffer(),
    		filterChains:          proxyutil.NewLineBuffer(),
    		filterRules:           proxyutil.NewLineBuffer(),
    		netlinkHandle:         NewNetLinkHandle(ipFamily == v1.IPv6Protocol),
    		ipset:                 ipset,
    		nodePortAddresses:     nodePortAddresses,
    		networkInterfacer:     proxyutil.RealNetwork{},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  9. pkg/proxy/conntrack/cleanup.go

    limitations under the License.
    */
    
    package conntrack
    
    import (
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/proxy"
    	proxyutil "k8s.io/kubernetes/pkg/proxy/util"
    	netutils "k8s.io/utils/net"
    )
    
    // CleanStaleEntries takes care of flushing stale conntrack entries for services and endpoints.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  10. pkg/proxy/servicechangetracker.go

    func (sct *ServiceChangeTracker) serviceToServiceMap(service *v1.Service) ServicePortMap {
    	if service == nil {
    		return nil
    	}
    
    	if proxyutil.ShouldSkipService(service) {
    		return nil
    	}
    
    	clusterIP := proxyutil.GetClusterIPByFamily(sct.ipFamily, service)
    	if clusterIP == "" {
    		return nil
    	}
    
    	svcPortMap := make(ServicePortMap)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 21 14:44:08 UTC 2023
    - 8.7K bytes
    - Viewed (0)
Back to top