Production-Grade Container Scheduling and Management
Go to file
Hannes Hörl 6330cee9ea Add tests for csiDriverClient
As #69219 outlines the unit tests in `csi_client_test.go` where not
testing the actual implementation of the `csiDriverClient` but was
testing the fake.

To fix this, we changed the `csiDriverClient` to use a
`nodeClientCreator` which is responsible for creating a new
`NodeClient`, a real one in prod and a fake one in the tests.

The setup of the gRPC connection has been pushed into that creator. The
node client uses that connection; that's transparent to the driver
client. It's the responsibility of the driver client to close the
connection when it is done with the node client. To achieve this, we
have the node client creator return a closer which handles the
connection teardown.

In the tests we now also check if the driver client actually calls
this closer, thus closing the gRPC connection.

Closes: #69219

Co-authored-by: Rosie Bloxsom <rbloxsom@pivotal.io>
Co-authored-by: Maria Ntalla <mntalla@pivotal.io>
2018-10-15 20:55:37 +01:00
.github
api Merge pull request #68864 from roycaihw/fix-rollback-doc 2018-09-26 19:22:53 -07:00
build Ensure reproducible builds - support for SOURCE_DATE_EPOCH with dockerized builds 2018-09-26 07:28:09 -04:00
cluster Merge pull request #68837 from x13n/fluentd-gcp-scaler 2018-09-26 18:11:05 -07:00
cmd Merge pull request #69155 from mooncak/fix_duplicate_words 2018-09-27 12:21:46 -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 #69180 from dims/remove-extra-debugging-log-status-for-go-install 2018-09-27 20:52:20 -07:00
logo
pkg Add tests for csiDriverClient 2018-10-15 20:55:37 +01:00
plugin Merge pull request #69062 from dghubble/add-configmap-get 2018-09-27 07:18:50 -07:00
staging Merge pull request #68585 from immutableT/blocking-kms-plugin-connect 2018-09-27 22:31:28 -07:00
test Merge pull request #69167 from apelisse/kubectl-diff 2018-09-27 20:52:11 -07:00
third_party
translations
vendor Merge pull request #68874 from Lion-Wei/ipvs-graceful-termination-vendor 2018-09-26 20:37:29 -07:00
.bazelrc
.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 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 Update CHANGELOG-1.12.md for v1.12.0. 2018-09-27 23:04:39 +00:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
LICENSE
Makefile
Makefile.generated_files
OWNERS
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
SUPPORT.md Clean up support doc resources 2018-09-19 07:15:43 -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