Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 38 for podAdd (0.18 sec)

  1. pkg/scheduler/internal/queue/events.go

    limitations under the License.
    */
    
    package queue
    
    import (
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    )
    
    const (
    	// PodAdd is the event when a new pod is added to API server.
    	PodAdd = "PodAdd"
    	// ScheduleAttemptFailure is the event when a schedule attempt fails.
    	ScheduleAttemptFailure = "ScheduleAttemptFailure"
    	// BackoffComplete is the event when a pod finishes backoff.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. pkg/kubelet/userns/userns_manager_switch_test.go

    	require.NoError(t, err)
    
    	for _, podUID := range pods {
    		pod := v1.Pod{ObjectMeta: metav1.ObjectMeta{UID: podUID}}
    		userns, err := m2.GetOrCreateUserNamespaceMappings(&pod, "")
    
    		assert.NoError(t, err, "failed to record userns range for pod %v", podUID)
    		assert.Nil(t, userns, "userns range should be nil for pod %v", podUID)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/host_stats_provider.go

    }
    
    func (h hostStatsProvider) podLogMetrics(podNamespace, podName string, podUID types.UID) (metricsProviderByPath, error) {
    	podLogsDirectoryPath := kuberuntime.BuildPodLogsDirectory(h.podLogsDirectory, podNamespace, podName, podUID)
    	return h.fileMetricsByDir(podLogsDirectoryPath)
    }
    
    func (h hostStatsProvider) podContainerLogMetrics(podNamespace, podName string, podUID types.UID, containerName string) (metricsProviderByPath, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. pkg/kubelet/util/pod_startup_latency_tracker.go

    type PodStartupLatencyTracker interface {
    	ObservedPodOnWatch(pod *v1.Pod, when time.Time)
    	RecordImageStartedPulling(podUID types.UID)
    	RecordImageFinishedPulling(podUID types.UID)
    	RecordStatusUpdated(pod *v1.Pod)
    	DeletePodStartupState(podUID types.UID)
    }
    
    type basicPodStartupLatencyTracker struct {
    	// protect against concurrent read and write on pods map
    	lock sync.Mutex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 06:09:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. pkg/kubelet/cm/helpers.go

    			continue
    		}
    		podUID := podSandboxMap[c.PodSandboxId]
    		containerMap.Add(podUID, c.Metadata.Name, c.Id)
    		if c.State == runtimeapi.ContainerState_CONTAINER_RUNNING {
    			klog.V(4).InfoS("Container reported running", "podSandboxId", c.PodSandboxId, "podUID", podUID, "containerName", c.Metadata.Name, "containerId", c.Id)
    			runningSet.Insert(c.Id)
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 27 13:02:15 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. pkg/volume/flexvolume/plugin.go

    func (plugin *flexVolumePlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    	return plugin.newUnmounterInternal(volName, podUID, plugin.host.GetMounter(plugin.GetPluginName()), plugin.runner)
    }
    
    // newUnmounterInternal is the internal unmounter routine to clean the volume.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/host_stats_provider_fake.go

    		fakeStats:   fakeStats,
    		osInterface: osInterface,
    	}
    }
    
    func (f *fakeHostStatsProvider) getPodLogStats(podNamespace, podName string, podUID types.UID, rootFsInfo *cadvisorapiv2.FsInfo) (*statsapi.FsStats, error) {
    	path := kuberuntime.BuildPodLogsDirectory("/var/log/kube/pods/", podNamespace, podName, podUID)
    	files, err := f.osInterface.ReadDir(path)
    	if err != nil {
    		return nil, err
    	}
    	var results []volume.MetricsProvider
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:57:17 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/podresources/server_v1alpha1_test.go

    	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",
    			DeviceIds:    []string{"dev0", "dev1"},
    		},
    	}
    
    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/volume/git_repo/git_repo.go

    			volName: spec.Name(),
    			podUID:  pod.UID,
    			plugin:  plugin,
    		},
    		pod:      *pod,
    		source:   spec.Volume.GitRepo.Repository,
    		revision: spec.Volume.GitRepo.Revision,
    		target:   spec.Volume.GitRepo.Directory,
    		exec:     exec.New(),
    		opts:     opts,
    	}, nil
    }
    
    func (plugin *gitRepoPlugin) NewUnmounter(volName string, podUID types.UID) (volume.Unmounter, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 06:17:25 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  10. src/internal/chacha8rand/chacha8_amd64.s

    	REPLREG(SI, X1)
    	REPLREG(R8, X2)
    	REPLREG(R9, X3)
    	REPLREG(R10, X12)
    	REPLREG(R11, X13)
    	REPLREG(R12, X14)
    	REPLREG(R13, X15)
    	PADDD X0, X4
    	PADDD X1, X5
    	PADDD X2, X6
    	PADDD X3, X7
    	PADDD X12, X8
    	PADDD X13, X9
    	PADDD X14, X10
    	PADDD X15, X11
    	MOVOU X4, (4*16)(BX)
    	MOVOU X5, (5*16)(BX)
    	MOVOU X6, (6*16)(BX)
    	MOVOU X7, (7*16)(BX)
    	MOVOU X8, (8*16)(BX)
    	MOVOU X9, (9*16)(BX)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 4.6K bytes
    - Viewed (0)
Back to top