Production-Grade Container Scheduling and Management
Go to file
Kubernetes Submit Queue cdfbb01db6
Merge pull request #68151 from ddebroy/ddebroy-fix67852
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md.

Implement semantic comparison of VolumeNodeAffinity for unit tests

**What this PR does / why we need it**:
Implements a semantic comparison function for VolumeNodeAffinity that is not sensitive to ordering of various members. Previous reflect.DeepEqual was sensitive to ordering causing it to be flaky.

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes # https://github.com/kubernetes/kubernetes/issues/67852

**Special notes for your reviewer**:
We want to able to successfully match `VolumeNodeAffinity{Required:&NodeSelector{NodeSelectorTerms:[{[{a In [1]} {b In [2 3]}] []}],},}` and `VolumeNodeAffinity{Required:&NodeSelector{NodeSelectorTerms:[{[{b In [3 2]} {a In [1]}] []}],},}` without being sensitive to the ordering of requirements with key `a` and `b` or the order of values with key `b`. This fix enables such semantic comparison of VolumeNodeAffinity

We can move `volumeNodeAffinitiesEqual` to volume/utils post code freeze

**Release note**:

```release-note
NONE
```

/sig storage
cc @msau42
2018-09-05 12:09:53 -07:00
.github
api Make number of workers configurable 2018-09-04 14:21:14 -07:00
build Merge pull request #67971 from Katharine/coverage-instrumentation 2018-09-01 01:32:52 -07:00
cluster Merge pull request #67691 from loburm/security_fixes 2018-09-05 09:49:31 -07:00
cmd Merge pull request #68134 from yue9944882/chore/add-yue9944882-reviewer 2018-09-05 10:55:18 -07:00
docs Autogen API docs 2018-09-04 11:35:30 -07:00
Godeps Update etcd client to 3.2.24 for latest release 2018-09-04 21:39:43 -05:00
hack [kube-controller-manager] fix violation and golint failure 2018-09-04 19:40:03 +08:00
logo
pkg Merge pull request #68151 from ddebroy/ddebroy-fix67852 2018-09-05 12:09:53 -07:00
plugin Merge pull request #68134 from yue9944882/chore/add-yue9944882-reviewer 2018-09-05 10:55:18 -07:00
staging Merge pull request #68147 from timothysc/etcd-3.2-latest 2018-09-05 09:49:34 -07:00
test Merge pull request #67691 from loburm/security_fixes 2018-09-05 09:49:31 -07:00
third_party
translations
vendor Merge pull request #68147 from timothysc/etcd-3.2-latest 2018-09-05 09:49:34 -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-1.8.md
CHANGELOG-1.9.md
CHANGELOG-1.10.md
CHANGELOG-1.11.md Merge pull request #65566 from riverzhang/patch-2 2018-09-02 12:50:54 -07:00
CHANGELOG-1.12.md Update CHANGELOG-1.12.md for v1.12.0-beta.1. 2018-09-05 04:13:32 +00:00
CHANGELOG.md
code-of-conduct.md
CONTRIBUTING.md
LICENSE
Makefile
Makefile.generated_files
OWNERS
OWNERS_ALIASES
README.md
SECURITY_CONTACTS
SUPPORT.md
WORKSPACE

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

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.

Analytics