- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 431 for container1 (0.17 sec)
-
pkg/kubelet/lifecycle/predicate_test.go
} } func newResourcePod(containerResources ...v1.ResourceList) *v1.Pod { containers := []v1.Container{} for _, rl := range containerResources { containers = append(containers, v1.Container{ Resources: v1.ResourceRequirements{Requests: rl}, }) } return &v1.Pod{ Spec: v1.PodSpec{ Containers: containers, }, } } func newPodWithPort(hostPorts ...int) *v1.Pod {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 23:13:50 UTC 2024 - 14.2K bytes - Viewed (0) -
cmd/kubelet/app/options/options.go
fs.MarkDeprecated("maximum-dead-containers-per-container", "Use --eviction-hard or --eviction-soft instead. Will be removed in a future version.") fs.Int32Var(&f.MaxContainerCount, "maximum-dead-containers", f.MaxContainerCount, "Maximum number of old instances of containers to retain globally. Each container takes up some disk space. To disable, set to a negative number.")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 07:00:05 UTC 2024 - 41.6K bytes - Viewed (0) -
pkg/kube/inject/testdata/inject/list.yaml.injected
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 14.2K bytes - Viewed (0) -
pkg/kubelet/config/config_test.go
config.Sync() expectPodUpdate(t, ch, CreatePodUpdate(kubetypes.SET, kubetypes.AllSource, CreateValidPod("foo", "new"))) // container updates are separated as UPDATE pod := *podUpdate.Pods[0] pod.Spec.Containers = []v1.Container{{Name: "bar", Image: "test", ImagePullPolicy: v1.PullIfNotPresent, TerminationMessagePolicy: v1.TerminationMessageReadFile}} channel <- CreatePodUpdate(kubetypes.ADD, TestSource, &pod)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 17.1K bytes - Viewed (0) -
pkg/kube/inject/inject.go
return req.pod } // We found a previous status annotation. Possibly we are re-injecting the pod // To ensure idempotency, remove our injected containers first for _, c := range prevStatus.Containers { pod.Spec.Containers = modifyContainers(pod.Spec.Containers, c, Remove) } for _, c := range prevStatus.InitContainers { pod.Spec.InitContainers = modifyContainers(pod.Spec.InitContainers, c, Remove) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 28.8K bytes - Viewed (1) -
pkg/kube/inject/testdata/inject/hello-multi.yaml.injected
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Feb 27 16:55:16 UTC 2024 - 13.2K bytes - Viewed (0) -
pkg/kube/util.go
t.GetObjectMeta().SetManagedFields(nil) // only container ports can be used if pod := obj.(*corev1.Pod); pod != nil { containers := []corev1.Container{} for _, c := range pod.Spec.Containers { if len(c.Ports) > 0 { containers = append(containers, corev1.Container{ Ports: c.Ports, }) } } oldSpec := pod.Spec newSpec := corev1.PodSpec{ Containers: containers,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 18.6K bytes - Viewed (0) -
pkg/controller/job/backoff_utils_test.go
}, // In this case, init container is stopped after the regular containers. // This is because with the sidecar (restartable init) containers, // sidecar containers will always finish later than regular containers. "Pod with sidecar container and all containers terminated": { pod: v1.Pod{ Spec: v1.PodSpec{ InitContainers: []v1.Container{ { Name: "sidecar",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 06 07:46:41 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/kubelet/metrics/metrics.go
}, []string{NodeLabelKey}, ) // ContainersPerPodCount is a Histogram that tracks the number of containers per pod. ContainersPerPodCount = metrics.NewHistogram( &metrics.HistogramOpts{ Subsystem: KubeletSubsystem, Name: "containers_per_pod_count", Help: "The number of containers per pod.", Buckets: metrics.ExponentialBuckets(1, 2, 5), StabilityLevel: metrics.ALPHA, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 22 15:13:25 UTC 2024 - 45.6K bytes - Viewed (0) -
cluster/log-dump/log-dump.sh
} # Execute a command in container $2 on node $1. # Uses docker because the container may not ordinarily permit direct execution. function run-in-docker-container() { local node_name="$1" local container="$2" shift 2 log-dump-ssh "${node_name}" "docker exec \"\$(docker ps -f label=io.kubernetes.container.name=${container} --format \"{{.ID}}\")\" $*" } function dump_masters() {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 21 21:15:57 UTC 2024 - 28.9K bytes - Viewed (0)