Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for NodeName (0.23 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		Spec:       example.PodSpec{NodeName: "machine"},
    	}
    	podB := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test"},
    		Spec:       example.PodSpec{NodeName: "machine2"},
    	}
    	podAWithResourceVersion := &example.Pod{
    		ObjectMeta: metav1.ObjectMeta{Name: "foo", Namespace: "test", ResourceVersion: "7"},
    		Spec:       example.PodSpec{NodeName: "machine"},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/proxier_test.go

    			Conditions: discovery.EndpointConditions{Ready: ptr.To(true)},
    			NodeName:   ptr.To(testHostname),
    		}, {
    			Addresses:  []string{"10.0.1.2"},
    			Conditions: discovery.EndpointConditions{Ready: ptr.To(true)},
    			NodeName:   ptr.To(testHostname),
    		}, {
    			Addresses:  []string{"10.0.1.3"},
    			Conditions: discovery.EndpointConditions{Ready: ptr.To(true)},
    			NodeName:   ptr.To(testHostname),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  3. pkg/volume/util/operationexecutor/operation_generator.go

    			if areAttachedErr != nil {
    				klog.Errorf(
    					"VolumesAreAttached failed for checking on node %q with: %v",
    					nodeName,
    					areAttachedErr)
    				continue
    			}
    
    			for spec, check := range attached {
    				if !check {
    					actualStateOfWorld.MarkVolumeAsDetached(volumeSpecMap[spec], nodeName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/proxier_test.go

    			Conditions: discovery.EndpointConditions{Ready: ptr.To(true)},
    			NodeName:   ptr.To(testHostname),
    		}, {
    			Addresses:  []string{"10.0.1.2"},
    			Conditions: discovery.EndpointConditions{Ready: ptr.To(true)},
    			NodeName:   ptr.To("node2"),
    		}, {
    			Addresses:  []string{"10.0.1.3"},
    			Conditions: discovery.EndpointConditions{Ready: ptr.To(true)},
    			NodeName:   ptr.To("node3"),
    		}, { // not ready endpoints should be ignored
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  5. pkg/controller/daemon/daemon_controller_test.go

    	}
    	return pod
    }
    
    func addPods(podStore cache.Store, nodeName string, label map[string]string, ds *apps.DaemonSet, number int) {
    	for i := 0; i < number; i++ {
    		pod := newPod(fmt.Sprintf("%s-", nodeName), nodeName, label, ds)
    		podStore.Add(pod)
    	}
    }
    
    func addFailedPods(podStore cache.Store, nodeName string, label map[string]string, ds *apps.DaemonSet, number int) {
    	for i := 0; i < number; i++ {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one_test.go

    	return "NumericMap"
    }
    
    func (pl *numericMapPlugin) Score(_ context.Context, _ *framework.CycleState, _ *v1.Pod, nodeName string) (int64, *framework.Status) {
    	score, err := strconv.Atoi(nodeName)
    	if err != nil {
    		return 0, framework.NewStatus(framework.Error, fmt.Sprintf("Error converting nodename to int: %+v", nodeName))
    	}
    	return int64(score), nil
    }
    
    func (pl *numericMapPlugin) ScoreExtensions() framework.ScoreExtensions {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 128.1K bytes
    - Viewed (0)
  7. pkg/kubelet/kubelet_test.go

    	kl.dnsConfigurer = dns.NewConfigurer(recorder, nodeRef, nil, nil, testClusterDNSDomain, "")
    
    	// default NodeName in test is 127.0.0.1
    	pods := []*v1.Pod{
    		podWithUIDNameNsSpec("123456789", "notfittingpod", "foo", v1.PodSpec{NodeName: "127.0.0.2"}),
    		podWithUIDNameNsSpec("987654321", "fittingpod", "foo", v1.PodSpec{NodeName: "127.0.0.1"}),
    	}
    
    	notfittingPod := pods[0]
    	fittingPod := pods[1]
    
    	kl.HandlePodAdditions(pods)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
  8. src/main/webapp/js/admin/popper.min.js.map

    element.nextElementSibling).offsetParent;\n  }\n\n  const nodeName = offsetParent && offsetParent.nodeName;\n\n  if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') {\n    return element ? element.ownerDocument.documentElement : document.documentElement;\n  }\n\n  // .offsetParent will return the closest TH, TD or TABLE in case\n  // no offsetParent is present, I hate this job...\n  if (\n    ['TH', 'TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 &&\n    getStyleComputedProperty(offsetParent,...
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Fri Feb 07 10:28:50 UTC 2020
    - 121K bytes
    - Viewed (0)
  9. pkg/kubelet/kubelet.go

    	klet.nodeLeaseController = lease.NewController(
    		klet.clock,
    		klet.heartbeatClient,
    		string(klet.nodeName),
    		kubeCfg.NodeLeaseDurationSeconds,
    		klet.onRepeatedHeartbeatFailure,
    		renewInterval,
    		string(klet.nodeName),
    		v1.NamespaceNodeLease,
    		util.SetNodeOwnerFunc(klet.heartbeatClient, string(klet.nodeName)))
    
    	// setup node shutdown manager
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/runtime/framework_test.go

    	return framework.NewStatus(framework.Code(pl.inj.ReserveStatus), injectReason)
    }
    
    func (pl *TestPlugin) Unreserve(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) {
    }
    
    func (pl *TestPlugin) PreBind(ctx context.Context, state *framework.CycleState, p *v1.Pod, nodeName string) *framework.Status {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 103K bytes
    - Viewed (0)
Back to top