Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for updateStrategy (0.15 sec)

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

    				Spec: appsv1.DaemonSetSpec{
    					Template: templateNoLabel,
    					UpdateStrategy: appsv1.DaemonSetUpdateStrategy{
    						Type: appsv1.OnDeleteDaemonSetStrategyType,
    					},
    				},
    			},
    			expected: &appsv1.DaemonSet{
    				Spec: appsv1.DaemonSetSpec{
    					Template: templateNoLabel,
    					UpdateStrategy: appsv1.DaemonSetUpdateStrategy{
    						Type: appsv1.OnDeleteDaemonSetStrategyType,
    					},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  2. pkg/apis/apps/v1beta2/defaults_test.go

    				Spec: appsv1beta2.DaemonSetSpec{
    					Template: templateNoLabel,
    					UpdateStrategy: appsv1beta2.DaemonSetUpdateStrategy{
    						Type: appsv1beta2.OnDeleteDaemonSetStrategyType,
    					},
    				},
    			},
    			expected: &appsv1beta2.DaemonSet{
    				Spec: appsv1beta2.DaemonSetSpec{
    					Template: templateNoLabel,
    					UpdateStrategy: appsv1beta2.DaemonSetUpdateStrategy{
    						Type: appsv1beta2.OnDeleteDaemonSetStrategyType,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. pkg/apis/apps/v1beta1/defaults_test.go

    					Replicas:            &defaultReplicas,
    					MinReadySeconds:     int32(0),
    					Template:            defaultTemplate,
    					PodManagementPolicy: appsv1beta1.OrderedReadyPodManagement,
    					UpdateStrategy: appsv1beta1.StatefulSetUpdateStrategy{
    						Type:          appsv1beta1.OnDeleteStatefulSetStrategyType,
    						RollingUpdate: nil,
    					},
    					RevisionHistoryLimit: ptr.To[int32](10),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  4. pkg/controller/daemon/daemon_controller_test.go

    		if err != nil {
    			t.Fatalf("error creating DaemonSets controller: %v", err)
    		}
    		ds1 := newDaemonSet("foo1")
    		ds1.Spec.UpdateStrategy = *strategy
    		ds2 := newDaemonSet("foo2")
    		ds2.Spec.UpdateStrategy = *strategy
    		ds3 := newDaemonSet("foo3")
    		ds3.Spec.UpdateStrategy = *strategy
    		ds3.Spec.Selector.MatchLabels = simpleDaemonSetLabel2
    		err = manager.dsStore.Add(ds1)
    		if err != nil {
    			t.Fatal(err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  5. pkg/apis/apps/validation/validation_test.go

    	return func(ss *apps.StatefulSet) {
    		ss.Spec.UpdateStrategy.Type = t
    	}
    }
    
    func tweakRollingUpdatePartition(partition int32) statefulSetTweak {
    	return func(ss *apps.StatefulSet) {
    		if ss.Spec.UpdateStrategy.RollingUpdate == nil {
    			ss.Spec.UpdateStrategy.RollingUpdate = &apps.RollingUpdateStatefulSetStrategy{}
    		}
    		ss.Spec.UpdateStrategy.RollingUpdate.Partition = partition
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  6. pkg/registry/apps/statefulset/strategy_test.go

    		Spec: apps.StatefulSetSpec{
    			PodManagementPolicy: apps.OrderedReadyPodManagement,
    			Selector:            &metav1.LabelSelector{MatchLabels: validSelector},
    			Template:            validPodTemplate.Template,
    			UpdateStrategy:      apps.StatefulSetUpdateStrategy{Type: apps.RollingUpdateStatefulSetStrategyType},
    		},
    		Status: apps.StatefulSetStatus{Replicas: 3},
    	}
    
    	Strategy.PrepareForCreate(ctx, ps)
    	if ps.Status.Replicas != 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. pkg/controller/statefulset/stateful_set_control.go

    // set.Spec.Replicas Pods with a Ready Condition. If the UpdateStrategy.Type for the set is
    // RollingUpdateStatefulSetStrategyType then all Pods in the set must be at set.Status.CurrentRevision.
    // If the UpdateStrategy.Type for the set is OnDeleteStatefulSetStrategyType, the target state implies nothing about
    // the revisions of Pods in the set. If the UpdateStrategy.Type for the set is PartitionStatefulSetStrategyType, then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  8. cluster/gce/addons/konnectivity-agent/konnectivity-agent-ds.yaml

        addonmanager.kubernetes.io/mode: Reconcile
        k8s-app: konnectivity-agent
      namespace: kube-system
      name: konnectivity-agent
    spec:
      selector:
        matchLabels:
          k8s-app: konnectivity-agent
      updateStrategy:
        type: RollingUpdate
      template:
        metadata:
          labels:
            k8s-app: konnectivity-agent
        spec:
          priorityClassName: system-cluster-critical
          tolerations:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 10:31:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. helm/minio/templates/statefulset.yaml

        {{- end }}
      {{- if .Values.additionalAnnotations }}
      annotations: {{- toYaml .Values.additionalAnnotations | nindent 4 }}
      {{- end }}
    spec:
      updateStrategy:
        type: {{ .Values.statefulSetUpdate.updateStrategy }}
      podManagementPolicy: "Parallel"
      serviceName: {{ template "minio.fullname" . }}-svc
      replicas: {{ $replicas }}
      selector:
        matchLabels:
          app: {{ template "minio.name" . }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 07:50:24 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  10. pkg/controller/statefulset/stateful_set_utils.go

    	if currentSet.Spec.UpdateStrategy.Type == apps.RollingUpdateStatefulSetStrategyType &&
    		(currentSet.Spec.UpdateStrategy.RollingUpdate == nil && ordinal < (getStartOrdinal(currentSet)+int(currentSet.Status.CurrentReplicas))) ||
    		(currentSet.Spec.UpdateStrategy.RollingUpdate != nil && ordinal < (getStartOrdinal(currentSet)+int(*currentSet.Spec.UpdateStrategy.RollingUpdate.Partition))) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 26.7K bytes
    - Viewed (0)
Back to top