Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 95 for apipod (0.28 sec)

  1. tools/bug-report/pkg/bugreport/bugreport.go

    	getFromCluster(content.GetPodInfo, params.SetIstioNamespace(config.IstioNamespace), clusterDir, &mandatoryWg)
    
    	common.LogAndPrintf("\nFetching CNI logs from cluster.\n\n")
    	for _, cniPod := range resources.CniPod {
    		getCniLogs(runner, config, resources, cniPod.Namespace, cniPod.Name, &mandatoryWg)
    	}
    
    	// optionalWg is subject to timer.
    	var optionalWg sync.WaitGroup
    	for _, p := range paths {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 05 20:57:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  2. pkg/kubelet/prober/common_test.go

    	podManager := kubepod.NewBasicPodManager()
    	podStartupLatencyTracker := kubeletutil.NewPodStartupLatencyTracker()
    	// Add test pod to pod manager, so that status manager can get the pod from pod manager if needed.
    	podManager.AddPod(getTestPod())
    	testRootDir := ""
    	if tempDir, err := os.MkdirTemp("", "kubelet_test."); err != nil {
    		return nil
    	} else {
    		testRootDir = tempDir
    	}
    	m := NewManager(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 12 16:57:26 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. plugin/pkg/auth/authorizer/node/graph.go

    	})
    	g.destinationEdgeIndex[n.ID()] = index
    }
    
    // AddPod should only be called once spec.NodeName is populated.
    // It sets up edges for the following relationships (which are immutable for a pod once bound to a node):
    //
    //	pod       -> node
    //	secret    -> pod
    //	configmap -> pod
    //	pvc       -> pod
    //	svcacct   -> pod
    func (g *Graph) AddPod(pod *corev1.Pod) {
    	start := time.Now()
    	defer func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  4. pkg/scheduler/framework/cycle_state.go

    type StateData interface {
    	// Clone is an interface to make a copy of StateData. For performance reasons,
    	// clone should make shallow copies for members (e.g., slices or maps) that are not
    	// impacted by PreFilter's optional AddPod/RemovePod methods.
    	Clone() StateData
    }
    
    // StateKey is the type of keys stored in CycleState.
    type StateKey string
    
    // CycleState provides a mechanism for plugins to store and retrieve arbitrary data.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 06:48:20 UTC 2023
    - 4K bytes
    - Viewed (0)
  5. pkg/controller/statefulset/stateful_set_test.go

    	om.setsIndexer.Add(set1)
    	om.setsIndexer.Add(set2)
    
    	ssc.addPod(logger, pod1)
    	key, done := ssc.queue.Get()
    	if key == "" || done {
    		t.Error("failed to enqueue StatefulSet")
    	} else if expectedKey, _ := controller.KeyFunc(set1); expectedKey != key {
    		t.Errorf("expected StatefulSet key %s found %s", expectedKey, key)
    	}
    	ssc.queue.Done(key)
    
    	ssc.addPod(logger, pod2)
    	key, done = ssc.queue.Get()
    	if key == "" || done {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 33.1K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set.go

    		return
    	}
    
    	for i := 0; i < workers; i++ {
    		go wait.UntilWithContext(ctx, ssc.worker, time.Second)
    	}
    
    	<-ctx.Done()
    }
    
    // addPod adds the statefulset for the pod to the sync queue
    func (ssc *StatefulSetController) addPod(logger klog.Logger, obj interface{}) {
    	pod := obj.(*v1.Pod)
    
    	if pod.DeletionTimestamp != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. misc/ios/go_ios_exec.go

    	appID = getenv("GOIOS_APP_ID")
    
    	// e.g. Z8B3JBXXXX, available at
    	// https://developer.apple.com/membercenter/index.action#accountSummary as Team ID.
    	teamID = getenv("GOIOS_TEAM_ID")
    
    	// Device IDs as listed with ios-deploy -c.
    	deviceID = os.Getenv("GOIOS_DEVICE_ID")
    
    	if _, id, ok := strings.Cut(appID, "."); ok {
    		bundleID = id
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 23.4K bytes
    - Viewed (0)
  8. pkg/scheduler/framework/types.go

    		n.PodsWithRequiredAntiAffinity = append(n.PodsWithRequiredAntiAffinity, podInfo)
    	}
    	n.update(podInfo.Pod, 1)
    }
    
    // AddPod is a wrapper around AddPodInfo.
    func (n *NodeInfo) AddPod(pod *v1.Pod) {
    	// ignore this err since apiserver doesn't properly validate affinity terms
    	// and we can't fix the validation for backwards compatibility.
    	podInfo, _ := NewPodInfo(pod)
    	n.AddPodInfo(podInfo)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  9. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption.go

    			return err
    		}
    		status := pl.fh.RunPreFilterExtensionRemovePod(ctx, state, pod, rpi, nodeInfo)
    		if !status.IsSuccess() {
    			return status.AsError()
    		}
    		return nil
    	}
    	addPod := func(api *framework.PodInfo) error {
    		nodeInfo.AddPodInfo(api)
    		status := pl.fh.RunPreFilterExtensionAddPod(ctx, state, pod, api, nodeInfo)
    		if !status.IsSuccess() {
    			return status.AsError()
    		}
    		return nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Nov 25 19:36:04 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  10. pkg/controller/volume/attachdetach/metrics/metrics_test.go

    	volumeName := v1.UniqueVolumeName("volume-name")
    	volumeSpec := controllervolumetesting.GetTestVolumeSpec(string(volumeName), volumeName)
    	nodeName := k8stypes.NodeName("node-name")
    
    	dsw.AddNode(nodeName)
    	_, err := dsw.AddPod(types.UniquePodName(podName), controllervolumetesting.NewPod(podName, podName), volumeSpec, nodeName)
    	if err != nil {
    		t.Fatalf("Expected no error, got %v", err)
    	}
    	logger, _ := ktesting.NewTestContext(t)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 10:42:15 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top