Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 106 for noImports (0.17 sec)

  1. src/go/internal/gcimporter/gcimporter_test.go

    	}
    	pkgs := strings.Fields(string(out))
    
    	var nimports int
    	for _, pkg := range pkgs {
    		t.Run(pkg, func(t *testing.T) {
    			if testPath(t, pkg, filepath.Join(testenv.GOROOT(t), "src", path.Dir(pkg))) != nil {
    				nimports++
    			}
    		})
    	}
    	const minPkgs = 225 // 'GOOS=plan9 go1.18 list std | wc -l' reports 228; most other platforms have more.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  2. pkg/kubelet/kubelet_network_linux.go

    			klog.ErrorS(err, "Failed to ensure that INPUT chain jumps to KUBE-FIREWALL")
    			return false
    		}
    
    		// Kube-proxy's use of `route_localnet` to enable NodePorts on localhost
    		// creates a security hole (https://issue.k8s.io/90259) which this
    		// iptables rule mitigates. This rule should have been added to
    		// kube-proxy, but it mistakenly ended up in kubelet instead, and we are
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 20:51:47 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. pkg/proxy/conntrack/cleanup.go

    		if err := ct.ClearEntriesForIP(svcIP, v1.ProtocolUDP); err != nil {
    			klog.ErrorS(err, "Failed to delete stale service connections", "IP", svcIP)
    		}
    	}
    	klog.V(4).InfoS("Deleting conntrack stale entries for services", "nodePorts", conntrackCleanupServiceNodePorts.UnsortedList())
    	for _, nodePort := range conntrackCleanupServiceNodePorts.UnsortedList() {
    		err := ct.ClearEntriesForPort(nodePort, isIPv6, v1.ProtocolUDP)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:09:05 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. pkg/proxy/nftables/proxier.go

    		Name:    noEndpointNodePortsMap,
    		Type:    "inet_proto . inet_service : verdict",
    		Comment: ptr.To("vmap to drop or reject packets to service nodeports with no endpoints"),
    	})
    
    	tx.Add(&knftables.Chain{
    		Name:    rejectChain,
    		Comment: ptr.To("helper for @no-endpoint-services / @no-endpoint-nodeports"),
    	})
    	tx.Flush(&knftables.Chain{
    		Name: rejectChain,
    	})
    	tx.Add(&knftables.Rule{
    		Chain: rejectChain,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  5. pkg/registry/core/service/strategy.go

    			newSvc.Spec.IPFamilies = nil
    		}
    		if sameIPFamilyPolicy(oldSvc, newSvc) {
    			newSvc.Spec.IPFamilyPolicy = nil
    		}
    	}
    
    	// If the user is switching to a type that doesn't use NodePorts AND they
    	// did not change any NodePort values, we can wipe them.  They will be
    	// deallocated later.
    	if needsNodePort(oldSvc) && !needsNodePort(newSvc) && sameNodePorts(oldSvc, newSvc) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 13:09:36 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. pkg/quota/v1/evaluator/core/services.go

    	case corev1.ServiceTypeLoadBalancer:
    		// load balancer services need to count node ports. If creation of node ports
    		// is suppressed only ports with explicit NodePort values are counted.
    		// nodeports won't be allocated yet, so we can't simply count the actual values.
    		// We need to look at the intent.
    		if svc.Spec.AllocateLoadBalancerNodePorts != nil &&
    			*svc.Spec.AllocateLoadBalancerNodePorts == false {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 7K bytes
    - Viewed (0)
  7. pkg/scheduler/apis/config/v1/default_plugins.go

    				{Name: names.NodeUnschedulable},
    				{Name: names.NodeName},
    				{Name: names.TaintToleration, Weight: ptr.To[int32](3)},
    				{Name: names.NodeAffinity, Weight: ptr.To[int32](2)},
    				{Name: names.NodePorts},
    				{Name: names.NodeResourcesFit, Weight: ptr.To[int32](1)},
    				{Name: names.VolumeRestrictions},
    				{Name: names.NodeVolumeLimits},
    				{Name: names.VolumeBinding},
    				{Name: names.VolumeZone},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  8. pkg/registry/core/rest/storage_core.go

    	return "start-service-ip-repair-controllers", func(context genericapiserver.PostStartHookContext) error {
    		// We start both repairClusterIPs and repairNodePorts to ensure repair
    		// loops of ClusterIPs and NodePorts.
    		// We run both repair loops using RunUntil public interface.
    		// However, we want to fail liveness/readiness until the first
    		// successful repair loop, so we basically pass appropriate
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 19.1K bytes
    - Viewed (0)
  9. pkg/proxy/nftables/proxier_test.go

    		add chain ip kube-proxy reject-chain { comment "helper for @no-endpoint-services / @no-endpoint-nodeports" ; }
    		add rule ip kube-proxy reject-chain reject
    
    		add map ip kube-proxy no-endpoint-services { type ipv4_addr . inet_proto . inet_service : verdict ; comment "vmap to drop or reject packets to services with no endpoints" ; }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  10. pkg/api/service/testing/make.go

    func SetAllocateLoadBalancerNodePorts(val bool) Tweak {
    	return func(svc *api.Service) {
    		svc.Spec.AllocateLoadBalancerNodePorts = utilpointer.BoolPtr(val)
    	}
    }
    
    // SetUniqueNodePorts sets all nodeports to unique values.
    func SetUniqueNodePorts(svc *api.Service) {
    	for i := range svc.Spec.Ports {
    		svc.Spec.Ports[i].NodePort = int32(30000 + i)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 7.1K bytes
    - Viewed (0)
Back to top