Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 4,469 for Defaults (0.15 sec)

  1. pkg/scheduler/apis/config/v1/defaults.go

    			continue
    		}
    		scheme.Default(args)
    		args.GetObjectKind().SetGroupVersionKind(gvk)
    		prof.PluginConfig = append(prof.PluginConfig, configv1.PluginConfig{
    			Name: name,
    			Args: runtime.RawExtension{Object: args},
    		})
    	}
    }
    
    // SetDefaults_KubeSchedulerConfiguration sets additional defaults
    func SetDefaults_KubeSchedulerConfiguration(obj *configv1.KubeSchedulerConfiguration) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. pkg/apis/apps/v1/defaults.go

    		}
    		if strategy.RollingUpdate.MaxUnavailable == nil {
    			// Set default MaxUnavailable as 25% by default.
    			maxUnavailable := intstr.FromString("25%")
    			strategy.RollingUpdate.MaxUnavailable = &maxUnavailable
    		}
    		if strategy.RollingUpdate.MaxSurge == nil {
    			// Set default MaxSurge as 25% by default.
    			maxSurge := intstr.FromString("25%")
    			strategy.RollingUpdate.MaxSurge = &maxSurge
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  3. pkg/apis/apps/v1beta2/defaults.go

    			updateStrategy.RollingUpdate = &rollingUpdate
    		}
    		if updateStrategy.RollingUpdate.MaxUnavailable == nil {
    			// Set default MaxUnavailable as 1 by default.
    			updateStrategy.RollingUpdate.MaxUnavailable = ptr.To(intstr.FromInt32(1))
    		}
    		if updateStrategy.RollingUpdate.MaxSurge == nil {
    			// Set default MaxSurge as 0 by default.
    			updateStrategy.RollingUpdate.MaxSurge = ptr.To(intstr.FromInt32(0))
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 08 09:10:50 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  4. pkg/scheduler/apis/config/testing/defaults/defaults.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package defaults
    
    import (
    	"k8s.io/kubernetes/pkg/scheduler/apis/config"
    	"k8s.io/kubernetes/pkg/scheduler/framework/plugins/names"
    )
    
    // PluginsV1 is the set of default v1 plugins (before MultiPoint expansion)
    var PluginsV1 = &config.Plugins{
    	MultiPoint: config.PluginSet{
    		Enabled: []config.Plugin{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. pkg/apis/core/v1/defaults.go

    				obj.Default[key] = value.DeepCopy()
    			}
    		}
    		// If a default limit is specified, but the default request is not, default request to limit
    		for key, value := range obj.Default {
    			if _, exists := obj.DefaultRequest[key]; !exists {
    				obj.DefaultRequest[key] = value.DeepCopy()
    			}
    		}
    		// If a default request is not specified, but the min is provided, default request to the min
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:24:15 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  6. pkg/apis/flowcontrol/v1beta3/defaults.go

    limitations under the License.
    */
    
    package v1beta3
    
    import (
    	"k8s.io/api/flowcontrol/v1beta3"
    	"k8s.io/utils/ptr"
    )
    
    // Default settings for flow-schema
    const (
    	FlowSchemaDefaultMatchingPrecedence int32 = 1000
    )
    
    // Default settings for priority-level-configuration
    const (
    	PriorityLevelConfigurationDefaultHandSize                 int32 = 8
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. pkg/apis/flowcontrol/v1/defaults.go

    limitations under the License.
    */
    
    package v1
    
    import (
    	v1 "k8s.io/api/flowcontrol/v1"
    	"k8s.io/utils/ptr"
    )
    
    // Default settings for flow-schema
    const (
    	FlowSchemaDefaultMatchingPrecedence int32 = 1000
    )
    
    // Default settings for priority-level-configuration
    const (
    	PriorityLevelConfigurationDefaultHandSize                 int32 = 8
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  8. pkg/kubelet/apis/config/v1beta1/defaults.go

    	}
    	if obj.ImageMinimumGCAge == zeroDuration {
    		obj.ImageMinimumGCAge = metav1.Duration{Duration: 2 * time.Minute}
    	}
    	if obj.ImageGCHighThresholdPercent == nil {
    		// default is below docker's default dm.min_free_space of 90%
    		obj.ImageGCHighThresholdPercent = utilpointer.Int32(85)
    	}
    	if obj.ImageGCLowThresholdPercent == nil {
    		obj.ImageGCLowThresholdPercent = utilpointer.Int32(80)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  9. pkg/proxy/apis/config/v1alpha1/defaults.go

    		obj.ClientConnection.Burst = 10
    	}
    	if obj.FeatureGates == nil {
    		obj.FeatureGates = make(map[string]bool)
    	}
    	// Use the Default LoggingConfiguration option
    	logsapi.SetRecommendedLoggingConfiguration(&obj.Logging)
    }
    
    // getDefaultAddresses returns default address of healthz and metrics server
    // based on the given bind address. IPv6 addresses are enclosed in square
    // brackets for appending port.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:33:53 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  10. pkg/apis/batch/v1/defaults.go

    Dejan Zele Pejchev <******@****.***> 1697057500 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 20:51:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
Back to top