Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 70 for podIps (0.14 sec)

  1. pkg/controller/volume/persistentvolume/pv_controller.go

    	pods := []*v1.Pod{}
    	objs, err := ctrl.podIndexer.ByIndex(common.PodPVCIndex, key)
    	if err != nil {
    		return pods, err
    	}
    	for _, obj := range objs {
    		pod, ok := obj.(*v1.Pod)
    		if !ok {
    			continue
    		}
    		pods = append(pods, pod)
    	}
    	return pods, err
    }
    
    // isVolumeUsed returns list of active pods that use given PV.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  2. tests/integration/ambient/baseline_test.go

    func TestWaypointChanges(t *testing.T) {
    	framework.NewTest(t).Run(func(t framework.TestContext) {
    		getGracePeriod := func(want int64) bool {
    			pods, err := kubetest.NewPodFetch(t.AllClusters()[0], apps.Namespace.Name(), constants.GatewayNameLabel+"=waypoint")()
    			assert.NoError(t, err)
    			for _, p := range pods {
    				grace := p.Spec.TerminationGracePeriodSeconds
    				if grace != nil && *grace == want {
    					return true
    				}
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/admissionregistration/v1/generated.proto

      repeated string apiVersions = 2;
    
      // Resources is a list of resources this rule applies to.
      //
      // For example:
      // 'pods' means pods.
      // 'pods/log' means the log subresource of pods.
      // '*' means all resources, but not subresources.
      // 'pods/*' means all subresources of pods.
      // '*/scale' means all scale subresources.
      // '*/*' means all resources and their subresources.
      //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources_test.go

    					changes: change{
    						claim: func(in *resourcev1alpha2.ResourceClaim) *resourcev1alpha2.ResourceClaim {
    							return st.FromResourceClaim(in).
    								ReservedFor(resourcev1alpha2.ResourceClaimConsumerReference{Resource: "pods", Name: podName, UID: types.UID(podUID)}).
    								Obj()
    						},
    					},
    				},
    				postbind: result{
    					removed: []metav1.Object{schedulingInfo},
    				},
    			},
    		},
    		"in-use-by-other": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 07:57:10 UTC 2024
    - 61.9K bytes
    - Viewed (0)
  5. pkg/scheduler/framework/plugins/dynamicresources/dynamicresources.go

    	//
    	// Note that this also works when the allocation result gets added twice because
    	// two pods both started using a shared claim: the first pod to get here adds the
    	// allocation result. The second pod then only adds itself to reservedFor.
    	patch := fmt.Sprintf(`{"metadata": {"uid": %q}, "status": {%s "reservedFor": [ {"resource": "pods", "name": %q, "uid": %q} ] }}`,
    		claim.UID,
    		allocationPatch,
    		pod.Name,
    		pod.UID,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:22:37 UTC 2024
    - 75.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/types.go

    	// Resources is a list of resources this rule applies to.
    	//
    	// For example:
    	// 'pods' means pods.
    	// 'pods/log' means the log subresource of pods.
    	// '*' means all resources, but not subresources.
    	// 'pods/*' means all subresources of pods.
    	// '*/scale' means all scale subresources.
    	// '*/*' means all resources and their subresources.
    	//
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 61.6K bytes
    - Viewed (0)
  7. pkg/controller/volume/attachdetach/reconciler/reconciler_test.go

    		expectedEvents []string
    	}{
    		{
    			"no pods use the volume",
    			[]nodeWithPods{
    				{"node1", []string{"ns1/pod1"}},
    			},
    			[]string{"Warning FailedAttachVolume Multi-Attach error for volume \"volume-name\" Volume is already exclusively attached to one node and can't be attached to another"},
    		},
    		{
    			"pods in the same namespace use the volume",
    			[]nodeWithPods{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:14 UTC 2024
    - 72.8K bytes
    - Viewed (0)
  8. cluster/gce/windows/k8s-node-setup.psm1

    #  - Document functions using proper syntax:
    #    https://technet.microsoft.com/en-us/library/hh847834(v=wps.620).aspx
    
    $GCE_METADATA_SERVER = "169.254.169.254"
    # The "management" interface is used by the kubelet and by Windows pods to talk
    # to the rest of the Kubernetes cluster *without NAT*. This interface does not
    # exist until an initial HNS network has been created on the Windows node - see
    # Add_InitialHnsNetwork().
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/init.go

    						return path.Dir(com), nil
    					}
    				}
    			}
    		}
    	}
    
    	// Look for Godeps.json declaring import path.
    	data, _ := os.ReadFile(filepath.Join(dir, "Godeps/Godeps.json"))
    	var cfg1 struct{ ImportPath string }
    	json.Unmarshal(data, &cfg1)
    	if cfg1.ImportPath != "" {
    		return cfg1.ImportPath, nil
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. pkg/controller/job/job_controller.go

    	// When adopting Pods, this operation adds an ownerRef and finalizers.
    	pods, err = cm.ClaimPods(ctx, pods)
    	if err != nil {
    		return pods, err
    	}
    	// Set finalizer on adopted pods for the remaining calculations.
    	for i, p := range pods {
    		adopted := true
    		for _, r := range p.OwnerReferences {
    			if r.UID == j.UID {
    				adopted = false
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top