Production-Grade Container Scheduling and Management
Go to file
Patrick Ohly 212af1ac29 e2e: abstract access to additional files
The new test/e2e/framework/testfiles package makes it possible to
write tests that do not depend on a specific way of providing
additional test files at runtime. Such tests and the framework are
then more easily reused in other test suites.

In the test/e2e suite file access is enabled based on the existing
"repo-root" command line parameter and the built-in bindata. Tests
using the new API will first check for files under "repo-root" and
then fall back to the builtin data. This way, users of a test binary
can modify those files without having to rebuild the binary.

"repo-root" is still needed because at least some tests check for
additional files (secret.yaml, via ingress_utils.go) that are not part
of the upstream source code and thus may or may not be built into a
test binary.

Tests using bindata or repo-root directly get modified to use the new
API, or removed when they are obsolete: test/e2e/examples.go depended
on files that were removed in
https://github.com/kubernetes/kubernetes/pull/61246 and thus can no
longer be run in Kubernetes. Moving the tests to kubernetes/examples
is tracked in https://github.com/kubernetes/examples/issues/214.

The file removal did not break the automated E2E testing probably
because the tests are under the Feature:Example tag and thus not
enabled during normal CI runs.

Removing also the obsolete tests makes it simpler to rework the
"repo-root" setting because less code uses it.

Related-to: #66649 and #23987
2018-10-02 08:31:03 +02:00
.github housekeeping: improved language used in ISSUE_TEMPLATE.md 2018-06-05 20:14:27 +10:00
api Merge pull request #69012 from CecileRobertMichon/fix-docs 2018-09-29 16:32:03 -07:00
build add nsswitch to busybox control plane images 2018-09-28 17:04:48 -07:00
cluster Merge pull request #69051 from cadmuxe/change_netd_node_selector 2018-10-01 18:04:14 -07:00
cmd Merge pull request #69290 from neolit123/reviewer 2018-10-01 22:20:58 -07:00
docs Move diff command to root rather than alpha 2018-09-27 13:11:43 -07:00
Godeps Merge pull request #68874 from Lion-Wei/ipvs-graceful-termination-vendor 2018-09-26 20:37:29 -07:00
hack Merge pull request #69175 from apelisse/approvers-hack 2018-09-28 05:31:55 -07:00
logo Create LICENSE 2018-08-07 10:38:29 +05:30
pkg Merge pull request #69260 from SataQiu/fix-20180929 2018-10-01 22:20:49 -07:00
plugin Merge pull request #69062 from dghubble/add-configmap-get 2018-09-27 07:18:50 -07:00
staging Merge pull request #69125 from caesarxuchao/fix-dynamic-empty-scheme 2018-10-01 20:02:15 -07:00
test e2e: abstract access to additional files 2018-10-02 08:31:03 +02:00
third_party fix some style error using gofmt 2018-06-28 15:02:30 +08:00
translations translations: point license header to Kubernetes 2018-07-16 14:34:44 +05:30
vendor Merge pull request #68874 from Lion-Wei/ipvs-graceful-termination-vendor 2018-09-26 20:37:29 -07:00
.bazelrc move build related files out of the root directory 2017-05-15 15:53:54 -07:00
.generated_files Move .generated_docs to docs/ so docs OWNERS can review / approve 2017-02-16 10:11:57 -08:00
.gitattributes Hide generated files only on github 2018-01-22 10:58:48 +01:00
.gitignore Address shell-related comments. 2018-08-31 17:07:25 -07:00
.kazelcfg.json Switch from gazel to kazel, and move kazelcfg into build/root 2017-07-18 12:48:51 -07:00
BUILD.bazel move build related files out of the root directory 2017-05-15 15:53:54 -07:00
CHANGELOG-1.2.md Update TOC of CHANGELOG 2017-09-09 13:38:29 +08:00
CHANGELOG-1.3.md from #61246 note removed examples and regression for master 2018-08-14 14:54:05 -05:00
CHANGELOG-1.4.md from #61246 note removed examples and regression for master 2018-08-14 14:54:05 -05:00
CHANGELOG-1.5.md from #61246 note removed examples and regression for master 2018-08-14 14:54:05 -05:00
CHANGELOG-1.6.md from #61246 note removed examples and regression for master 2018-08-14 14:54:05 -05:00
CHANGELOG-1.7.md fix typo 2018-09-28 23:41:24 +08:00
CHANGELOG-1.8.md fix typo 2018-09-28 23:41:24 +08:00
CHANGELOG-1.9.md Update CHANGELOG-1.9.md for v1.9.11. 2018-10-01 18:56:09 +00:00
CHANGELOG-1.10.md Merge pull request #67401 from lathama/lathama-examples 2018-09-27 12:21:16 -07:00
CHANGELOG-1.11.md Merge pull request #67401 from lathama/lathama-examples 2018-09-27 12:21:16 -07:00
CHANGELOG-1.12.md CHANGELOG-1.12: fix outdated information 2018-09-28 21:27:44 +03:00
CHANGELOG.md Insert human curated 1.11 release notes and set current version 2018-06-27 19:19:19 -04:00
code-of-conduct.md Update code-of-conduct.md 2017-12-20 13:33:36 -05:00
CONTRIBUTING.md Pointed to community/contributors/guide/README.md 2017-12-15 22:08:34 +05:30
LICENSE LICENSE: revert modifications to Apache license 2016-11-22 11:44:46 -08:00
Makefile move build related files out of the root directory 2017-05-15 15:53:54 -07:00
Makefile.generated_files move build related files out of the root directory 2017-05-15 15:53:54 -07:00
OWNERS root OWNERS: escape backslashes 2018-04-13 10:42:22 -07:00
OWNERS_ALIASES Add seans3 to sig-cli reviewers list 2018-09-17 16:17:54 -07:00
README.md remove submit-queue from readme 2018-09-13 17:10:35 -07:00
SECURITY_CONTACTS add PST to main SECURITY_CONTACTS as formality 2018-05-24 10:52:33 -04:00
SUPPORT.md Clean up support doc resources 2018-09-19 07:15:43 -07:00
WORKSPACE move build related files out of the root directory 2017-05-15 15:53:54 -07:00

Kubernetes

GoDoc Widget CII Best Practices


Kubernetes is an open source system for managing containerized applications across multiple hosts; providing 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 you are a company that 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.
$ go get -d k8s.io/kubernetes
$ cd $GOPATH/src/k8s.io/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