- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,700 for ContainerT (0.25 sec)
-
pkg/kube/inject/app_probe_test.go
containers: &corev1.Pod{Spec: corev1.PodSpec{Containers: []corev1.Container{app, proxy}}}, want: &proxy, }, { name: "no-sidecar", containers: &corev1.Pod{Spec: corev1.PodSpec{Containers: []corev1.Container{app}}}, want: nil, }, { name: "init-sidecar", containers: &corev1.Pod{Spec: corev1.PodSpec{InitContainers: []corev1.Container{proxy}, Containers: []corev1.Container{app}}},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Aug 04 15:06:24 UTC 2023 - 8.6K bytes - Viewed (0) -
pkg/kubelet/container/runtime.go
// state of the container. type Container struct { // The ID of the container, used by the container runtime to identify // a container. ID ContainerID // The name of the container, which should be the same as specified by // v1.Container. Name string // The image name of the container, this also includes the tag of the image, // the expected form is "NAME:TAG". Image string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 00:05:23 UTC 2024 - 27.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_sandbox_test.go
}, { name: "Pod with HostProcess containers and HostNetwork not set", podSpec: &v1.PodSpec{ SecurityContext: &v1.PodSecurityContext{ WindowsOptions: &v1.WindowsSecurityContextOptions{ HostProcess: &trueVar, }, }, Containers: []v1.Container{{ Name: containerName, }}, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/kubelet/status/generate_test.go
noInitContainer := &v1.PodSpec{} oneInitContainer := &v1.PodSpec{ InitContainers: []v1.Container{ {Name: "1234"}, }, Containers: []v1.Container{ {Name: "regular"}, }, } twoInitContainer := &v1.PodSpec{ InitContainers: []v1.Container{ {Name: "1234"}, {Name: "5678"}, }, Containers: []v1.Container{ {Name: "regular"}, }, } oneRestartableInitContainer := &v1.PodSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 12 15:18:11 UTC 2023 - 18.2K bytes - Viewed (0) -
pkg/api/v1/pod/util_test.go
testCases := []struct { name string containers []v1.Container port intstr.IntOrString expected int pass bool }{{ name: "valid int, no ports", containers: []v1.Container{{}}, port: intstr.FromInt32(93), expected: 93, pass: true, }, { name: "valid int, with ports", containers: []v1.Container{{Ports: []v1.ContainerPort{{ Name: "",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 32.1K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/topology_hints_test.go
var activePods []*v1.Pod for p := range tc.assignments { pod := v1.Pod{} pod.UID = types.UID(p) for c := range tc.assignments[p] { container := v1.Container{} container.Name = c pod.Spec.Containers = append(pod.Spec.Containers, container) } activePods = append(activePods, &pod) } m := manager{ policy: &staticPolicy{ topology: topology, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 19K bytes - Viewed (0) -
pkg/apis/core/v1/helper/qos/qos_test.go
return v1.Container{ Name: name, Resources: getResourceRequirements(requests, limits), } } func newPod(name string, containers []v1.Container) *v1.Pod { return &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: name, }, Spec: v1.PodSpec{ Containers: containers, }, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 07 14:47:37 UTC 2023 - 6.2K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_termination_order.go
} var mainContainerChannels []chan struct{} // sidecar containers need to wait on main containers, so we create a channel per main container // for them to wait on for _, c := range pod.Spec.Containers { channel := make(chan struct{}) to.terminated[c.Name] = channel mainContainerChannels = append(mainContainerChannels, channel) // if its not a running container, pre-close the channel so nothing waits on it
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 00:07:21 UTC 2023 - 3.8K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_linux_test.go
Command: container.Command, Args: []string(nil), WorkingDir: container.WorkingDir, Labels: newContainerLabels(container, pod), Annotations: newContainerAnnotations(container, pod, restartCount, opts), Devices: makeDevices(opts), Mounts: m.makeMounts(opts, container), LogPath: containerLogsPath, Stdin: container.Stdin, StdinOnce: container.StdinOnce,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 41K bytes - Viewed (0) -
docs/en/docs/deployment/docker.md
A container image is comparable to the **program** file and contents, e.g. `python` and some file `main.py`.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat May 18 23:43:13 UTC 2024 - 34K bytes - Viewed (0)