Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for TemplateGeneration (0.44 sec)

  1. pkg/controller/daemon/util/daemonset_util_test.go

    		templateGeneration *int64
    		pod                *v1.Pod
    		hash               string
    		isUpdated          bool
    	}{
    		{
    			"templateGeneration and hash both match",
    			templateGeneration,
    			newPod("pod1", "node1", labels),
    			hash,
    			true,
    		},
    		{
    			"templateGeneration matches, hash doesn't",
    			templateGeneration,
    			newPod("pod1", "node1", labels),
    			hash + "123",
    			true,
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  2. pkg/apis/apps/validation/validation.go

    	if newSpec.TemplateGeneration == oldSpec.TemplateGeneration && templateUpdated {
    		allErrs = append(allErrs, field.Invalid(fldPath.Child("templateGeneration"), newSpec.TemplateGeneration, "must be incremented upon template update"))
    	} else if newSpec.TemplateGeneration > oldSpec.TemplateGeneration && !templateUpdated {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  3. pkg/apis/apps/validation/validation_test.go

    						},
    					},
    				},
    			},
    		},
    		"unchanged templateGeneration upon semantically equal template update": {
    			old: apps.DaemonSet{
    				ObjectMeta: metav1.ObjectMeta{Name: "abc", Namespace: metav1.NamespaceDefault},
    				Spec: apps.DaemonSetSpec{
    					Selector:           &metav1.LabelSelector{MatchLabels: validSelector},
    					TemplateGeneration: 4,
    					Template:           validPodTemplateAbc.Template,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.DaemonSet.yaml

            vsphereVolume:
              fsType: fsTypeValue
              storagePolicyID: storagePolicyIDValue
              storagePolicyName: storagePolicyNameValue
              volumePath: volumePathValue
      templateGeneration: 5
      updateStrategy:
        rollingUpdate:
          maxSurge: maxSurgeValue
          maxUnavailable: maxUnavailableValue
        type: typeValue
    status:
      collisionCount: 9
      conditions:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/v1.30.0/extensions.v1beta1.DaemonSet.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 54.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/v1.30.0/extensions.v1beta1.DaemonSet.yaml

            vsphereVolume:
              fsType: fsTypeValue
              storagePolicyID: storagePolicyIDValue
              storagePolicyName: storagePolicyNameValue
              volumePath: volumePathValue
      templateGeneration: 5
      updateStrategy:
        rollingUpdate:
          maxSurge: maxSurgeValue
          maxUnavailable: maxUnavailableValue
        type: typeValue
    status:
      collisionCount: 9
      conditions:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 35.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.DaemonSet.json

    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/extensions/v1beta1/generated.proto

      // DEPRECATED.
      // A sequence number representing a specific generation of the template.
      // Populated by the system. It can be set only during the creation.
      // +optional
      optional int64 templateGeneration = 5;
    
      // The number of old history to retain to allow rollback.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 10.
      // +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // DEPRECATED.
      // A sequence number representing a specific generation of the template.
      // Populated by the system. It can be set only during the creation.
      // +optional
      optional int64 templateGeneration = 5;
    
      // The number of old history to retain to allow rollback.
      // This is a pointer to distinguish between explicit zero and not specified.
      // Defaults to 10.
      // +optional
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  10. pkg/generated/openapi/zz_generated.openapi.go

    							Type:        []string{"integer"},
    							Format:      "int32",
    						},
    					},
    					"templateGeneration": {
    						SchemaProps: spec.SchemaProps{
    							Description: "DEPRECATED. A sequence number representing a specific generation of the template. Populated by the system. It can be set only during the creation.",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 18:37:07 UTC 2024
    - 3M bytes
    - Viewed (0)
Back to top