Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 568 for podIps (0.22 sec)

  1. pkg/volume/csi/csi_block.go

    func (m *csiBlockMapper) getPublishPath() string {
    	return filepath.Join(m.getPublishDir(), string(m.podUID))
    }
    
    // GetPodDeviceMapPath returns pod's device file which will be mapped to a volume
    // returns: pods/{podUID}/volumeDevices/kubernetes.io~csi, {specName}
    func (m *csiBlockMapper) GetPodDeviceMapPath() (string, string) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Sep 11 06:07:40 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. pkg/kubelet/container/testing/fake_runtime.go

    	f.Lock()
    	defer f.Unlock()
    
    	var pods []*kubecontainer.Pod
    
    	f.CalledFunctions = append(f.CalledFunctions, "GetPods")
    	if all {
    		for _, fakePod := range f.AllPodList {
    			pods = append(pods, fakePod.Pod)
    		}
    	} else {
    		for _, fakePod := range f.PodList {
    			pods = append(pods, fakePod.Pod)
    		}
    	}
    	return pods, f.Err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. pkg/controller/controller_utils_test.go

    				Labels:    rc.Spec.Selector,
    				Namespace: rc.Namespace,
    			},
    			Status: v1.PodStatus{Phase: status},
    		}
    		if store != nil {
    			store.Add(&newPod)
    		}
    		pods = append(pods, newPod)
    	}
    	return &v1.PodList{
    		Items: pods,
    	}
    }
    
    func newReplicaSet(name string, replicas int, rsUuid types.UID) *apps.ReplicaSet {
    	return &apps.ReplicaSet{
    		TypeMeta: metav1.TypeMeta{APIVersion: "v1"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 39.4K bytes
    - Viewed (0)
  4. pkg/scheduler/extender_test.go

    			nodeNameToVictims: map[string]*extenderv1.Victims{
    				"node1": {
    					Pods: []*v1.Pod{
    						st.MakePod().Name("pod1").UID("uid1").Obj(),
    						st.MakePod().Name("pod3").UID("uid3").Obj(),
    					},
    					NumPDBViolations: 1,
    				},
    				"node2": {
    					Pods: []*v1.Pod{
    						st.MakePod().Name("pod2").UID("uid2").Obj(),
    						st.MakePod().Name("pod4").UID("uid4").Obj(),
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 19:07:19 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/storage/v1beta1/generated.proto

    // in future we may allow also inline volumes in pods.
    // Exactly one member can be set.
    message VolumeAttachmentSource {
      // persistentVolumeName represents the name of the persistent volume to attach.
      // +optional
      optional string persistentVolumeName = 1;
    
      // inlineVolumeSpec contains all the information necessary to attach
      // a persistent volume defined by a pod's inline VolumeSource. This field
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/addons/dns/dns_test.go

               pods insecure
               upstream
               fallthrough in-addr.arpa ip6.arpa
               ttl 30
            }
            health
        }
    `,
    			expectedCorefileData: `.:53 {
        errors
        health {
           lameduck 5s
        }
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
           pods insecure
           fallthrough in-addr.arpa ip6.arpa
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/storage/v1alpha1/types.go

    	// inlineVolumeSpec contains all the information necessary to attach
    	// a persistent volume defined by a pod's inline VolumeSource. This field
    	// is populated only for the CSIMigration feature. It contains
    	// translated fields from a pod's inline VolumeSource to a
    	// PersistentVolumeSpec. This field is alpha-level and is only
    	// honored by servers that enabled the CSIMigration feature.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 27 20:06:32 UTC 2023
    - 13.4K bytes
    - Viewed (0)
  8. pkg/kubelet/userns/userns_manager.go

    		Gids: gids,
    	}, nil
    }
    
    // CleanupOrphanedPodUsernsAllocations reconciliates the state of user namespace
    // allocations with the pods actually running. It frees any user namespace
    // allocation for orphaned pods.
    func (m *UsernsManager) CleanupOrphanedPodUsernsAllocations(pods []*v1.Pod, runningPods []*kubecontainer.Pod) error {
    	if !utilfeature.DefaultFeatureGate.Enabled(features.UserNamespacesSupport) {
    		return nil
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  9. pkg/kubemark/controller.go

    	selector := labels.SelectorFromSet(labels.Set{nodeGroupLabel: nodeGroup})
    	pods, err := kubemarkController.externalCluster.podLister.List(selector)
    	if err != nil {
    		return nil, err
    	}
    	result := make([]string, 0, len(pods))
    	for _, pod := range pods {
    		result = append(result, pod.ObjectMeta.Name)
    	}
    	return result, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 23:02:17 UTC 2020
    - 14.1K bytes
    - Viewed (0)
  10. pkg/scheduler/framework/plugins/podtopologyspread/filtering.go

    // preemption algorithm, in particular the following 2 facts:
    // Fact 1: we only preempt pods on the same node, instead of pods on multiple nodes.
    // Fact 2: each node is evaluated on a separate copy of the preFilterState during its preemption cycle.
    // If we plan to turn to a more complex algorithm like "arbitrary pods on multiple nodes", this
    // structure needs to be revisited.
    // Fields are exported for comparison during testing.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 10:42:29 UTC 2024
    - 12.4K bytes
    - Viewed (1)
Back to top