Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 275 for Pods (0.07 sec)

  1. pkg/kubemark/hollow_kubelet.go

    func GetHollowKubeletConfig(opt *HollowKubeletOptions) (*options.KubeletFlags, *kubeletconfig.KubeletConfiguration) {
    	testRootDir := utils.MakeTempDirOrDie("hollow-kubelet.", "")
    	podFilePath := utils.MakeTempDirOrDie("static-pods", testRootDir)
    	podLogsPath := utils.MakeTempDirOrDie("pod-logs", testRootDir)
    	klog.Infof("Using %s as root dir for hollow-kubelet", testRootDir)
    
    	// Flags struct
    	f := options.NewKubeletFlags()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:10:54 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. CHANGELOG/CHANGELOG-1.29.md

    - Improved scheduling latency when many gated pods ([#124849](https://github.com/kubernetes/kubernetes/pull/124849), [@gabesaba](https://github.com/gabesaba)) [SIG Scheduling and Testing]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 03:42:38 UTC 2024
    - 324.5K bytes
    - Viewed (0)
  3. pkg/kube/kclient/client_test.go

    		filter kclient.Filter
    		want   kubetypes.InformerOptions
    	}{
    		{
    			name: "watch pods in the foo namespace",
    			gvr:  gvr.Pod,
    			filter: kclient.Filter{
    				Namespace: "foo",
    			},
    			want: kubetypes.InformerOptions{
    				Namespace: "foo",
    				Cluster:   c.ClusterID(),
    			},
    		},
    		{
    			name: "watch pods in the InformerWatchNamespace",
    			gvr:  gvr.Pod,
    			want: kubetypes.InformerOptions{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 15:12:54 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    		}
    	}
    
    	// Delete all pods.
    	deleted, err := registry.DeleteCollection(testContext, rest.ValidateAllObjectFunc, nil, &metainternalversion.ListOptions{})
    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    	deletedPods := deleted.(*example.PodList)
    	if len(deletedPods.Items) != numPods {
    		t.Errorf("Unexpected number of pods deleted: %d, expected: %d", len(deletedPods.Items), numPods)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  5. pkg/volume/util/operationexecutor/operation_generator.go

    	unmapDeviceFunc := func() volumetypes.OperationContext {
    		migrated := getMigratedStatusBySpec(deviceToDetach.VolumeSpec)
    		// Search under globalMapPath dir if all symbolic links from pods have been removed already.
    		// If symbolic links are there, pods may still refer the volume.
    		globalMapPath := deviceToDetach.DeviceMountPath
    		refs, err := og.blkUtil.GetDeviceBindMountRefs(deviceToDetach.DevicePath, globalMapPath)
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 101.4K bytes
    - Viewed (0)
  6. pkg/controller/testutil/test_utils.go

    )
    
    // FakeNodeHandler is a fake implementation of NodesInterface and NodeInterface. It
    // allows test cases to have fine-grained control over mock behaviors. We also need
    // PodsInterface and PodInterface to test list & delete pods, which is implemented in
    // the embedded client.Fake field.
    type FakeNodeHandler struct {
    	*fake.Clientset
    
    	// Input: Hooks determine if request is valid or not
    	CreateHook func(*FakeNodeHandler, *v1.Node) bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/cluster_waypoint.go

    			OriginalDstLbConfig: &cluster.Cluster_OriginalDstLbConfig{
    				UpstreamPortOverride: &wrappers.UInt32Value{
    					Value: model.HBoneInboundListenPort,
    				},
    				// Used to override destination pods with waypoints.
    				MetadataKey: &metadata.MetadataKey{
    					Key: util.OriginalDstMetadataKey,
    					Path: []*metadata.MetadataKey_PathSegment{{
    						Segment: &metadata.MetadataKey_PathSegment_Key{
    							Key: "waypoint",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top