Commit Graph

24 Commits

Author SHA1 Message Date
Kubernetes Submit Queue
737edd02a4 Merge pull request #35258 from feiskyer/package-aliase
Automatic merge from submit-queue

Fix package aliases to follow golang convention

Some package aliases are not not align with golang convention https://blog.golang.org/package-names. This PR fixes them. Also adds a verify script and presubmit checks.

Fixes #35070.

cc/ @timstclair @Random-Liu
2016-11-30 16:39:46 -08:00
Kubernetes Submit Queue
d9fcabcbd0 Merge pull request #37290 from mwielgus/rev-fed-dep
Automatic merge from submit-queue

Revision handling in federated deployment controller

Deployment controller in regular kubernetes automatically adds an annotation in deployment. This causes a bit of confusion in controller and tests. This PR skips revision annotation in checks. In the next K8S release we will need to have better support for deployment revisions. 

Helps with #36588

cc: @nikhiljindal @madhusudancs
2016-11-30 09:21:25 -08:00
Pengfei Ni
f584ed4398 Fix package aliases to follow golang convention 2016-11-30 15:40:50 +08:00
Chao Xu
eca157588d federation 2016-11-23 15:53:09 -08:00
Marcin Wielgus
11b9706a19 Revision handling in federated deployment controller 2016-11-22 16:20:15 +01:00
Kubernetes Submit Queue
ab184e1b1f Merge pull request #36399 from mwielgus/fedrc1
Automatic merge from submit-queue

Make desired objects in fed controller reconcilation function fully writable

When creating desired objects for sub-cluster in reconciliate functions we don't make full copies. This may result in unexpected race condition in the future when someone actually adds some object modifications (not needed in most cases but anyway - the cost of extra copy will be relatively small comparing to inter-cluster traffic). In case of ReplicaSet and Deployment the spec copy was a shallow one - ok for setting just replicas but also error-prone in the future.

cc: @quinton-hoole @nikhiljindal @madhusudancs
2016-11-21 00:00:26 -08:00
Marcin
41e13fcfa7 Automaticaly generated bazel 2016-11-10 21:37:04 +01:00
Marcin Wielgus
b560066e01 Wait for deployment in the storage in deployment controller test 2016-11-10 21:08:32 +01:00
nikhiljindal
d26c438a72 autogenerated bazel and test owner changes 2016-11-08 20:05:04 -08:00
nikhiljindal
1802400700 Updating deployment controller to support cascading deletion 2016-11-08 20:05:04 -08:00
Marcin Wielgus
f91b3feee4 Make objects in fed controller reconcilation function fully writable 2016-11-08 11:16:31 +01:00
nikhiljindal
aa518d13de Adding more e2e tests for federated namespace cascading deletion and fixing a few bugs 2016-11-05 20:57:57 -07:00
Mike Danese
3b6a067afc autogenerated 2016-10-21 17:32:32 -07:00
Kubernetes Submit Queue
7d8c0fa0c9 Merge pull request #34609 from mwielgus/usespecandmeta
Automatic merge from submit-queue

Use ObjectMetaAndSpecEquivalent in federation controllers

Use util added in #34561.

cc: @quinton-hoole
2016-10-12 10:16:00 -07:00
Marcin Wielgus
493481efe8 Add non default replica preferences test to federation depoyment tests 2016-10-12 17:19:47 +02:00
Kubernetes Submit Queue
bb74e2396e Merge pull request #34470 from mwielgus/planner-to-utils
Automatic merge from submit-queue

Move planner to federation utils

cc: @quinton-hoole @jianhuiz
2016-10-12 05:53:31 -07:00
Marcin Wielgus
6cafcc0c02 Use ObjectMetaAndSpecEquivalent in federation controllers 2016-10-12 14:08:35 +02:00
Kubernetes Submit Queue
7c7bfdaf6d Merge pull request #34531 from mwielgus/checking-fun
Automatic merge from submit-queue

Checking function integrated with get from chanel in fed tests

Current federation controller tests assume that each actions results in only one etcd action. However, due to various timing issues, this may not necessary the truth and multiple updates can be generated. Thus tests should try to get all available messages from the debug channels instead failing on the first message, which may come from the previous test scenario. 

Applied to deployment tests. Other tests will be updated in the following PR(s).

cc: @quinton-hoole @wojtek-t
2016-10-12 03:14:11 -07:00
Marcin Wielgus
fa8248bd6b Move planner to federation utils 2016-10-12 10:40:01 +02:00
Marcin Wielgus
3372aef1cc Checking function integrated with get from chanel in fed tests 2016-10-11 17:09:17 +02:00
Kubernetes Submit Queue
f59fd3df8d Merge pull request #34482 from mwielgus/podanalyzer
Automatic merge from submit-queue

Move pod analyzer to federated utils

Both replicaset and deployment controllers are using it.
2016-10-11 03:15:54 -07:00
Marcin Wielgus
3cb8a46a1e Move pod analyzer to utils 2016-10-10 21:09:30 +02:00
Marcin Wielgus
47f0e738e9 Move periodic backoff gc to federation utils 2016-10-10 19:59:35 +02:00
Marcin Wielgus
c9e771a7b2 Federated deployment controller - part 1 2016-10-10 16:25:05 +02:00