Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 52 for InitContainer (0.18 sec)

  1. pkg/kubelet/cm/cpumanager/cpu_manager_test.go

    			InitContainers: []v1.Container{},
    			Containers:     []v1.Container{},
    		},
    	}
    
    	for i, cpu := range initCPUs {
    		pod.Spec.InitContainers = append(pod.Spec.InitContainers, v1.Container{
    			Name: "initContainer-" + strconv.Itoa(i),
    			Resources: v1.ResourceRequirements{
    				Requests: v1.ResourceList{
    					v1.ResourceName(v1.ResourceCPU):    resource.MustParse(cpu.request),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 06 13:16:15 UTC 2023
    - 42.9K bytes
    - Viewed (0)
  2. cni/README.md

            - Pods have annotation `sidecar.istio.io/inject` set to `false` or has no key `sidecar.istio.io/status` in annotations
            - Pod has `istio-init` initContainer - this indicates a pod running its own injection setup.
    1. Return prevResult
    
    ## Troubleshooting
    
    ### Collecting Logs
    
    #### Using `istioctl`/helm
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 03 19:29:42 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  3. pilot/pkg/serviceregistry/kube/controller/ambient/workloads.go

    	return func(ctx krt.HandlerContext, p *v1.Pod) *model.WorkloadInfo {
    		// Pod Is Pending but have a pod IP should be a valid workload, we should build it ,
    		// Such as the pod have initContainer which is initialing.
    		// See https://github.com/istio/istio/issues/48854
    		if (!IsPodRunning(p) && !IsPodPending(p)) || p.Spec.HostNetwork {
    			return nil
    		}
    		podIP, err := netip.ParseAddr(p.Status.PodIP)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 16:51:29 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  4. pkg/volume/util/util_test.go

    			expectedDevices: sets.New[string]("vol3", "vol4"),
    		},
    		{
    			name: "pod with init containers",
    			pod: &v1.Pod{
    				Spec: v1.PodSpec{
    					InitContainers: []v1.Container{
    						{
    							Name: "initContainer",
    							VolumeMounts: []v1.VolumeMount{
    								{
    									Name: "vol1",
    								},
    								{
    									Name: "vol2",
    								},
    							},
    							VolumeDevices: []v1.VolumeDevice{
    								{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 12:32:15 UTC 2024
    - 28.7K bytes
    - Viewed (0)
  5. pkg/kubelet/status/status_manager.go

    		initContainer, ok := kubeutil.GetContainerByIndex(podSpec.InitContainers, oldStatuses.InitContainerStatuses, i)
    		if !ok {
    			return fmt.Errorf("found mismatch between pod spec and status, container: %v", oldStatus.Name)
    		}
    		// Skip any restartable init container as it always is allowed to restart
    		if kubetypes.IsRestartableInitContainer(&initContainer) {
    			continue
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 02 16:27:19 UTC 2024
    - 44.3K bytes
    - Viewed (0)
  6. pkg/kubelet/cm/memorymanager/memory_manager_test.go

    				}
    			}
    
    			// Calls AddContainer for init containers
    			for i, initContainer := range testCase.podAllocate.Spec.InitContainers {
    				mgr.AddContainer(testCase.podAllocate, &testCase.podAllocate.Spec.InitContainers[i], initContainer.Name)
    			}
    
    			// Calls AddContainer for apps containers
    			for i, appContainer := range testCase.podAllocate.Spec.Containers {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 05 13:01:40 UTC 2023
    - 70.2K bytes
    - Viewed (0)
  7. pkg/printers/internalversion/printers.go

    func (list SortableResourceNames) Less(i, j int) bool {
    	return list[i] < list[j]
    }
    
    func isRestartableInitContainer(initContainer *api.Container) bool {
    	if initContainer == nil {
    		return false
    	}
    	if initContainer.RestartPolicy == nil {
    		return false
    	}
    
    	return *initContainer.RestartPolicy == api.ContainerRestartPolicyAlways
    }
    
    func isPodInitializedConditionTrue(status *api.PodStatus) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/batch/v1/generated.proto

      // Restricts the check for exit codes to the container with the
      // specified name. When null, the rule applies to all containers.
      // When specified, it should match one the container or initContainer
      // names in the pod template.
      // +optional
      optional string containerName = 1;
    
      // Represents the relationship between the container exit code(s) and the
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  9. plugin/pkg/admission/imagepolicy/admission_test.go

    			wantErr:     true,
    			subresource: "ephemeralcontainers",
    			operation:   admission.Update,
    		},
    		{
    			test: "Good container, good init container, bad ephemeral container when updating subresource=='' which sets initContainer and container only",
    			pod: &api.Pod{
    				Spec: api.PodSpec{
    					ServiceAccountName: "default",
    					SecurityContext:    &api.PodSecurityContext{},
    					Containers: []api.Container{
    						{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/kuberuntime_manager.go

    		// Step 6: start the init container.
    		if container := podContainerChanges.NextInitContainerToStart; container != nil {
    			// Start the next init container.
    			if err := start(ctx, "init container", metrics.InitContainer, containerStartSpec(container)); err != nil {
    				return
    			}
    
    			// Successfully started the container; clear the entry in the failure
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 02:01:31 UTC 2024
    - 64.7K bytes
    - Viewed (0)
Back to top