Production-Grade Container Scheduling and Management
Go to file
Kevin Klues a3f099ea4d Split devicemanager Allocate into two functions
Instead of having a single call for Allocate(), we now split this into two
functions Allocate() and UpdatePluginResources().

The semantics split across them:

// Allocate configures and assigns devices to a pod. From the requested
// device resources, Allocate will communicate with the owning device
// plugin to allow setup procedures to take place, and for the device
// plugin to provide runtime settings to use the device (environment
// variables, mount points and device files).
Allocate(pod *v1.Pod) error

// UpdatePluginResources updates node resources based on devices already
// allocated to pods. The node object is provided for the device manager to
// update the node capacity to reflect the currently available devices.
UpdatePluginResources(
    node *schedulernodeinfo.NodeInfo,
    attrs *lifecycle.PodAdmitAttributes) error

As we move to a model in which the TopologyManager is able to ensure
aligned allocations from the CPUManager, devicemanger, and any
other TopologManager HintProviders in the same synchronous loop, we will
need to be able to call Allocate() independently from an
UpdatePluginResources(). This commit makes that possible.
2020-02-10 03:27:47 +00:00
.github
api Drop k8s.io/node-api packages 2020-02-07 10:07:14 -05:00
build Merge pull request #87929 from dims/ensure-bazel-is-really-down 2020-02-08 03:00:07 -08:00
CHANGELOG CHANGELOG: Collapse README.md headings in single list 2020-02-06 03:54:10 -05:00
cluster Ability to override versions of containerd/runc 2020-02-08 20:20:15 -05:00
cmd Merge pull request #87952 from mikedanese/opts 2020-02-08 20:43:53 -08:00
docs
Godeps
hack Merge pull request #80651 from odinuge/kubectl-proxy-handle-error 2020-02-09 11:23:52 -08:00
logo
pkg Split devicemanager Allocate into two functions 2020-02-10 03:27:47 +00:00
plugin generated: run refactor 2020-02-08 12:30:21 -05:00
staging Merge pull request #87959 from andyzhangx/non-retriable 2020-02-09 11:24:05 -08:00
test Merge pull request #85029 from serathius/remove-prometheus-test-e2e 2020-02-09 01:27:52 -08:00
third_party
translations
vendor Bump to latest SMD to pick up performance optimizations 2020-02-07 16:11:06 -08:00
.bazelrc
.bazelversion
.generated_files
.gitattributes
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG.md CHANGELOG: Move changelog, soft-link to top-level, refresh listing 2020-02-06 01:04:44 -05:00
code-of-conduct.md
CONTRIBUTING.md
go.mod Bump to latest SMD to pick up performance optimizations 2020-02-07 16:11:06 -08:00
go.sum Bump to latest SMD to pick up performance optimizations 2020-02-07 16:11:06 -08:00
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md
SECURITY_CONTACTS
SUPPORT.md
WORKSPACE

Kubernetes

GoDoc Widget CII Best Practices


Kubernetes is an open source system for managing containerized applications across multiple hosts. It provides basic mechanisms for deployment, maintenance, and scaling of applications.

Kubernetes builds upon a decade and a half of experience at Google running production workloads at scale using a system called Borg, combined with best-of-breed ideas and practices from the community.

Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF). If your company wants to help shape the evolution of technologies that are container-packaged, dynamically scheduled, and microservices-oriented, consider joining the CNCF. For details about who's involved and how Kubernetes plays a role, read the CNCF announcement.


To start using Kubernetes

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To use Kubernetes code as a library in other applications, see the list of published components. Use of the k8s.io/kubernetes module or k8s.io/kubernetes/... packages as libraries is not supported.

To start developing Kubernetes

The community repository hosts all information about building Kubernetes from source, how to contribute code and documentation, who to contact about what, etc.

If you want to build Kubernetes right away there are two options:

You have a working Go environment.
mkdir -p $GOPATH/src/k8s.io
cd $GOPATH/src/k8s.io
git clone https://github.com/kubernetes/kubernetes
cd kubernetes
make
You have a working Docker environment.
git clone https://github.com/kubernetes/kubernetes
cd kubernetes
make quick-release

For the full story, head over to the developer's documentation.

Support

If you need support, start with the troubleshooting guide, and work your way through the process that we've outlined.

That said, if you have questions, reach out to us one way or another.

Analytics