Go to file
Dan Winship 9cd0552ddd proxy/iptables: Remove unnecessary /32 and /128 in iptables rules
If you pass just an IP address to "-s" or "-d", the iptables command
will fill in the correct mask automatically.

Originally, the proxier was just hardcoding "/32" for all of these,
which was unnecessary but simple. But when IPv6 support was added, the
code was made more complicated to deal with the fact that the "/32"
needed to be "/128" in the IPv6 case, so it would parse the IPs to
figure out which family they were, which in turn involved adding some
checks in case the parsing fails (even though that "can't happen" and
the old code didn't check for invalid IPs, even though that would
break the iptables-restore if there had been any).

Anyway, all of that is unnecessary because we can just pass the IP
strings to iptables directly rather than parsing and unparsing them
first.

(The diff to proxier_test.go is just deleting "/32" everywhere.)
2021-11-09 09:32:50 -05:00
.github Use github forms for issue templates 2021-10-05 09:55:38 -07:00
api Merge pull request #105940 from dobsonj/kep-1682-ga 2021-11-04 12:34:23 -07:00
build [go1.17] Update to go1.17.3 2021-11-07 16:29:35 +01:00
CHANGELOG CHANGELOG: Update directory for v1.23.0-alpha.4 release 2021-11-03 02:13:59 +00:00
cluster Merge pull request #106196 from mauriciopoppe/gce-windows-ssh-fix 2021-11-08 13:11:57 -08:00
cmd Merge pull request #105295 from neolit123/1.23-add-output-v1alpha2 2021-11-08 06:01:11 -08:00
docs hack/update-bazel.sh 2021-02-28 15:17:29 -08:00
hack Merge pull request #106174 from markusthoemmes/buildx-check 2021-11-09 04:31:46 -08:00
LICENSES vendor sigs.k8s.io/json 2021-10-20 13:12:08 -04:00
logo Create colors.md 2021-01-15 22:15:43 -08:00
pkg proxy/iptables: Remove unnecessary /32 and /128 in iptables rules 2021-11-09 09:32:50 -05:00
plugin Remove StorageObjectInUseProtection feature gate logic 2021-11-03 00:13:50 +03:00
staging Merge pull request #106122 from rezakrimi/issue/105862 2021-11-08 10:55:19 -08:00
test Merge pull request #104613 from ravisantoshgudimetla/reconcile-labels 2021-11-08 14:15:19 -08:00
third_party Copy golang license to staging copies 2021-08-10 17:37:28 -04:00
vendor Bump konnectivity to v0.0.25 2021-11-07 14:34:09 -08:00
.generated_files Purge almost all memories of godep 2020-05-07 21:49:00 -07:00
.gitattributes review staging go.mod files 2019-05-10 15:40:43 -04:00
.gitignore Rename _examples to examples 2021-01-25 10:20:46 -08:00
CHANGELOG.md CHANGELOG: Move changelog, soft-link to top-level, refresh listing 2020-02-06 01:04:44 -05:00
code-of-conduct.md Update code-of-conduct.md 2017-12-20 13:33:36 -05:00
CONTRIBUTING.md Remove stale analytics links from docs 2020-11-18 07:04:48 -06:00
go.mod Bump konnectivity to v0.0.25 2021-11-07 14:34:09 -08:00
go.sum Bump konnectivity to v0.0.25 2021-11-07 14:34:09 -08:00
LICENSE
Makefile
Makefile.generated_files
OWNERS Move brendandburns to to emeritus status. 2020-08-27 10:20:56 -04:00
OWNERS_ALIASES Merge pull request #104186 from pacoxu/patch-2 2021-10-05 15:24:57 -07:00
README.md Update godoc reference widget to pkg.go.dev 2021-01-26 09:34:07 -05:00
SECURITY_CONTACTS Update SECURITY_CONTACTS with current PSC 2019-05-29 15:22:35 +05:30
SUPPORT.md delete all duplicate empty blanks 2019-02-23 10:28:04 +08:00

Kubernetes (K8s)

GoPkg Widget CII Best Practices


Kubernetes, also known as K8s, is an open source system for managing containerized applications across multiple hosts. It provides 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 your company 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 K8s

See our documentation on kubernetes.io.

Try our interactive tutorial.

Take a free course on Scalable Microservices with Kubernetes.

To use Kubernetes code as a library in other applications, see the list of published components. Use of the k8s.io/kubernetes module or k8s.io/kubernetes/... packages as libraries is not supported.

To start developing K8s

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.
mkdir -p $GOPATH/src/k8s.io
cd $GOPATH/src/k8s.io
git clone https://github.com/kubernetes/kubernetes
cd 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.