Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for scaleTo (0.38 sec)

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

    	for _, successCase := range successCases {
    		if errs := ValidateScale(&successCase); len(errs) != 0 {
    			t.Errorf("expected success: %v", errs)
    		}
    	}
    
    	errorCases := []struct {
    		scale autoscaling.Scale
    		msg   string
    	}{{
    		scale: autoscaling.Scale{
    			ObjectMeta: metav1.ObjectMeta{
    				Name:      "frontend",
    				Namespace: metav1.NamespaceDefault,
    			},
    			Spec: autoscaling.ScaleSpec{
    				Replicas: -1,
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 56.7K bytes
    - Viewed (0)
  2. staging/src/k8s.io/api/apps/v1/types.go

    )
    
    // +genclient
    // +genclient:method=GetScale,verb=get,subresource=scale,result=k8s.io/api/autoscaling/v1.Scale
    // +genclient:method=UpdateScale,verb=update,subresource=scale,input=k8s.io/api/autoscaling/v1.Scale,result=k8s.io/api/autoscaling/v1.Scale
    // +genclient:method=ApplyScale,verb=apply,subresource=scale,input=k8s.io/api/autoscaling/v1.Scale,result=k8s.io/api/autoscaling/v1.Scale
    // +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 49.1K bytes
    - Viewed (0)
  3. pkg/controller/podautoscaler/horizontal.go

    	var firstErr error
    	for i, mapping := range mappings {
    		targetGR := mapping.Resource.GroupResource()
    		scale, err := a.scaleNamespacer.Scales(namespace).Get(ctx, targetGR, name, metav1.GetOptions{})
    		if err == nil {
    			return scale, targetGR, nil
    		}
    
    		// if this is the first error, remember it,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/testdata/HEAD/apps.v1.Deployment.json

                },
                "portworxVolume": {
                  "volumeID": "volumeIDValue",
                  "fsType": "fsTypeValue",
                  "readOnly": true
                },
                "scaleIO": {
                  "gateway": "gatewayValue",
                  "system": "systemValue",
                  "secretRef": {
                    "name": "nameValue"
                  },
                  "sslEnabled": true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/testdata/HEAD/apps.v1beta1.Deployment.json

                },
                "portworxVolume": {
                  "volumeID": "volumeIDValue",
                  "fsType": "fsTypeValue",
                  "readOnly": true
                },
                "scaleIO": {
                  "gateway": "gatewayValue",
                  "system": "systemValue",
                  "secretRef": {
                    "name": "nameValue"
                  },
                  "sslEnabled": true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.Deployment.json

                },
                "portworxVolume": {
                  "volumeID": "volumeIDValue",
                  "fsType": "fsTypeValue",
                  "readOnly": true
                },
                "scaleIO": {
                  "gateway": "gatewayValue",
                  "system": "systemValue",
                  "secretRef": {
                    "name": "nameValue"
                  },
                  "sslEnabled": true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/testdata/v1.30.0/core.v1.PodTemplate.json

                "defaultMode": 2
              },
              "portworxVolume": {
                "volumeID": "volumeIDValue",
                "fsType": "fsTypeValue",
                "readOnly": true
              },
              "scaleIO": {
                "gateway": "gatewayValue",
                "system": "systemValue",
                "secretRef": {
                  "name": "nameValue"
                },
                "sslEnabled": true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:52:25 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/defaults_test.go

    		".Spec.Volumes[0].VolumeSource.RBD.RadosUser":                                                 `"admin"`,
    		".Spec.Volumes[0].VolumeSource.ScaleIO.FSType":                                                `"xfs"`,
    		".Spec.Volumes[0].VolumeSource.ScaleIO.StorageMode":                                           `"ThinProvisioned"`,
    		".Spec.Volumes[0].VolumeSource.Secret.DefaultMode":                                            `420`,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
  9. staging/src/k8s.io/api/testdata/HEAD/apps.v1beta2.DaemonSet.json

                },
                "portworxVolume": {
                  "volumeID": "volumeIDValue",
                  "fsType": "fsTypeValue",
                  "readOnly": true
                },
                "scaleIO": {
                  "gateway": "gatewayValue",
                  "system": "systemValue",
                  "secretRef": {
                    "name": "nameValue"
                  },
                  "sslEnabled": true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/testdata/HEAD/extensions.v1beta1.ReplicaSet.json

                },
                "portworxVolume": {
                  "volumeID": "volumeIDValue",
                  "fsType": "fsTypeValue",
                  "readOnly": true
                },
                "scaleIO": {
                  "gateway": "gatewayValue",
                  "system": "systemValue",
                  "secretRef": {
                    "name": "nameValue"
                  },
                  "sslEnabled": true,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 54.1K bytes
    - Viewed (0)
Back to top