- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 589 for containerB (0.17 sec)
-
pkg/kubelet/cm/cpumanager/cpu_manager_test.go
pod.UID = types.UID(podUID) pod.Spec.Containers[0].Name = containerName return pod } func makeMultiContainerPod(initCPUs, appCPUs []struct{ request, limit string }) *v1.Pod { pod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "pod", UID: "podUID", }, Spec: v1.PodSpec{ InitContainers: []v1.Container{}, Containers: []v1.Container{}, }, }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 42.9K bytes - Viewed (0) -
pkg/quota/v1/evaluator/core/pods_test.go
}, }}, }, }, required: []corev1.ResourceName{corev1.ResourceMemory}, err: `must specify memory for: bar,foo`, }, "container resource missing": { pod: &api.Pod{ Spec: api.PodSpec{ Containers: []api.Container{{ Name: "dummy", Resources: api.ResourceRequirements{ Requests: api.ResourceList{api.ResourceCPU: resource.MustParse("1m")},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 41.6K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_windows_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Feb 17 00:02:10 UTC 2024 - 13.8K bytes - Viewed (0) -
pkg/kubelet/cm/memorymanager/memory_manager.go
func (m *manager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) { m.Lock() defer m.Unlock() m.containerMap.Add(string(pod.UID), container.Name, containerID) // Since we know that each init container always runs to completion before // the next container starts, we can safely remove references to any previously // started init containers. This will free up the memory from these init containers
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 00:50:45 UTC 2023 - 17.1K bytes - Viewed (1) -
manifests/charts/istio-control/istio-discovery/files/grpc-agent.yaml
{{ toYaml .Values.global.proxy.resources | indent 6 }} {{- end }} {{- end }} {{- end }} {{- $containers := list }} {{- range $index, $container := .Spec.Containers }}{{ if not (eq $container.Name "istio-proxy") }}{{ $containers = append $containers $container.Name }}{{end}}{{- end}} metadata: labels:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 26 16:51:17 UTC 2024 - 12.1K bytes - Viewed (0) -
pkg/kubelet/pleg/generic.go
} func getContainersFromPods(pods ...*kubecontainer.Pod) []*kubecontainer.Container { cidSet := sets.New[string]() var containers []*kubecontainer.Container fillCidSet := func(cs []*kubecontainer.Container) { for _, c := range cs { cid := c.ID.ID if cidSet.Has(cid) { continue } cidSet.Insert(cid) containers = append(containers, c) } } for _, p := range pods { if p == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 19.3K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_static.go
} // Check if the container is an init container. // If so, add its cpuset to the cpuset of reusable CPUs for any new allocations. for _, initContainer := range pod.Spec.InitContainers { if container.Name == initContainer.Name { if types.IsRestartableInitContainer(&initContainer) { // If the container is a restartable init container, we should not
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 06 13:16:15 UTC 2023 - 28.8K bytes - Viewed (0) -
tools/bug-report/pkg/cluster/cluster.go
if cs.Name == container { return int(cs.RestartCount) } } return 0 } // IsDiscoveryContainer reports whether the given container is the Istio discovery container. func (r *Resources) IsDiscoveryContainer(clusterVersion, namespace, pod, container string) bool { return common.IsDiscoveryContainer(clusterVersion, container, r.Labels[PodKey(namespace, pod)]) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Dec 14 02:11:31 UTC 2023 - 10.9K bytes - Viewed (0) -
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) -
pkg/apis/core/v1/validation/validation_test.go
} func TestAccumulateUniqueHostPorts(t *testing.T) { successCase := []struct { name string containers []v1.Container accumulator *sets.String fldPath *field.Path }{{ name: "HostPort is not allocated while containers use the same port with different protocol", containers: []v1.Container{{ Ports: []v1.ContainerPort{{ HostPort: 8080, Protocol: v1.ProtocolUDP, }}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Oct 28 07:31:28 UTC 2023 - 11.2K bytes - Viewed (0)