Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for container_1 (0.14 sec)

  1. 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)
  2. pkg/kubelet/images/image_gc_manager_test.go

    			ID:   imageID(id),
    			Size: size,
    			Spec: container.ImageSpec{
    				RuntimeHandler: runtimeHandler,
    			},
    		}
    	}
    }
    
    // Make a container with the specified ID. It will use the image with the same ID.
    func makeContainer(id int) *container.Container {
    	return &container.Container{
    		ID:      container.ContainerID{Type: "test", ID: fmt.Sprintf("container-%d", id)},
    		Image:   imageName(id),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  3. pkg/kubelet/kuberuntime/helpers_linux_test.go

    		},
    		{
    			description:   "container seccomp profile set to SeccompProfileTypeLocalhost with empty LocalhostProfile returns error",
    			containerSc:   &v1.SecurityContext{SeccompProfile: &v1.SeccompProfile{Type: v1.SeccompProfileTypeLocalhost}},
    			expectedError: "localhostProfile must be set if seccompProfile type is Localhost.",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  4. pkg/kubelet/eviction/eviction_manager.go

    	thresholdsMap := make(map[string]*resource.Quantity)
    	for _, container := range pod.Spec.Containers {
    		ephemeralLimit := container.Resources.Limits.StorageEphemeral()
    		if ephemeralLimit != nil && ephemeralLimit.Value() != 0 {
    			thresholdsMap[container.Name] = ephemeralLimit
    		}
    	}
    
    	for _, containerStat := range podStats.Containers {
    		containerUsed := diskUsage(containerStat.Logs)
    		if !*m.dedicatedImageFs {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 27 18:55:56 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/client-go/applyconfigurations/core/v1/container.go

    	TTY                      *bool                                     `json:"tty,omitempty"`
    }
    
    // ContainerApplyConfiguration constructs an declarative configuration of the Container type for use with
    // apply.
    func Container() *ContainerApplyConfiguration {
    	return &ContainerApplyConfiguration{}
    }
    
    // WithName sets the Name field in the declarative configuration to the given value
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 07 21:39:35 UTC 2023
    - 14.4K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/preemption/preemption_test.go

    					st.MakeContainer().Name("container1").Obj(),
    				}).Obj(),
    				st.MakePod().Name("p3.1").UID("p3.1").Node("node3").Priority(midPriority).Containers([]v1.Container{
    					st.MakeContainer().Name("container1").Obj(),
    					st.MakeContainer().Name("container2").Obj(),
    					st.MakeContainer().Name("container3").Obj(),
    				}).Obj(),
    			},
    			expected: "node2",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    			for pod := range tc.assignments {
    				for container, blocks := range tc.assignments[pod] {
    					state.SetMemoryBlocks(pod, container, blocks)
    					assert.Equal(t, blocks, state.GetMemoryBlocks(pod, container), "memory block inconsistent")
    
    					state.Delete(pod, container)
    					assert.Nil(t, state.GetMemoryBlocks(pod, container), "deleted container still existing in state")
    				}
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/api/internal/attributes/DefaultMutableAttributeContainerTest.groovy

            def container = new DefaultMutableAttributeContainer(attributesFactory)
    
            then:
            container.empty
            container.keySet().empty
            !container.contains(thing)
            container.getAttribute(thing) == null
    
            when:
            container.attribute(thing, "thing")
    
            then:
            !container.empty
            container.keySet() == [thing] as Set
            container.contains(thing)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 08 14:34:28 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  9. pkg/volume/util/util_test.go

    								{
    									Name: "vol2",
    								},
    							},
    						},
    					},
    					Containers: []v1.Container{
    						{
    							Name: "container1",
    							VolumeMounts: []v1.VolumeMount{
    								{
    									Name: "vol3",
    								},
    							},
    						},
    						{
    							Name: "container2",
    							VolumeDevices: []v1.VolumeDevice{
    								{
    									Name: "vol4",
    								},
    							},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_gc.go

    				continue
    			}
    		}
    		if err := cgc.manager.removeContainer(ctx, containers[i].id); err != nil {
    			klog.ErrorS(err, "Failed to remove container", "containerID", containers[i].id)
    		}
    	}
    
    	// Assume we removed the containers so that we're not too aggressive.
    	return containers[:numToKeep]
    }
    
    // removeOldestNSandboxes removes the oldest inactive toRemove sandboxes and
    // returns the resulting slice.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 15.3K bytes
    - Viewed (0)
Back to top