- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 179 for InitContainers (0.18 sec)
-
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/printers/internalversion/printers.go
case api.PodFailed: row.Conditions = podFailedConditions } initContainers := make(map[string]*api.Container) for i := range pod.Spec.InitContainers { initContainers[pod.Spec.InitContainers[i].Name] = &pod.Spec.InitContainers[i] if isRestartableInitContainer(&pod.Spec.InitContainers[i]) { totalContainers++ } } initializing := false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 128.3K 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) -
pkg/printers/internalversion/printers_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 14:04:15 UTC 2024 - 218.6K bytes - Viewed (0) -
pkg/kubelet/kuberuntime/kuberuntime_manager.go
} // If we are creating a pod sandbox, we should restart from the initial // state. if len(pod.Spec.InitContainers) != 0 { // Pod has init containers, return the first one. if !utilfeature.DefaultFeatureGate.Enabled(features.SidecarContainers) { changes.NextInitContainerToStart = &pod.Spec.InitContainers[0] } else { changes.InitContainersToStart = []int{0} } return changes }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 22 02:01:31 UTC 2024 - 64.7K bytes - Viewed (0) -
pkg/kubelet/cm/cpumanager/policy_static_test.go
st := &mockState{ assignments: testCase.stAssignments, defaultCPUSet: testCase.stDefaultCPUSet, } pod := testCase.pod // allocate for _, container := range append(pod.Spec.InitContainers, pod.Spec.Containers...) { policy.Allocate(st, pod, &container) } if !reflect.DeepEqual(st.defaultCPUSet, testCase.expCSetAfterAlloc) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 40.8K bytes - Viewed (0) -
pkg/apis/core/validation/validation.go
} mungedPodSpec.Containers = newContainers // munge spec.initContainers[*].image var newInitContainers []core.Container for ix, container := range mungedPodSpec.InitContainers { container.Image = oldPod.Spec.InitContainers[ix].Image // +k8s:verify-mutation:reason=clone newInitContainers = append(newInitContainers, container) } mungedPodSpec.InitContainers = newInitContainers // munge spec.activeDeadlineSeconds
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 349.5K bytes - Viewed (0) -
cni/README.md
- In sidecar mode, the CNI plugin can configure sidecar networking for pods when they are scheduled by the container runtime, using iptables. The CNI handling the netns setup replaces the current Istio approach using a `NET_ADMIN` privileged `initContainers` container, `istio-init`, injected in the pods along with `istio-proxy` sidecars. This removes the need for a privileged, `NET_ADMIN` container in the Istio users' application pods.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 03 19:29:42 UTC 2024 - 12.3K bytes - Viewed (0) -
pkg/kubelet/kubelet_pods.go
pod, podStatus, oldPodStatus.ContainerStatuses, pod.Spec.Containers, len(pod.Spec.InitContainers) > 0, false, ) apiPodStatus.InitContainerStatuses = kl.convertToAPIContainerStatuses( pod, podStatus, oldPodStatus.InitContainerStatuses, pod.Spec.InitContainers, len(pod.Spec.InitContainers) > 0, true, ) var ecSpecs []v1.Container for i := range pod.Spec.EphemeralContainers {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 101.2K bytes - Viewed (0)