Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for MaxUnavailable (0.28 sec)

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

    			ds: &apps.RollingUpdateDaemonSet{
    				MaxUnavailable: intstr.FromString("0%"),
    			},
    			expectError: true,
    		},
    		"invalid: zero": {
    			ds: &apps.RollingUpdateDaemonSet{
    				MaxUnavailable: intstr.FromInt32(0),
    			},
    			expectError: true,
    		},
    		"valid: one": {
    			ds: &apps.RollingUpdateDaemonSet{
    				MaxUnavailable: intstr.FromInt32(1),
    			},
    		},
    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.MaxUnavailable == nil {
    				m.MaxUnavailable = &intstr.IntOrString{}
    			}
    			if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 2:
    			if wireType != 2 {
    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.MaxUnavailable == nil {
    				m.MaxUnavailable = &intstr.IntOrString{}
    			}
    			if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 2:
    			if wireType != 2 {
    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.MaxUnavailable == nil {
    				m.MaxUnavailable = &intstr.IntOrString{}
    			}
    			if err := m.MaxUnavailable.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
    				return err
    			}
    			iNdEx = postIndex
    		case 2:
    			if wireType != 2 {
    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. pkg/controller/statefulset/stateful_set_control_test.go

    	var partition int32 = 3
    	var maxUnavailable = intstr.FromInt32(2)
    	set.Spec.UpdateStrategy = apps.StatefulSetUpdateStrategy{
    		Type: apps.RollingUpdateStatefulSetStrategyType,
    		RollingUpdate: func() *apps.RollingUpdateStatefulSetStrategy {
    			return &apps.RollingUpdateStatefulSetStrategy{
    				Partition:      &partition,
    				MaxUnavailable: &maxUnavailable,
    			}
    		}(),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 07 19:01:47 UTC 2024
    - 108.7K bytes
    - Viewed (0)
  6. pkg/printers/internalversion/printers.go

    	}
    
    	var minAvailable string
    	var maxUnavailable string
    	if obj.Spec.MinAvailable != nil {
    		minAvailable = obj.Spec.MinAvailable.String()
    	} else {
    		minAvailable = "N/A"
    	}
    
    	if obj.Spec.MaxUnavailable != nil {
    		maxUnavailable = obj.Spec.MaxUnavailable.String()
    	} else {
    		maxUnavailable = "N/A"
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 128.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/testdata/swagger.json

              "description": "The maximum number of pods that can be scheduled above the desired number of pods. Value can be an absolute number (ex: 5) or a percentage of desired pods (ex: 10%). This can not be 0 if MaxUnavailable is 0. Absolute number is calculated from percentage by rounding up. Defaults to 25%. Example: when this is set to 30%, the new ReplicaSet can be scaled up immediately when the rolling update starts, such that the total number of old and new pods...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 20 15:45:02 UTC 2024
    - 229.4K bytes
    - Viewed (0)
  8. pkg/printers/internalversion/printers_test.go

    					Namespace:         "ns2",
    					Name:              "pdb2",
    					CreationTimestamp: metav1.Time{Time: time.Now().Add(1.9e9)},
    				},
    				Spec: policy.PodDisruptionBudgetSpec{
    					MaxUnavailable: &maxUnavailable,
    				},
    				Status: policy.PodDisruptionBudgetStatus{
    					DisruptionsAllowed: 5,
    				},
    			},
    			// Columns: Name, Min Available, Max Available, Allowed Disruptions, Age
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  9. api/openapi-spec/v3/apis__policy__v1_openapi.json

            "properties": {
              "maxUnavailable": {
                "allOf": [
                  {
                    "$ref": "#/components/schemas/io.k8s.apimachinery.pkg.util.intstr.IntOrString"
                  }
                ],
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  10. operator/cmd/mesh/testdata/manifest-generate/output/pilot_default.golden.yaml

        release: istio
      name: istiod
      namespace: istio-system
    spec:
      selector:
        matchLabels:
          istio: pilot
      strategy:
        rollingUpdate:
          maxSurge: 100%
          maxUnavailable: 25%
      template:
        metadata:
          annotations:
            ambient.istio.io/redirection: disabled
            prometheus.io/port: "15014"
            prometheus.io/scrape: "true"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jan 10 05:10:03 UTC 2024
    - 102.6K bytes
    - Viewed (0)
Back to top