Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 97295740e3 Merge pull request #44923 from copejon/adjust-kubelet-restart-to-os
Automatic merge from submit-queue

De-flaking E2E: PersistentVolumes[Disruptive] - restart kubelet via service manager CLI

Current process for restarting the kubelet accesses `/etc/init.d/kubelet`, which is not a common path across OSes.  This PR changes the behavior of `kubeletCommand()` to instead attempt restarting the kubelet service through the system manager CLI.  It first attempts a systemd call, then falls back to sysVinit.  If neither calls work, the test exits.

This PR _does not_ remove `[Flaky]`.  Right now, the test fails consistently in the gci-gce-flaky suite.  After merge, I'll monitor the test grid for ~week.  If no flakes appear, I'll submit a pr to pull the Flaky tag off.

Additional Changes
- Improved error messages
- Cleanup on failure in `initTestCase`

Fixes #44933 

**Release note**:

```release-note
NONE
```
2017-05-04 14:48:39 -07:00
.github
api Fixes broken link in PodSpec 2017-05-02 13:33:49 -03:00
build Replace git_repository with http_archive and use ixdy's fork of bazel tools for pkg_tar 2017-05-03 10:13:06 -07:00
cluster Bump cluster autoscaler to 0.5.3 2017-05-04 17:27:54 +02:00
cmd Merge pull request #45238 from deads2k/auth-04-expose-kubelet 2017-05-04 13:25:06 -07:00
docs Fixes broken link in PodSpec 2017-05-02 13:33:49 -03:00
examples Merge pull request #45271 from humblec/gluster-docfix 2017-05-03 23:25:38 -07:00
federation Merge pull request #45321 from caesarxuchao/remove-GetGVK 2017-05-04 13:25:05 -07:00
Godeps Merge pull request #45081 from humblec/glusterfs-vendor-update 2017-05-04 09:57:32 -07:00
hack Fix federated service deletion tests 2017-05-04 22:27:54 +05:30
hooks
logo
pkg Merge pull request #45321 from caesarxuchao/remove-GetGVK 2017-05-04 13:25:05 -07:00
plugin Remove redundent GetObjectKind() defined on top-level types 2017-05-04 10:31:58 -07:00
staging Merge pull request #45321 from caesarxuchao/remove-GetGVK 2017-05-04 13:25:05 -07:00
test Deflake PersistentVolumes Disruptive: Use OS specific service manager CLI to restart kubelet service (systemctl || service) 2017-05-04 14:42:30 -05:00
third_party autogenerated 2017-04-14 10:40:57 -07:00
translations
vendor Merge pull request #45081 from humblec/glusterfs-vendor-update 2017-05-04 09:57:32 -07:00
.bazelrc
.gazelcfg.json Add go_genrule for zz_generated.openapi.go. 2017-04-25 17:51:36 -07:00
.generated_files
.gitattributes
.gitignore Remove verify_gen_openapi make rule. 2017-04-25 17:41:33 -07:00
BUILD.bazel Rename //:ci-artifacts rule to //:push-build, and add a deprecated alias 2017-05-02 16:48:16 -07:00
CHANGELOG.md Merge pull request #44949 from zhangxiaoyu-zidif/update-link-changelog 2017-05-02 20:56:08 -07:00
code-of-conduct.md
CONTRIBUTING.md
labels.yaml Update labels.yaml with sig labels 2017-04-28 14:27:32 -07:00
LICENSE
Makefile skip integration test when run make bazel-test 2017-05-02 14:12:00 -07:00
Makefile.generated_files Remove verify_gen_openapi make rule. 2017-04-25 17:41:33 -07:00
OWNERS
OWNERS_ALIASES
README.md
Vagrantfile
WORKSPACE Update repo-infra dependency to support multiple upload paths 2017-05-03 16:05:15 -07:00

Kubernetes

Submit Queue Widget GoDoc Widget


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

If you are less impatient, 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