Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 325 for MaxUnavailable (0.18 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedeployment.go

    // RollingUpdateDeploymentApplyConfiguration represents an declarative configuration of the RollingUpdateDeployment type for use
    // with apply.
    type RollingUpdateDeploymentApplyConfiguration struct {
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    	MaxSurge       *intstr.IntOrString `json:"maxSurge,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatedaemonset.go

    )
    
    // RollingUpdateDaemonSetApplyConfiguration represents an declarative configuration of the RollingUpdateDaemonSet type for use
    // with apply.
    type RollingUpdateDaemonSetApplyConfiguration struct {
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    	MaxSurge       *intstr.IntOrString `json:"maxSurge,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatestatefulsetstrategy.go

    // with apply.
    type RollingUpdateStatefulSetStrategyApplyConfiguration struct {
    	Partition      *int32              `json:"partition,omitempty"`
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    }
    
    // RollingUpdateStatefulSetStrategyApplyConfiguration constructs an declarative configuration of the RollingUpdateStatefulSetStrategy type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 18:01:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. pkg/apis/policy/validation/validation.go

    	}
    
    	if spec.MaxUnavailable != nil {
    		allErrs = append(allErrs, appsvalidation.ValidatePositiveIntOrPercent(*spec.MaxUnavailable, fldPath.Child("maxUnavailable"))...)
    		allErrs = append(allErrs, appsvalidation.IsNotMoreThan100Percent(*spec.MaxUnavailable, fldPath.Child("maxUnavailable"))...)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 07 20:44:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. pkg/controller/deployment/util/deployment_util_test.go

    		},
    	}
    
    	for _, test := range tests {
    		t.Log(test.name)
    		t.Run(test.name, func(t *testing.T) {
    			maxUnavailable := MaxUnavailable(test.deployment)
    			if test.expected != maxUnavailable {
    				t.Fatalf("expected:%v, got:%v", test.expected, maxUnavailable)
    			}
    		})
    	}
    }
    
    // Set of simple tests for annotation related util functions
    func TestAnnotationUtils(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 37.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/client-go/applyconfigurations/apps/v1/rollingupdatestatefulsetstrategy.go

    // with apply.
    type RollingUpdateStatefulSetStrategyApplyConfiguration struct {
    	Partition      *int32              `json:"partition,omitempty"`
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    }
    
    // RollingUpdateStatefulSetStrategyApplyConfiguration constructs an declarative configuration of the RollingUpdateStatefulSetStrategy type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 18:01:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta1/rollingupdatedeployment.go

    // RollingUpdateDeploymentApplyConfiguration represents an declarative configuration of the RollingUpdateDeployment type for use
    // with apply.
    type RollingUpdateDeploymentApplyConfiguration struct {
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    	MaxSurge       *intstr.IntOrString `json:"maxSurge,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatedaemonset.go

    )
    
    // RollingUpdateDaemonSetApplyConfiguration represents an declarative configuration of the RollingUpdateDaemonSet type for use
    // with apply.
    type RollingUpdateDaemonSetApplyConfiguration struct {
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    	MaxSurge       *intstr.IntOrString `json:"maxSurge,omitempty"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 04 18:31:34 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  9. staging/src/k8s.io/client-go/applyconfigurations/apps/v1beta2/rollingupdatestatefulsetstrategy.go

    // with apply.
    type RollingUpdateStatefulSetStrategyApplyConfiguration struct {
    	Partition      *int32              `json:"partition,omitempty"`
    	MaxUnavailable *intstr.IntOrString `json:"maxUnavailable,omitempty"`
    }
    
    // RollingUpdateStatefulSetStrategyApplyConfiguration constructs an declarative configuration of the RollingUpdateStatefulSetStrategy type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 28 18:01:05 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  10. pkg/apis/apps/v1/conversion_test.go

    		}
    	}
    
    }
    
    func TestV1DeploymentStrategyConversion(t *testing.T) {
    	maxUnavailable := intstr.FromInt32(2)
    	maxSurge := intstr.FromInt32(2)
    	appsRollingUpdate := apps.RollingUpdateDeployment{MaxUnavailable: maxUnavailable, MaxSurge: maxSurge}
    	appsv1RollingUpdate := appsv1.RollingUpdateDeployment{MaxUnavailable: &maxUnavailable, MaxSurge: &maxSurge}
    	testcases := map[string]struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 07:16:15 UTC 2023
    - 20.1K bytes
    - Viewed (0)
Back to top