Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue 4505224cd3 Merge pull request #35436 from danwinship/utilversion
Automatic merge from submit-queue

Add a package for handling version numbers (including non-"Semantic" versions)

As noted in #32401, we are using Semantic Version-parsing libraries to parse version numbers that aren't necessarily "Semantic". Although, contrary to what I'd said there, it turns out that this wasn't actually currently a problem for the iptables code, because the regexp used to extract the version number out of the "iptables --version" output only pulled out three components, so given "iptables v1.4.19.1", it would have extracted just "1.4.19". Still, it could be a problem if they later release "1.5" rather than "1.5.0", or if we eventually need to _compare_ against a 4-digit version number.

Also, as noted in #23854, we were also using two different semver libraries in different parts of the code (plus a wrapper around one of them in pkg/version).

This PR adds pkg/util/version, with code to parse and compare both semver and non-semver version strings, and then updates kubernetes to use it everywhere (including getting rid of a bunch of code duplication in kubelet by making utilversion.Version implement the kubecontainer.Version interface directly).

Ironically, this does not actually allow us to get rid of either of the vendored semver libraries, because we still have other dependencies that depend on each of them. (cadvisor uses blang/semver and etcd uses coreos/go-semver)

fixes #32401, #23854
2016-12-13 12:10:38 -08:00
.github
api add QoS pod status field 2016-12-12 21:22:03 -06:00
build-tools Merge pull request #38584 from luxas/fix_vendored_azuredep 2016-12-12 14:16:23 -08:00
cluster Merge pull request #38640 from mtaufen/gci-version-env 2016-12-13 09:54:45 -08:00
cmd Set --anonymous-auth to false on v1.5 clusters to preserve the locked-down v1.4 behaviour 2016-12-13 17:51:15 +02:00
docs add QoS pod status field 2016-12-12 21:22:03 -06:00
examples fix examples/ compilation so that test/ also compiles 2016-12-12 15:14:49 -08:00
federation autoupdate BUILD files 2016-12-12 13:30:07 -08:00
Godeps Merge pull request #38625 from smarterclayton/bump_gorestful 2016-12-12 22:24:37 -08:00
hack Add a package for handling version numbers (including non-semvers) 2016-12-13 08:53:00 -05:00
hooks remove hack/verify-munge-docs.sh from pre-commit hooks 2016-12-09 15:17:18 -08:00
logo
pkg Merge pull request #35436 from danwinship/utilversion 2016-12-13 12:10:38 -08:00
plugin Merge pull request #38572 from hongchaodeng/sr 2016-12-12 19:42:35 -08:00
staging Fix staging/copy.sh to work on mac and linux 2016-12-12 17:47:39 +01:00
test Merge pull request #35436 from danwinship/utilversion 2016-12-13 12:10:38 -08:00
third_party autoupdate BUILD files 2016-12-12 13:30:07 -08:00
vendor Merge pull request #38625 from smarterclayton/bump_gorestful 2016-12-12 22:24:37 -08:00
.gazelcfg.json fix examples/ compilation so that test/ also compiles 2016-12-12 15:14:49 -08:00
.generated_docs
.generated_files
.gitattributes
.gitignore
BUILD
CHANGELOG.md Update CHANGELOG.md to warn about anon auth flag 2016-12-12 23:57:37 -08:00
code-of-conduct.md
CONTRIBUTING.md
labels.yaml
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md
Vagrantfile
WORKSPACE bump go rules 2016-12-12 13:30:07 -08:00

Kubernetes

Submit Queue Widget GoDoc Widget Coverage Status Widget

Introduction

Kubernetes is an open source system for managing containerized applications across multiple hosts, providing basic mechanisms for deployment, maintenance, and scaling of applications. Kubernetes is hosted by the Cloud Native Computing Foundation (CNCF)

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.


Are you ...

Code of Conduct

The Kubernetes community abides by the CNCF code of conduct. Here is an excerpt:

As contributors and maintainers of this project, and in the interest of fostering an open and welcoming community, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.

Community

Do you want to help "shape the evolution of technologies that are container-packaged, dynamically-scheduled and microservices-oriented? ". If you are a company, you should consider joining the CNCF. For details about who's involved in CNCF and how Kubernetes plays a role, read the announcement. For general information about our community see the website community page.

Join us on social media (Twitter, Google+) and read our blog

Ask questions and help answer them on Slack or Stack Overflow

Attend our key events (kubecon, cloudnativecon, weekly community meeting)

Join a Special Interest Group (SIG)

Contribute

If you're interested in being a contributor and want to get involved in developing Kubernetes, get started with with this reading:

You will then most certainly gain a lot from joining a SIG, attending the regular hangouts as well as the community meeting.

If you have an idea for a new feature, see the Kubernetes Features repository for a list of features that are coming in new releases as well as details on how to propose one.

Support

While there are many different channels that you can use to get hold of us (Slack, Stack Overflow, Issues, Forums/Mailing lists), you can help make sure that we are efficient in getting you the help that you need.

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. We don't bite!

Analytics