Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 506 for defaulted (0.09 sec)

  1. cmd/kubeadm/app/util/config/joinconfiguration.go

    // If cfgPath is specified, defaultversionedcfg will always get overridden. Otherwise, the default config (often populated by flags) will be used.
    // Then the external, versioned configuration is defaulted and converted to the internal type.
    // Right thereafter, the configuration is defaulted again with dynamic values (like IP addresses of a machine, etc)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/prunenulls.go

    	}
    	return nil
    }
    
    // PruneNonNullableNullsWithoutDefaults removes non-nullable
    // non-defaultable null values from object.
    //
    // Non-nullable nulls that have a default are left alone here and will
    // be defaulted later.
    func PruneNonNullableNullsWithoutDefaults(x interface{}, s *structuralschema.Structural) {
    	switch x := x.(type) {
    	case map[string]interface{}:
    		for k, v := range x {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Nov 06 03:49:29 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  3. pkg/apis/certificates/v1beta1/defaults_test.go

    		usages []capi.KeyUsage
    		exp    bool
    	}{
    		"defaults for kubelet-serving": {
    			req:    newCSR(kubeletServerPEMOptions),
    			usages: kubeletServerUsages,
    			exp:    true,
    		},
    		"defaults without key encipherment for kubelet-serving": {
    			req:    newCSR(kubeletServerPEMOptions),
    			usages: kubeletServerUsagesNoRSA,
    			exp:    true,
    		},
    		"does not default to kube-apiserver-client-kubelet if org is not 'system:nodes'": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 16.9K bytes
    - Viewed (0)
  4. pkg/apis/batch/v1/defaults.go

    	return RegisterDefaults(scheme)
    }
    
    func SetDefaults_Job(obj *batchv1.Job) {
    	// For a non-parallel job, you can leave both `.spec.completions` and
    	// `.spec.parallelism` unset.  When both are unset, both are defaulted to 1.
    	if obj.Spec.Completions == nil && obj.Spec.Parallelism == nil {
    		obj.Spec.Completions = utilpointer.Int32(1)
    		obj.Spec.Parallelism = utilpointer.Int32(1)
    	}
    	if obj.Spec.Parallelism == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 20:51:40 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/config/resetconfiguration.go

    // If cfgPath is specified, defaultversionedcfg will always get overridden. Otherwise, the default config (often populated by flags) will be used.
    // Then the external, versioned configuration is defaulted and converted to the internal type.
    // Right thereafter, the configuration is defaulted again with dynamic values
    // Lastly, the internal config is validated and returned.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 05 12:41:16 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/componentconfigs/configset.go

    	}
    }
    
    // Default sets up defaulted component configs in the supplied ClusterConfiguration
    func Default(clusterCfg *kubeadmapi.ClusterConfiguration, localAPIEndpoint *kubeadmapi.APIEndpoint, nodeRegOpts *kubeadmapi.NodeRegistrationOptions) {
    	ensureInitializedComponentConfigs(clusterCfg)
    
    	for _, handler := range known {
    		// If the component config exists, simply default it. Otherwise, create it before defaulting.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 04 15:36:00 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/componentconfigs/configset_test.go

    	clusterCfg := testClusterCfg()
    	localAPIEndpoint := &kubeadmapi.APIEndpoint{}
    	nodeRegOps := &kubeadmapi.NodeRegistrationOptions{}
    
    	Default(clusterCfg, localAPIEndpoint, nodeRegOps)
    
    	if len(clusterCfg.ComponentConfigs) != len(known) {
    		t.Errorf("mismatch between supported and defaulted type numbers:\n\tgot: %d\n\texpected: %d", len(clusterCfg.ComponentConfigs), len(known))
    	}
    }
    
    func TestFromCluster(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 01 14:17:07 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/apis/example2/v1/types.go

    // ReplicaSet ensures that a specified number of pod replicas are running at any given time.
    type ReplicaSet struct {
    	metav1.TypeMeta `json:",inline"`
    
    	// If the Labels of a ReplicaSet are empty, they are defaulted to
    	// be the same as the Pod(s) that the ReplicaSet manages.
    	// Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 29 00:35:16 UTC 2019
    - 2.7K bytes
    - Viewed (0)
  9. cluster/get-kube.sh

    #  architecture to download:
    #    * amd64 [default]
    #    * arm
    #    * arm64
    #    * ppc64le
    #
    #  Set KUBERNETES_NODE_PLATFORM to choose the platform for which to download
    #  the node binaries. If none of KUBERNETES_NODE_PLATFORM and
    #  KUBERNETES_NODE_ARCH is set, no node binaries will be downloaded. If only
    #  one of the two is set, the other will be defaulted to the
    #  KUBERNETES_SERVER_PLATFORM/ARCH.
    #    * linux
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 18 22:47:29 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. pkg/apis/core/v1/defaults_test.go

    					marshaled, _ := json.Marshal(defaultedV.Interface())
    					defaults[visit.path] = string(marshaled)
    				}
    				toVisit = append(toVisit, testPath{path: visit.path, value: visit.value.Elem()})
    			}
    
    		case isPrimitive(visit.value.Kind()):
    			if !reflect.DeepEqual(defaultedV.Interface(), zeroV.Interface()) {
    				marshaled, _ := json.Marshal(defaultedV.Interface())
    				defaults[visit.path] = string(marshaled)
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 84.4K bytes
    - Viewed (0)
Back to top