Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for rollingUpdate (0.4 sec)

  1. pkg/apis/apps/v1beta1/defaults_test.go

    						Type:          appsv1beta1.RollingUpdateDeploymentStrategyType,
    						RollingUpdate: nil,
    					},
    				},
    			},
    			expected: &appsv1beta1.Deployment{
    				Spec: appsv1beta1.DeploymentSpec{
    					Replicas: ptr.To[int32](3),
    					Strategy: appsv1beta1.DeploymentStrategy{
    						Type: appsv1beta1.RollingUpdateDeploymentStrategyType,
    						RollingUpdate: &appsv1beta1.RollingUpdateDeployment{
    							MaxSurge:       &defaultIntOrString,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  2. pkg/apis/apps/v1/defaults_test.go

    						Type: appsv1.RollingUpdateStatefulSetStrategyType,
    						RollingUpdate: &appsv1.RollingUpdateStatefulSetStrategy{
    							Partition: &defaultPartition,
    						},
    					},
    					RevisionHistoryLimit: ptr.To[int32](10),
    				},
    			},
    		},
    		{
    			name: "UpdateStrategy.RollingUpdate.Partition is not lost when UpdateStrategy.Type is not set",
    			original: &appsv1.StatefulSet{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  3. pkg/apis/apps/validation/validation.go

    	case apps.RollingUpdateDaemonSetStrategyType:
    		// Make sure RollingUpdate field isn't nil.
    		if strategy.RollingUpdate == nil {
    			allErrs = append(allErrs, field.Required(fldPath.Child("rollingUpdate"), ""))
    			return allErrs
    		}
    		allErrs = append(allErrs, ValidateRollingUpdateDaemonSet(strategy.RollingUpdate, fldPath.Child("rollingUpdate"))...)
    	default:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 06 22:11:20 UTC 2024
    - 41.4K bytes
    - Viewed (0)
  4. pkg/apis/apps/v1beta2/defaults_test.go

    						Type:          appsv1beta2.RollingUpdateDeploymentStrategyType,
    						RollingUpdate: nil,
    					},
    				},
    			},
    			expected: &appsv1beta2.Deployment{
    				Spec: appsv1beta2.DeploymentSpec{
    					Replicas: ptr.To[int32](3),
    					Strategy: appsv1beta2.DeploymentStrategy{
    						Type: appsv1beta2.RollingUpdateDeploymentStrategyType,
    						RollingUpdate: &appsv1beta2.RollingUpdateDeployment{
    							MaxSurge:       &defaultIntOrString,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  5. samples/open-telemetry/otel.yaml

    apiVersion: apps/v1
    kind: Deployment
    metadata:
      name: opentelemetry-collector
    spec:
      selector:
        matchLabels:
          app: opentelemetry-collector
      strategy:
        rollingUpdate:
          maxSurge: 1
          maxUnavailable: 1
        type: RollingUpdate
      template:
        metadata:
          labels:
            app: opentelemetry-collector
            sidecar.istio.io/inject: "false" # do not inject
        spec:
          containers:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 31 08:51:36 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/apps/v1/types.go

    	// Default is RollingUpdate.
    	// +optional
    	Type StatefulSetUpdateStrategyType `json:"type,omitempty" protobuf:"bytes,1,opt,name=type,casttype=StatefulSetStrategyType"`
    	// RollingUpdate is used to communicate parameters when Type is RollingUpdateStatefulSetStrategyType.
    	// +optional
    	RollingUpdate *RollingUpdateStatefulSetStrategy `json:"rollingUpdate,omitempty" protobuf:"bytes,2,opt,name=rollingUpdate"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/apps/v1/types_swagger_doc_generated.go

    	"":              "DaemonSetUpdateStrategy is a struct used to control the update strategy for a DaemonSet.",
    	"type":          "Type of daemon set update. Can be \"RollingUpdate\" or \"OnDelete\". Default is RollingUpdate.",
    	"rollingUpdate": "Rolling update config params. Present only if type = \"RollingUpdate\".",
    }
    
    func (DaemonSetUpdateStrategy) SwaggerDoc() map[string]string {
    	return map_DaemonSetUpdateStrategy
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/apps/v1/generated.proto

    message DaemonSetUpdateStrategy {
      // Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
      // +optional
      optional string type = 1;
    
      // Rolling update config params. Present only if type = "RollingUpdate".
      // ---
      // TODO: Update this to follow our convention for oneOf, whatever we decide it
      // to be. Same as Deployment `strategy.rollingUpdate`.
      // See https://github.com/kubernetes/kubernetes/issues/35345
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/apps/v1/generated.proto

    message DaemonSetUpdateStrategy {
      // Type of daemon set update. Can be "RollingUpdate" or "OnDelete". Default is RollingUpdate.
      // +optional
      optional string type = 1;
    
      // Rolling update config params. Present only if type = "RollingUpdate".
      // ---
      // TODO: Update this to follow our convention for oneOf, whatever we decide it
      // to be. Same as Deployment `strategy.rollingUpdate`.
      // See https://github.com/kubernetes/kubernetes/issues/35345
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 07:14:59 UTC 2024
    - 34.8K bytes
    - Viewed (0)
  10. pkg/controller/daemon/update_test.go

    		Type: apps.RollingUpdateDaemonSetStrategyType,
    		RollingUpdate: &apps.RollingUpdateDaemonSet{
    			MaxUnavailable: &zero,
    			MaxSurge:       &value,
    		},
    	}
    }
    
    func newUpdateUnavailable(value intstr.IntOrString) apps.DaemonSetUpdateStrategy {
    	return apps.DaemonSetUpdateStrategy{
    		Type: apps.RollingUpdateDaemonSetStrategyType,
    		RollingUpdate: &apps.RollingUpdateDaemonSet{
    			MaxUnavailable: &value,
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 10 21:10:35 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top