Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 10704b2ae1 Merge pull request #44919 from kinvolk/robertgzr/kubeproxy-check-conntrack-before-write
Automatic merge from submit-queue

[WIP] Skip resize of nf_conntrack/parameters/hashsize if not necessary

**What this PR does / why we need it**:
Linux does not support writing to `/sys/module/nf_conntrack/parameters/hashsize` when the writer process is not in the initial network namespace
(https://github.com/torvalds/linux/blob/v4.10/net/netfilter/nf_conntrack_core.c#L1795-L1796).

Usually that's fine. But in some configurations such as with https://github.com/kinvolk/kubeadm-nspawn, kube-proxy is in another netns.

Therefore, check if writing in hashsize is necessary and skip the writing if not.

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:

```release-note
```
2017-05-03 23:25:31 -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 Merge pull request #45248 from ixdy/docker-bundle-rule 2017-05-03 12:07:58 -07:00
cmd Merge pull request #44919 from kinvolk/robertgzr/kubeproxy-check-conntrack-before-write 2017-05-03 23:25:31 -07:00
docs Fixes broken link in PodSpec 2017-05-02 13:33:49 -03:00
examples Merge pull request #45240 from vmware/update_volume_samples 2017-05-03 22:21:10 -07:00
federation Merge pull request #45248 from ixdy/docker-bundle-rule 2017-05-03 12:07:58 -07:00
Godeps Merge pull request #44068 from mkumatag/k8s_add_apiversion 2017-05-03 20:21:45 -07:00
hack Merge pull request #45115 from deads2k/tpr-07-types 2017-05-03 05:36:59 -07:00
hooks
logo
pkg Merge pull request #45292 from yujuhong/seccomp_test 2017-05-03 20:50:00 -07:00
plugin Merge pull request #45152 from k82cn/ut_4_45098 2017-05-02 10:35:07 -07:00
staging Merge pull request #45056 from ericchiang/update-oauth2 2017-05-03 19:34:14 -07:00
test Merge pull request #44309 from wanghaoran1988/debug_scheduler_flaky 2017-05-03 17:51:03 -07:00
third_party autogenerated 2017-04-14 10:40:57 -07:00
translations Extract a bunch more strings from kubectl 2017-04-06 20:12:50 -07:00
vendor Merge pull request #44068 from mkumatag/k8s_add_apiversion 2017-05-03 20:21:45 -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 Merge pull request #42953 from kargakis/rm-myself 2017-04-03 01:50:58 -07:00
README.md Adjust the link to the right troubleshooting doc page 2017-04-13 08:20:39 +00:00
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