Lightweight Kubernetes
 
 
 
 
Go to file
Kubernetes Submit Queue 494be59fda Merge pull request #50478 from leblancd/v6_iptables_cmds
Automatic merge from submit-queue (batch tested with PRs 52520, 52033, 53626, 50478). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Fix kube-proxy to use proper iptables commands for IPv6 operation

For iptables save and restore operations, kube-proxy currently uses
the IPv4 versions of the iptables save and restore utilities
(iptables-save and iptables-restore, respectively). For IPv6 operation,
the IPv6 versions of these utilities need to be used
(ip6tables-save and ip6tables-restore, respectively).

Both this change and PR #48551 are needed to get Kubernetes services
to work in an IPv6-only Kubernetes cluster (along with setting
'--bind-address ::0' on the kube-proxy command line. This change
was alluded to in a discussion on services for issue #1443.

fixes #50474



**What this PR does / why we need it**:
This change modifies kube-proxy so that it uses the proper commands for iptables save and
iptables restore for IPv6 operation. Currently kube-proxy uses 'iptables-save' and 'iptables-restore'
regardless of whether it is being used in IPv4 or IPv6 mode. This change fixes kube-proxy so
that it uses 'ip6tables-save' and 'ip6tables-restore' commands when kube-proxy is being run
in IPv6 mode.

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

**Special notes for your reviewer**:

**Release note**:

```release-note NONE
```
2017-10-11 01:41:42 -07:00
.github
Godeps Merge pull request #52793 from nikhita/crd-validation-conversion-tests 2017-10-09 10:22:41 -07:00
api Autogen 2017-10-05 15:01:52 -07:00
build query --incompatible_comprehension_variables_do_not_leak=false 2017-10-09 10:47:45 -07:00
cluster Merge pull request #53626 from MrHohn/gce-delete-network-fw 2017-10-11 01:41:39 -07:00
cmd Merge pull request #53678 from brendandburns/node-label 2017-10-10 18:35:42 -07:00
docs Autogen 2017-10-05 15:01:52 -07:00
examples
federation Merge pull request #53611 from p0lyn0mial/pass_scheme_to_admission_plugins 2017-10-10 13:53:27 -07:00
hack Merge pull request #53477 from caesarxuchao/genenic-initializer 2017-10-10 09:46:00 -07:00
logo
pkg Merge pull request #50478 from leblancd/v6_iptables_cmds 2017-10-11 01:41:42 -07:00
plugin Merge pull request #53611 from p0lyn0mial/pass_scheme_to_admission_plugins 2017-10-10 13:53:27 -07:00
staging Merge pull request #53441 from apelisse/completely-remove-swagger 2017-10-10 20:43:27 -07:00
test Merge pull request #53380 from soltysh/issue35507 2017-10-10 19:27:52 -07:00
third_party
translations
vendor Merge pull request #52793 from nikhita/crd-validation-conversion-tests 2017-10-09 10:22:41 -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.md Merge pull request #51886 from jianglingxia/jlx90416 2017-10-10 00:34:00 -07:00
CONTRIBUTING.md
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md
SUPPORT.md
Vagrantfile
WORKSPACE
code-of-conduct.md
labels.yaml

README.md

Kubernetes

Submit Queue Widget 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

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