Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for rollingUpdate (0.27 sec)

  1. pkg/apis/apps/validation/validation_test.go

    		if ss.Spec.UpdateStrategy.RollingUpdate == nil {
    			ss.Spec.UpdateStrategy.RollingUpdate = &apps.RollingUpdateStatefulSetStrategy{}
    		}
    		ss.Spec.UpdateStrategy.RollingUpdate.Partition = partition
    	}
    }
    
    func tweakMaxUnavailable(mu intstr.IntOrString) statefulSetTweak {
    	return func(ss *apps.StatefulSet) {
    		if ss.Spec.UpdateStrategy.RollingUpdate == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 111.9K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apps/v1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.RollingUpdate == nil {
    				m.RollingUpdate = &RollingUpdateDaemonSet{}
    			}
    			if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 217.1K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/apps/v1beta2/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.RollingUpdate == nil {
    				m.RollingUpdate = &RollingUpdateDaemonSet{}
    			}
    			if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 235.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/apps/v1beta1/generated.pb.go

    			if postIndex < 0 {
    				return ErrInvalidLengthGenerated
    			}
    			if postIndex > l {
    				return io.ErrUnexpectedEOF
    			}
    			if m.RollingUpdate == nil {
    				m.RollingUpdate = &RollingUpdateDeployment{}
    			}
    			if err := m.RollingUpdate.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		default:
    			iNdEx = preIndex
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 169.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

          "properties": {
            "rollingUpdate": {
              "$ref": "#/definitions/io.k8s.api.apps.v1.RollingUpdateDeployment",
              "description": "Rolling update config params. Present only if DeploymentStrategyType = RollingUpdate."
            },
            "type": {
              "description": "Type of deployment. Can be \"Recreate\" or \"RollingUpdate\". Default is RollingUpdate.",
              "type": "string"
            }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  6. pkg/controller/statefulset/stateful_set_control_test.go

    	}
    
    	switch set.Spec.UpdateStrategy.Type {
    	case apps.OnDeleteStatefulSetStrategyType:
    		return true
    	case apps.RollingUpdateStatefulSetStrategyType:
    		if set.Spec.UpdateStrategy.RollingUpdate == nil || *set.Spec.UpdateStrategy.RollingUpdate.Partition <= 0 {
    			if set.Status.CurrentReplicas < *set.Spec.Replicas {
    				return false
    			}
    			for i := range pods {
    				if getPodRevision(pods[i]) != set.Status.CurrentRevision {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  7. pkg/controller/daemon/daemon_controller_test.go

    		},
    	}
    }
    
    func newRollingUpdateStrategy() *apps.DaemonSetUpdateStrategy {
    	one := intstr.FromInt32(1)
    	return &apps.DaemonSetUpdateStrategy{
    		Type:          apps.RollingUpdateDaemonSetStrategyType,
    		RollingUpdate: &apps.RollingUpdateDaemonSet{MaxUnavailable: &one},
    	}
    }
    
    func newOnDeleteStrategy() *apps.DaemonSetUpdateStrategy {
    	return &apps.DaemonSetUpdateStrategy{
    		Type: apps.OnDeleteDaemonSetStrategyType,
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 111.4K bytes
    - Viewed (0)
  8. samples/addons/grafana.yaml

    spec:
      replicas: 1
      revisionHistoryLimit: 10
      selector:
        matchLabels:
          app.kubernetes.io/name: grafana
          app.kubernetes.io/instance: grafana
      strategy:
        type: RollingUpdate
      template:
        metadata:
          labels:
            app.kubernetes.io/name: grafana
            app.kubernetes.io/instance: grafana
            sidecar.istio.io/inject: "false"
          annotations:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
Back to top