- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 95 for apipod (0.1 sec)
-
pkg/controller/volume/attachdetach/cache/desired_state_of_world.go
type DesiredStateOfWorld interface { // AddNode adds the given node to the list of nodes managed by the attach/ // detach controller. // If the node already exists this is a no-op. AddNode(nodeName k8stypes.NodeName) // AddPod adds the given pod to the list of pods that reference the // specified volume and is scheduled to the specified node. // A unique volumeName is generated from the volumeSpec and returned on // success.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 10:42:15 UTC 2024 - 13.5K bytes - Viewed (0) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
pkg/scheduler/framework/plugins/volumerestrictions/volume_restrictions.go
if !needsCheck && s.conflictingPVCRefCount == 0 { return nil, framework.NewStatus(framework.Skip) } cycleState.Write(preFilterStateKey, s) return nil, nil } // AddPod from pre-computed data in cycleState. func (pl *VolumeRestrictions) AddPod(ctx context.Context, cycleState *framework.CycleState, podToSchedule *v1.Pod, podInfoToAdd *framework.PodInfo, nodeInfo *framework.NodeInfo) *framework.Status {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 17:40:39 UTC 2023 - 12.5K bytes - Viewed (0)