Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,800 for _default_ (0.25 sec)

  1. pkg/apis/scheduling/v1alpha1/defaults.go

    	runtime "k8s.io/apimachinery/pkg/runtime"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    // SetDefaults_PriorityClass sets additional defaults compared to its counterpart
    // in extensions.
    func SetDefaults_PriorityClass(obj *v1alpha1.PriorityClass) {
    	if obj.PreemptionPolicy == nil {
    		preemptLowerPriority := apiv1.PreemptLowerPriority
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 08 10:11:23 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  2. pkg/apis/autoscaling/v1/defaults.go

    	if obj.Spec.MinReplicas == nil {
    		obj.Spec.MinReplicas = pointer.Int32(1)
    	}
    
    	// NB: we apply a default for CPU utilization in conversion because
    	// we need access to the annotations to properly apply the default.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  3. manifests/charts/base/templates/default.yaml

    {{- if not (eq .Values.defaultRevision "") }}
    apiVersion: admissionregistration.k8s.io/v1
    kind: ValidatingWebhookConfiguration
    metadata:
      name: istiod-default-validator
      labels:
        app: istiod
        release: {{ .Release.Name }}
        istio: istiod
        istio.io/rev: {{ .Values.defaultRevision | quote }}
    webhooks:
      - name: validation.istio.io
        clientConfig:
          {{- if .Values.base.validationURL }}
          url: {{ .Values.base.validationURL }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. manifests/charts/istiod-remote/templates/default.yaml

    {{- if .Values.global.configCluster }}
    {{- if not (eq .Values.defaultRevision "") }}
    apiVersion: admissionregistration.k8s.io/v1
    kind: ValidatingWebhookConfiguration
    metadata:
      name: istiod-default-validator
      labels:
        app: istiod
        release: {{ .Release.Name }}
        istio: istiod
        istio.io/rev: {{ .Values.defaultRevision | quote }}
    webhooks:
      - name: validation.istio.io
        clientConfig:
          {{- if .Values.base.validationURL }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1beta1/defaults.go

    	}
    	if obj.PreserveUnknownFields == nil {
    		obj.PreserveUnknownFields = utilpointer.BoolPtr(true)
    	}
    }
    
    // SetDefaults_ServiceReference sets defaults for Webhook's ServiceReference
    func SetDefaults_ServiceReference(obj *ServiceReference) {
    	if obj.Port == nil {
    		obj.Port = utilpointer.Int32Ptr(443)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:41:26 UTC 2019
    - 2.4K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/defaults.go

    		obj.Names.ListKind = obj.Names.Kind + "List"
    	}
    	if obj.Conversion == nil {
    		obj.Conversion = &CustomResourceConversion{
    			Strategy: NoneConverter,
    		}
    	}
    }
    
    // SetDefaults_ServiceReference sets defaults for Webhook's ServiceReference
    func SetDefaults_ServiceReference(obj *ServiceReference) {
    	if obj.Port == nil {
    		obj.Port = utilpointer.Int32Ptr(443)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 15 16:27:01 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  7. pkg/apis/autoscaling/v2/defaults.go

    func SetDefaults_HorizontalPodAutoscalerBehavior(obj *autoscalingv2.HorizontalPodAutoscaler) {
    	// if behavior is specified, we should fill all the 'nil' values with the default ones
    	if obj.Spec.Behavior != nil {
    		obj.Spec.Behavior.ScaleUp = GenerateHPAScaleUpRules(obj.Spec.Behavior.ScaleUp)
    		obj.Spec.Behavior.ScaleDown = GenerateHPAScaleDownRules(obj.Spec.Behavior.ScaleDown)
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 15 06:03:59 UTC 2022
    - 4.6K bytes
    - Viewed (0)
  8. pkg/apis/networking/v1/defaults.go

    	utilpointer "k8s.io/utils/pointer"
    )
    
    func addDefaultingFuncs(scheme *runtime.Scheme) error {
    	return RegisterDefaults(scheme)
    }
    
    func SetDefaults_NetworkPolicyPort(obj *networkingv1.NetworkPolicyPort) {
    	// Default any undefined Protocol fields to TCP.
    	if obj.Protocol == nil {
    		proto := v1.ProtocolTCP
    		obj.Protocol = &proto
    	}
    }
    
    func SetDefaults_NetworkPolicy(obj *networkingv1.NetworkPolicy) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 05 10:48:05 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. pkg/auth/nodeidentifier/default.go

    limitations under the License.
    */
    
    package nodeidentifier
    
    import (
    	"strings"
    
    	"k8s.io/apiserver/pkg/authentication/user"
    )
    
    // NewDefaultNodeIdentifier returns a default NodeIdentifier implementation,
    // which returns isNode=true if the user groups contain the system:nodes group
    // and the user name matches the format system:node:<nodeName>, and populates
    // nodeName if isNode is true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 15 09:32:31 UTC 2017
    - 1.9K bytes
    - Viewed (0)
  10. cluster/addons/storage-class/azure/default.yaml

    apiVersion: storage.k8s.io/v1
    kind: StorageClass
    metadata:
      name: standard
      annotations:
        storageclass.kubernetes.io/is-default-class: "true"
      labels:
        addonmanager.kubernetes.io/mode: EnsureExists
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 24 04:11:47 UTC 2019
    - 245 bytes
    - Viewed (0)
Back to top