Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 443 for container1 (0.34 sec)

  1. pkg/volume/emptydir/empty_dir_test.go

    		mountDetector   = fakeMountDetector{}
    		pod             = &v1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				UID: types.UID("poduid"),
    			},
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{
    						Resources: v1.ResourceRequirements{
    							Requests: v1.ResourceList{
    								v1.ResourceName("hugepages-2Mi"): resource.MustParse("100Mi"),
    							},
    						},
    					},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  2. pkg/test/kube/dump.go

    	for _, pod := range pods {
    		isVM := checkIfVM(pod)
    		containers := append(pod.Spec.Containers, pod.Spec.InitContainers...)
    		for _, container := range containers {
    			l, err := c.PodLogs(context.TODO(), pod.Name, pod.Namespace, container.Name, false /* previousLog */)
    			if err != nil {
    				scopes.Framework.Warnf("Unable to get logs for cluster/pod/container: %s/%s/%s/%s for: %v",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  3. pkg/kubelet/metrics/collectors/resource_metrics_test.go

    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_a",namespace="namespace_b",pod="pod_b"} 10 1624396278302
    				container_cpu_usage_seconds_total{container="container_b",namespace="namespace_a",pod="pod_a"} 10 1624396278302
    				# HELP container_memory_working_set_bytes [STABLE] Current working set of the container in bytes
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 08:12:16 UTC 2024
    - 15.3K bytes
    - Viewed (1)
  4. pkg/kubelet/container/testing/fake_runtime.go

    	pod.Spec.Containers = append(pod.Spec.Containers, container)
    	for _, c := range pod.Spec.Containers {
    		if c.Name == container.Name { // Container already in the pod.
    			return f.Err
    		}
    	}
    	pod.Spec.Containers = append(pod.Spec.Containers, container)
    	return f.Err
    }
    
    func (f *FakeRuntime) KillContainerInPod(container v1.Container, pod *v1.Pod) error {
    	f.Lock()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 00:23:50 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. plugin/pkg/admission/serviceaccount/admission_test.go

    	}
    	if len(pod.Spec.Containers[0].VolumeMounts) != 1 {
    		t.Fatalf("Expected 1 volume mount, got %d", len(pod.Spec.Containers[0].VolumeMounts))
    	}
    	if !reflect.DeepEqual(expectedVolumeMount, pod.Spec.Containers[0].VolumeMounts[0]) {
    		t.Fatalf("Expected\n\t%#v\ngot\n\t%#v", expectedVolumeMount, pod.Spec.Containers[0].VolumeMounts[0])
    	}
    
    	// check init containers
    	pod = &api.Pod{
    		Spec: api.PodSpec{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 12 17:49:30 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  6. cluster/gce/gci/configure.sh

      systemctl stop containerd
      mkdir -p /home/containerd/
      mount --bind /home/containerd /home/containerd
      mount -o remount,exec /home/containerd
      if [[ -n "${COS_INSTALL_CONTAINERD_VERSION:-}" ]]; then
        # containerd versions have slightly different url(s), so try both
        # shellcheck disable=SC2086
        ( curl ${CURL_FLAGS} \
            --location \
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  7. pkg/kubelet/stats/cri_stats_provider_windows.go

    		cs, err := p.makeWinContainerStats(criContainerStat, container, rootFsInfo, fsIDtoInfo, podSandbox.GetMetadata())
    		if err != nil {
    			return fmt.Errorf("make container stats: %w", err)
    
    		}
    		ps.Containers = append(ps.Containers, *cs)
    	}
    
    	return nil
    }
    
    func (p *criStatsProvider) makeWinContainerStats(
    	stats *runtimeapi.WindowsContainerStats,
    	container *runtimeapi.Container,
    	rootFsInfo *cadvisorapiv2.FsInfo,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 18 07:03:11 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  8. pkg/kubelet/prober/prober_manager_test.go

    			UID: "no_probe_pod",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{{
    				Name: "no_probe1",
    			}, {
    				Name: "no_probe2",
    			}, {
    				Name: "no_probe3",
    			}},
    		},
    	}
    
    	probePod := v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID: "probe_pod",
    		},
    		Spec: v1.PodSpec{
    			Containers: []v1.Container{{
    				Name: "probe1",
    			}, {
    				Name:           "readiness",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/labels.go

    	labels[types.KubernetesContainerNameLabel] = container.Name
    
    	return labels
    }
    
    // newContainerAnnotations creates container annotations from v1.Container and v1.Pod.
    func newContainerAnnotations(container *v1.Container, pod *v1.Pod, restartCount int, opts *kubecontainer.RunContainerOptions) map[string]string {
    	annotations := map[string]string{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. pkg/kubelet/cm/dra/manager_test.go

    	resourceClaimName := "test-pod-claim-1"
    
    	for _, test := range []struct {
    		description string
    		container   *v1.Container
    		pod         *v1.Pod
    		claimInfo   *ClaimInfo
    		wantErr     bool
    	}{
    		{
    			description: "claim info with annotations",
    			container: &v1.Container{
    				Name: "test-container",
    				Resources: v1.ResourceRequirements{
    					Claims: []v1.ResourceClaim{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 03 13:30:29 UTC 2024
    - 42K bytes
    - Viewed (0)
Back to top