Production-Grade Container Scheduling and Management
Go to file
obitech bba15d358c Add strict deserialization for kubelet component config
CodecFactory is started with EnableStrict that throws an error when deserializing
a Kubelet component config that is malformed (e.g. unknown or duplicate keys).

When strict decoding a v1beta1 config fails, non-strict decoding is used and a warning is emitted.
For this, NewSchemeAndCodecs is now a variadic function that can take multiple
arguments for augmenting the returned codec factory. Strict decoding is
then explicitely enabled when decoding a kubelet config.
Additionally, decoding a RemoteConfigSource needs to be non-strict
to avoid an accidental error when it contains newer API fields that are not
yet known to the Kubelet.

DecodeKubeletConfiguration returns a wrapped error instead of a simple string
so its type can be tested.

Add unit tests for unhappy paths when loading a component config

Add keys for test cases struct fields, remove nil field initialization

Co-Authored-By: Jordan Liggitt <jordan@liggitt.net>
2019-10-24 19:37:35 +02:00
.github Merge pull request #83049 from obitech/update_pr_template_release_note_info 2019-10-01 18:41:09 -07:00
api Merge pull request #83195 from wojtek-t/watch_bookmarks_ga 2019-10-17 11:30:38 -07:00
build Fix base image discrepancy when building kubemark. 2019-10-24 10:50:10 +02:00
cluster Merge pull request #84231 from mm4tt/kubemark_busybox 2019-10-24 04:51:08 -07:00
cmd Merge pull request #82365 from jkaniuk/pod-gc 2019-10-24 03:13:06 -07:00
docs
Godeps Update munnerz/goautoneg dependency 2019-10-10 12:53:34 +02:00
hack Merge pull request #81708 from RainbowMango/pr_fix_static_failure_for_code-generator 2019-10-23 23:25:07 -07:00
logo
pkg Add strict deserialization for kubelet component config 2019-10-24 19:37:35 +02:00
plugin Merge pull request #82365 from jkaniuk/pod-gc 2019-10-24 03:13:06 -07:00
staging Merge pull request #82365 from jkaniuk/pod-gc 2019-10-24 03:13:06 -07:00
test Merge pull request #84255 from oomichi/move-CreatePodOrFail 2019-10-24 02:01:08 -07:00
third_party add myself to typecheck / go-srcimporter owners, move rmmh to emeritus 2019-10-16 15:17:22 -07:00
translations
vendor Merge pull request #83811 from immutableT/single-kms-mock 2019-10-17 18:17:57 -07:00
.bazelrc
.bazelversion
.generated_files
.gitattributes
.gitignore
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
CHANGELOG-1.3.md
CHANGELOG-1.4.md
CHANGELOG-1.5.md
CHANGELOG-1.6.md
CHANGELOG-1.7.md
CHANGELOG-1.8.md
CHANGELOG-1.9.md
CHANGELOG-1.10.md
CHANGELOG-1.11.md
CHANGELOG-1.12.md
CHANGELOG-1.13.md Update CHANGELOG-1.13.md for v1.13.12. 2019-10-15 17:44:00 +00:00
CHANGELOG-1.14.md Update release notes for 1.14.8 to reflect AWS bugfix 2019-10-16 14:42:58 -07:00
CHANGELOG-1.15.md Update CHANGELOG-1.15.md for v1.15.5. 2019-10-15 20:03:47 +00:00
CHANGELOG-1.16.md Amend CHANGELOG-1.16.md for v1.16.2 2019-10-15 16:40:36 -07:00
CHANGELOG-1.17.md Update CHANGELOG-1.17.md for v1.17.0-alpha.3. 2019-10-22 18:19:02 +00:00
CHANGELOG.md Add CHANGELOG-1.17.md to CHANGELOG.md 2019-10-12 22:23:15 +08:00
code-of-conduct.md
CONTRIBUTING.md
go.mod Bump bbolt to v1.3.3 2019-10-15 13:38:16 -07:00
go.sum Bump bbolt to v1.3.3 2019-10-15 13:38:16 -07:00
LICENSE
Makefile
Makefile.generated_files
OWNERS Move jbeda to emeritus status. 2019-10-11 17:46:18 -04:00
OWNERS_ALIASES Merge pull request #83866 from mrbobbytables/update-owners-aliases 2019-10-23 12:50:55 -07:00
README.md Merge pull request #82157 from lmaffeo/master 2019-09-25 11:04:28 -07:00
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 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