Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 52 for InitContainer (0.18 sec)

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

    				pod: makeMultiContainerPod(
    					[]struct{ request, limit string }{
    						{"4000m", "4000m"}}, // 0, 1, 4, 5
    					[]struct{ request, limit string }{
    						{"2000m", "2000m"}}), // 0, 4
    				containerName:   "initContainer-0",
    				stAssignments:   state.ContainerCPUAssignments{},
    				stDefaultCPUSet: cpuset.New(0, 1, 2, 3, 4, 5, 6, 7),
    			},
    			expCSetAfterAlloc:  cpuset.New(2, 3, 6, 7),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 40.8K bytes
    - Viewed (0)
  2. pkg/kubelet/metrics/metrics.go

    	// Metric for tracking garbage collected images
    	ImageGarbageCollectedTotalKey = "image_garbage_collected_total"
    
    	// Values used in metric labels
    	Container          = "container"
    	InitContainer      = "init_container"
    	EphemeralContainer = "ephemeral_container"
    )
    
    type imageSizeBucket struct {
    	lowerBoundInBytes uint64
    	label             string
    }
    
    var (
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 22 15:13:25 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/batch/v1/types_swagger_doc_generated.go

    	"containerName": "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.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  4. pkg/api/pod/util_test.go

    				dropDisabledFields(newPod, nil, oldPod, nil)
    				if diff := cmp.Diff(expectPod, newPod); diff != "" {
    					t.Fatalf("Unexpected modification to new pod; diff (-got +want)\n%s", diff)
    				}
    			}
    			// InitContainer
    			{
    				oldPod := makePod(nil, []api.Container{makeContainer(tc.oldLifecycleHandler.DeepCopy(), nil)}, nil)
    				newPod := makePod(nil, []api.Container{makeContainer(tc.newLifecycleHandler.DeepCopy(), nil)}, nil)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  5. staging/src/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: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  6. pkg/apis/batch/types.go

    	// 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
    	ContainerName *string
    
    	// Represents the relationship between the container exit code(s) and the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 12:01:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/batch/v1/types.go

    	// 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
    	ContainerName *string `json:"containerName" protobuf:"bytes,1,opt,name=containerName"`
    
    	// Represents the relationship between the container exit code(s) and the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 40.6K bytes
    - Viewed (0)
  8. pkg/apis/batch/validation/validation.go

    	}
    	if onExitCode.ContainerName != nil && !containerNames.Has(*onExitCode.ContainerName) {
    		allErrs = append(allErrs, field.Invalid(onExitCodesPath.Child("containerName"), *onExitCode.ContainerName, "must be one of the container or initContainer names in the pod template"))
    	}
    	valuesPath := onExitCodesPath.Child("values")
    	if len(onExitCode.Values) == 0 {
    		allErrs = append(allErrs, field.Invalid(valuesPath, onExitCode.Values, "at least one value is required"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 16:43:24 UTC 2024
    - 51.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.31.md

    - Kube-apiserver: fixes a 1.28 regression printing pods with invalid initContainer status ([#124906](https://github.com/kubernetes/kubernetes/pull/124906), [@liggitt](https://github.com/liggitt)) [SIG Node]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 20:34:14 UTC 2024
    - 60.3K bytes
    - Viewed (0)
  10. pkg/apis/batch/validation/validation_test.go

    						}},
    					},
    				},
    			},
    			opts: JobValidationOptions{RequirePrefixedLabels: true},
    		},
    		`spec.podFailurePolicy.rules[1].onExitCodes.containerName: Invalid value: "xyz": must be one of the container or initContainer names in the pod template`: {
    			job: batch.Job{
    				ObjectMeta: validJobObjectMeta,
    				Spec: batch.JobSpec{
    					Selector: validGeneratedSelector,
    					Template: validPodTemplateSpecForGeneratedRestartPolicyNever,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 20:49:09 UTC 2024
    - 124.3K bytes
    - Viewed (0)
Back to top