Production-Grade Container Scheduling and Management
Go to file
Patrick Ohly 38efff564c e2e: deploy from manifest files + enhance CSI volume output
Ensuring that CSI drivers get deployed for testing exactly as intended
was problematic because the original .yaml files had to be converted
into code. e2e/manifest helped a bit, but not enough:
- could not load all entities
- didn't handle loading .yaml files with multiple entities
- actually creating and deleting entities still had to be done in tests

The new framework utility code handles all of that, including the
tricky cleanup operation that tests got wrong (AfterEach does not get
called after test failures!).

In addition, it is ensuring that each test gets its own instance of the
entities.

The PSP role binding for hostpath is now necessary because we switch
from creating a pod directly to creation via the StatefulSet
controller, which runs with less privileges.

Without this, the hostpath test runs into these errors in the
kubernetes-e2e-gce job:

Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-attacher: {statefulset-controller } FailedCreate: create Pod csi-hostpath-attacher-0 in StatefulSet csi-hostpath-attacher failed error: pods "csi-hostpath-attacher-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpath-provisioner: {statefulset-controller } FailedCreate: create Pod csi-hostpath-provisioner-0 in StatefulSet csi-hostpath-provisioner failed error: pods "csi-hostpath-provisioner-0" is forbidden: unable to validate against any pod security policy: []
Oct 19 16:30:09.225: INFO: At 2018-10-19 16:25:07 +0000 UTC - event for csi-hostpathplugin: {daemonset-controller } FailedCreate: Error creating: pods "csi-hostpathplugin-" is forbidden: unable to validate against any pod security policy: []

The extra role binding is silently ignored on clusters which don't
have this particular role.
2018-10-26 22:07:34 +02:00
.github Fix typo in Bug Report issue template 2018-10-25 13:21:08 -05:00
api Merge pull request #70100 from lavalamp/schema-fix 2018-10-25 04:01:25 -07:00
build Update to use debian-iptables v11.0 and debian-hyperkube-base 0.12.0 2018-10-24 16:18:53 -07:00
cluster Update to use kube-addon-manager:v8.9 2018-10-24 16:19:51 -07:00
cmd Merge pull request #69209 from Pingan2017/control-config 2018-10-25 17:51:22 -07:00
docs autogenerated 2018-10-24 12:57:42 +02:00
Godeps Merge pull request #69718 from andyzhangx/azurefile-premium 2018-10-18 05:18:50 -07:00
hack Merge pull request #69587 from jonfriesen/fix_golint_tests 2018-10-24 14:46:57 -07:00
logo Create LICENSE 2018-08-07 10:38:29 +05:30
pkg Merge pull request #70099 from grayluck/five-sec-hc 2018-10-25 14:03:07 -07:00
plugin Prune internal clientset/informer from kubeapiserver admission initializer (#70167) 2018-10-24 14:47:16 -07:00
staging Merge pull request #70234 from Adirio/Adirio-patch-1 2018-10-25 11:47:00 -07:00
test e2e: deploy from manifest files + enhance CSI volume output 2018-10-26 22:07:34 +02:00
third_party Update srcimporter.go to golang/go@5f0a9ba 2018-10-25 11:27:53 -07:00
translations translations: point license header to Kubernetes 2018-07-16 14:34:44 +05:30
vendor Merge pull request #69718 from andyzhangx/azurefile-premium 2018-10-18 05:18:50 -07:00
.bazelrc
.generated_files
.gitattributes
.gitignore Address shell-related comments. 2018-08-31 17:07:25 -07:00
.kazelcfg.json
BUILD.bazel
CHANGELOG-1.2.md
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 Update CHANGELOG-1.10.md for v1.10.9. 2018-10-16 13:47:04 +00:00
CHANGELOG-1.11.md Update CHANGELOG-1.11.md for v1.11.4. 2018-10-26 01:17:50 +00:00
CHANGELOG-1.12.md Merge pull request #69903 from saad-ali/releaseNotes12 2018-10-25 15:25:33 -07:00
CHANGELOG-1.13.md Update CHANGELOG-1.13.md for v1.13.0-alpha.2. 2018-10-24 14:58:18 +00:00
CHANGELOG.md Upgrade the release version info in CHANGELOG.md 2018-09-29 16:09:58 +08:00
code-of-conduct.md
CONTRIBUTING.md
LICENSE
Makefile
Makefile.generated_files
OWNERS root OWNERS: escape backslashes 2018-04-13 10:42:22 -07:00
OWNERS_ALIASES add myself to node reviwers 2018-10-18 16:19:18 -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
vendordiff.patch Update etcd client to 3.3.9 2018-10-08 13:34:34 -07:00
WORKSPACE

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