Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 436 for pdName (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/controller_test.go

    					t.Errorf("Fail: unexpected QueueSets %v", extraQueueSetNames)
    				}
    				for plName, hr, nCount := cts.popHeldRequest(); hr != nil; plName, hr, nCount = cts.popHeldRequest() {
    					desired := desiredPLNames.Has(plName) || mandPLs[plName] != nil
    					if testDebugLogs {
    						t.Logf("Releasing held request %#+v, desired=%v, plName=%s, count:=%d", hr.rd, desired, plName, nCount)
    					}
    					close(hr.finishCh)
    				}
    				cts.requestWG.Wait()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  2. cni/pkg/repair/repair_test_helpers.go

    	brokenPodTerminating = makePod(makePodArgs{
    		PodName: "broken-pod-terminating",
    		Annotations: map[string]string{
    			"sidecar.istio.io/status": "something",
    		},
    		Labels: map[string]string{
    			"testlabel": "true",
    		},
    		NodeName:            "test-node",
    		InitContainerStatus: &brokenInitContainerTerminating,
    	})
    
    	brokenPodWaiting = makePod(makePodArgs{
    		PodName: "broken-pod-waiting",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 12 17:39:53 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. pkg/kubelet/volumemanager/reconciler/reconstruct_common.go

    	}
    	gvi.podVolumes[rcv.podName] = rcv
    }
    
    func (rc *reconciler) cleanupMounts(volume podVolume) {
    	klog.V(2).InfoS("Reconciler sync states: could not find volume information in desired state, clean up the mount points", "podName", volume.podName, "volumeSpecName", volume.volumeSpecName)
    	mountedVolume := operationexecutor.MountedVolume{
    		PodName: volume.podName,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 09 07:34:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  4. pkg/volume/util/nestedpendingoperations/nestedpendingoperations.go

    		volumeNameMatch := previousOp.key.volumeName == key.volumeName
    
    		podNameMatch := previousOp.key.podName == EmptyUniquePodName ||
    			key.podName == EmptyUniquePodName ||
    			previousOp.key.podName == key.podName
    
    		podNameExactMatch := previousOp.key.podName == key.podName
    
    		nodeNameMatch := previousOp.key.nodeName == EmptyNodeName ||
    			key.nodeName == EmptyNodeName ||
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 26 01:29:17 UTC 2022
    - 12.6K bytes
    - Viewed (0)
  5. istioctl/pkg/cli/mock_client.go

    	return c.Results, nil
    }
    
    func (c MockClient) EnvoyDo(ctx context.Context, podName, podNamespace, method, path string) ([]byte, error) {
    	results, ok := c.Results[podName]
    	if !ok {
    		return nil, fmt.Errorf("unable to retrieve Pod: pods %q not found", podName)
    	}
    	return results, nil
    }
    
    func (c MockClient) EnvoyDoWithPort(ctx context.Context, podName, podNamespace, method, path string, port int) ([]byte, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 08 08:38:19 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. tests/integration/pilot/piggyback_test.go

    			for _, workload := range workloads {
    				podName := workload[0].WorkloadsOrFail(t)[0].PodName()
    				namespace := workload.Config().Namespace.Name()
    
    				retry.UntilSuccessOrFail(t, func() error {
    					args := []string{
    						"x", "proxy-status", "--xds-via-agents", fmt.Sprintf("%s.%s", podName, namespace),
    					}
    					output, _, err := istioCtl.Invoke(args)
    					if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/max_seats.go

    	}
    }
    
    func (m *maxSeatsTracker) GetMaxSeats(plName string) uint64 {
    	m.RLock()
    	defer m.RUnlock()
    
    	return m.maxSeats[plName]
    }
    
    func (m *maxSeatsTracker) SetMaxSeats(plName string, maxSeats uint64) {
    	m.Lock()
    	defer m.Unlock()
    
    	m.maxSeats[plName] = maxSeats
    }
    
    func (m *maxSeatsTracker) ForgetPriorityLevel(plName string) {
    	m.Lock()
    	defer m.Unlock()
    
    	delete(m.maxSeats, plName)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 17 19:26:52 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/podresources/server_v1alpha1_test.go

    	"k8s.io/kubelet/pkg/apis/podresources/v1alpha1"
    	podresourcetest "k8s.io/kubernetes/pkg/kubelet/apis/podresources/testing"
    )
    
    func TestListPodResourcesV1alpha1(t *testing.T) {
    	podName := "pod-name"
    	podNamespace := "pod-namespace"
    	podUID := types.UID("pod-uid")
    	containerName := "container-name"
    
    	devs := []*podresourcesv1.ContainerDevices{
    		{
    			ResourceName: "resource",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  9. pkg/controller/volume/attachdetach/cache/desired_state_of_world_test.go

    			podName,
    			generatedVolumeName,
    			nodeName)
    	}
    
    	// Act
    	generatedVolumeName, podErr = dsw.AddPod(types.UniquePodName(podName), controllervolumetesting.NewPod(podName, podName), volumeSpec, nodeName)
    
    	// Assert
    	if podErr != nil {
    		t.Fatalf("AddPod failed for pod %q. Expected: <no error> Actual: <%v>",
    			podName,
    			podErr)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  10. cni/pkg/plugin/plugin.go

    		return err
    	}
    
    	// Check if the workload is running under Kubernetes.
    	podNamespace := string(k8sArgs.K8S_POD_NAMESPACE)
    	podName := string(k8sArgs.K8S_POD_NAME)
    	log := log.WithLabels("pod", podNamespace+"/"+podName)
    	if podNamespace == "" || podName == "" {
    		log.Debugf("Not a kubernetes pod")
    		return nil
    	}
    
    	for _, excludeNs := range conf.Kubernetes.ExcludeNamespaces {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top