Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for Implementation (0.17 sec)

  1. cmd/kube-scheduler/app/server.go

    resources. The scheduler then ranks each valid Node and binds the Pod to a
    suitable Node. Multiple different schedulers may be used within a cluster;
    kube-scheduler is the reference implementation.
    See [scheduling](https://kubernetes.io/docs/concepts/scheduling-eviction/)
    for more information about scheduling and the kube-scheduler component.`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 19:11:24 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. pkg/controller/statefulset/stateful_set_control.go

    // as an interface to allow for extensions that provide different semantics. Currently, there is only one implementation.
    type StatefulSetControlInterface interface {
    	// UpdateStatefulSet implements the control logic for Pod creation, update, and deletion, and
    	// persistent volume creation, update, and deletion.
    	// If an implementation returns a non-nil error, the invocation will be retried using a rate-limited strategy.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 08:03:46 UTC 2024
    - 30.9K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/apiclient/wait.go

    	WaitForKubelet(healthzAddress string, healthzPort int32) error
    	// SetTimeout adjusts the timeout to the specified duration
    	SetTimeout(timeout time.Duration)
    }
    
    // KubeWaiter is an implementation of Waiter that is backed by a Kubernetes client
    type KubeWaiter struct {
    	client  clientset.Interface
    	timeout time.Duration
    	writer  io.Writer
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. pkg/kubelet/volume_host.go

    	"k8s.io/kubernetes/pkg/volume/util/hostutil"
    	"k8s.io/kubernetes/pkg/volume/util/subpath"
    )
    
    // NewInitializedVolumePluginMgr returns a new instance of
    // volume.VolumePluginMgr initialized with kubelets implementation of the
    // volume.VolumeHost interface.
    //
    // kubelet - used by VolumeHost methods to expose kubelet specific parameters
    // plugins - used to initialize volumePluginMgr
    func NewInitializedVolumePluginMgr(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 11:00:37 UTC 2024
    - 10K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/upgrade/common.go

    		// return the fake clientset used for dry-running
    		return fakeclient, nil
    	}
    	return kubeconfigutil.ClientSetFromFile(file)
    }
    
    // getWaiter gets the right waiter implementation
    func getWaiter(dryRun bool, client clientset.Interface, timeout time.Duration) apiclient.Waiter {
    	if dryRun {
    		return dryrunutil.NewWaiter()
    	}
    	return apiclient.NewKubeWaiter(client, timeout, os.Stdout)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. pkg/apis/core/v1/defaults.go

    // SetDefaults_Namespace adds a default label for all namespaces
    func SetDefaults_Namespace(obj *v1.Namespace) {
    	// we can't SetDefaults for nameless namespaces (generateName).
    	// This code needs to be kept in sync with the implementation that exists
    	// in Namespace Canonicalize strategy (pkg/registry/core/namespace)
    
    	// note that this can result in many calls to feature enablement in some cases, but
    	// we assume that there's no real cost there.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 22:24:15 UTC 2024
    - 14.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/cel/library/cost.go

    				// Dont have access to underlying regex, estimate a long regexp
    				regexSize := format.MaxRegexSize
    
    				// Copied from CEL implementation for regex cost
    				//
    				// https://swtch.com/~rsc/regexp/regexp1.html applies to RE2 implementation supported by CEL
    				// Add one to string length for purposes of cost calculation to prevent product of string and regex to be 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 17:22:44 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    	}
    	return opts
    }
    
    type typeCheckingCompiler struct {
    	compositionEnv *plugincel.CompositionEnv
    	typeOverwrite  typeOverwrite
    }
    
    // CompileCELExpression compiles the given expression.
    // The implementation is the same as that of staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/compile.go
    // except that:
    // - object, oldObject, and params are typed instead of Dyn
    // - compiler does not enforce the output type
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    	ctx, store, _ := testSetup(t)
    	storagetesting.RunTestCount(ctx, t, store)
    }
    
    // =======================================================================
    // Implementation-specific tests are following.
    // The following tests are exercising the details of the implementation
    // not the actual user-facing contract of storage interface.
    // As such, they may focus e.g. on non-functional aspects like performance
    // impact.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  10. pkg/scheduler/util/assumecache/assume_cache.go

    		return -1, err
    	}
    
    	objResourceVersion, err := strconv.ParseInt(objAccessor.GetResourceVersion(), 10, 64)
    	if err != nil {
    		//nolint:errorlint // Intentionally not wrapping the error, the underlying error is an implementation detail.
    		return -1, fmt.Errorf("error parsing ResourceVersion %q for %v %q: %v", objAccessor.GetResourceVersion(), c.description, name, err)
    	}
    	return objResourceVersion, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 09:46:58 UTC 2024
    - 10.6K bytes
    - Viewed (0)
Back to top