- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 141 for InitContainers (0.24 sec)
-
pkg/scheduler/framework/plugins/noderesources/fit.go
// regular containers since they run simultaneously. // // # The resources defined for Overhead should be added to the calculated Resource request sum // // Example: // // Pod: // // InitContainers // IC1: // CPU: 2 // Memory: 1G // IC2: // CPU: 2 // Memory: 3G // Containers // C1: // CPU: 2 // Memory: 1G // C2: // CPU: 1
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 13:26:09 UTC 2024 - 20.2K bytes - Viewed (0) -
manifests/charts/gateways/istio-egress/templates/deployment.yaml
{{- if .Values.global.priorityClassName }} priorityClassName: "{{ .Values.global.priorityClassName }}" {{- end }} {{- if .Values.global.proxy.enableCoreDump }} initContainers: - name: enable-core-dump {{- if contains "/" .Values.global.proxy.image }} image: "{{ .Values.global.proxy.image }}" {{- else }}
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 18 18:16:49 UTC 2024 - 12.1K bytes - Viewed (0) -
pkg/api/testing/serialization_test.go
apiObjectFuzzer := fuzzer.FuzzerFor(FuzzerFuncs, rand.NewSource(benchmarkSeed), legacyscheme.Codecs) items := make([]v1.Pod, 10) for i := range items { var pod api.Pod apiObjectFuzzer.Fuzz(&pod) pod.Spec.InitContainers, pod.Status.InitContainerStatuses = nil, nil out, err := legacyscheme.Scheme.ConvertToVersion(&pod, v1.SchemeGroupVersion) if err != nil { panic(err) } items[i] = *out.(*v1.Pod) } return items
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Sep 25 11:04:08 UTC 2023 - 19.3K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/cpu_manager.go
activeContainers := make(map[string]map[string]struct{}) for _, pod := range activeAndAdmittedPods { activeContainers[string(pod.UID)] = make(map[string]struct{}) for _, container := range append(pod.Spec.InitContainers, pod.Spec.Containers...) { activeContainers[string(pod.UID)][container.Name] = struct{}{} } } // Loop through the CPUManager state. Remove any state for containers not
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 03 16:26:09 UTC 2023 - 19.9K bytes - Viewed (0) -
pkg/kubelet/status/status_manager.go
// implies those containers should not be transitioned to terminated status. func hasPodInitialized(pod *v1.Pod) bool { // a pod without init containers is always initialized if len(pod.Spec.InitContainers) == 0 { return true } // if any container has ever moved out of waiting state, the pod has initialized for _, status := range pod.Status.ContainerStatuses {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_container_test.go
} func TestLifeCycleHookForRestartableInitContainer(t *testing.T) { testPod := &v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Name: "bar", Namespace: "default", }, Spec: v1.PodSpec{ InitContainers: []v1.Container{ { Name: "foo", Image: "busybox", ImagePullPolicy: v1.PullIfNotPresent, Command: []string{"testCommand"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 28K bytes - Viewed (0) -
pkg/kube/inject/inject_test.go
prometheus.io/port: "0" prometheus.io/scrape: "true" sidecar.istio.io/status: '{"version":"","initContainers":["istio-init"],"containers":["istio-proxy"],"volumes":["istio-envoy","istio-data","istio-podinfo","istio-token","istiod-ca-cert"],"imagePullSecrets":null}' name: hello spec: initContainers: - name: istio-init image: proxy containers: - name: hello
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 34.1K bytes - Viewed (0) -
pkg/kubelet/lifecycle/predicate.go
nodeInfo.SetNode(node) // TODO: Remove this after the SidecarContainers feature gate graduates to GA. if !utilfeature.DefaultFeatureGate.Enabled(features.SidecarContainers) { for _, c := range admitPod.Spec.InitContainers { if types.IsRestartableInitContainer(&c) { message := fmt.Sprintf("Init container %q may not have a non-default restartPolicy", c.Name)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Oct 19 00:47:50 UTC 2023 - 10.9K bytes - Viewed (0) -
pkg/controller/job/backoff_utils_test.go
// 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", RestartPolicy: &containerRestartPolicyAlways, }, }, }, Status: v1.PodStatus{
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/scheduler/testing/wrappers.go
func (p *PodWrapper) InitReq(resMap map[v1.ResourceName]string) *PodWrapper { if len(resMap) == 0 { return p } name := fmt.Sprintf("init-con%d", len(p.Spec.InitContainers)) p.Spec.InitContainers = append(p.Spec.InitContainers, MakeContainer().Name(name).Image(imageutils.GetPauseImageName()).Resources(resMap).Obj()) return p } // PreemptionPolicy sets the give preemption policy to the inner pod.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0)