Dr. Stefan Schimanski
83895daed1
Fix printer hack to get a versioned client
2017-08-06 15:30:13 +02:00
dhilipkumars
10af4fa9db
Add UT and upgrade this test suite with go sub-test
2017-07-21 10:43:48 +05:30
Jacob Simpson
a765b8cfca
Migrate api.Scheme to scheme.Scheme
2017-07-17 15:05:38 -07:00
Jacob Simpson
29c1b81d4c
Scripted migration from clientset_generated to client-go.
2017-07-17 15:05:37 -07:00
Chao Xu
60604f8818
run hack/update-all
2017-06-22 11:31:03 -07:00
Chao Xu
cde4772928
run ./root-rewrite-all-other-apis.sh, then run make all, pkg/... compiles
2017-06-22 11:30:52 -07:00
Chao Xu
f4989a45a5
run root-rewrite-v1-..., compile
2017-06-22 10:25:57 -07:00
Michail Kargakis
4a2c5eae92
Implement hash collision avoidance mechanism
...
Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
2017-05-25 11:17:45 +02:00
Michail Kargakis
aeb2d9b9b4
Deep equality helper should not mutate state
...
Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
2017-05-25 11:17:45 +02:00
Michail Kargakis
7910dc3131
Account newly ready replicas as progress
...
Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
2017-05-20 21:14:50 +02:00
Haoran Wang
b6aadd2b7e
Handle maxUnavailable larger than spec.replicas
2017-04-28 13:32:24 +08:00
Mike Danese
e48a4f0af7
fix various bad tests
2017-04-25 11:23:33 -07:00
Michail Kargakis
f1e8356265
Deployments complete only when all desired pods are available
...
Signed-off-by: Michail Kargakis <mkargaki@redhat.com>
2017-04-22 17:18:10 +02:00
shiywang
49161d1b18
fix Scaled down deployments cannot identify old replica sets
2017-03-30 00:13:28 +08:00
Anthony Yeh
cec3899b96
Deployment: Remove Overlap and SelectorUpdate annotations.
...
These are not used anymore since ControllerRef now protects against
fighting between controllers with overlapping selectors.
2017-03-06 15:12:08 -08:00
Anthony Yeh
887acb07ea
Deployment/util: Filter by ControllerRef.
...
The list functions in deployment/util are used outside the Deployment
controller itself. Therefore, they don't do actual adoption/orphaning.
However, they still need to avoid listing things that don't belong.
2017-03-06 15:12:06 -08:00
Janet Kuo
51ba4d1e01
Sort slices before comparing in deployment util test
2017-02-23 12:42:42 -08:00
Janet Kuo
3718749c4a
Fix deployment helper - no assumptions on only one new ReplicaSet
2017-02-22 13:18:33 -08:00
deads2k
c9a008dff3
move util/intstr to apimachinery
2017-01-30 12:46:59 -05:00
Dr. Stefan Schimanski
79adb99a13
pkg/api: move Semantic equality to k8s.io/apimachinery/pkg/api/equality
2017-01-29 21:41:45 +01:00
Kubernetes Submit Queue
aace5a7b87
Merge pull request #40449 from deads2k/client-15-types
...
Automatic merge from submit-queue (batch tested with PRs 40239, 40397, 40449, 40448, 40360)
move the discovery and dynamic clients
Moved the dynamic client, discovery client, testing/core, and testing/cache to `client-go`. Dependencies on api groups we don't have generated clients for have dropped out, so federation, kubeadm, and imagepolicy.
@caesarxuchao @sttts
approved based on https://github.com/kubernetes/kubernetes/issues/40363
2017-01-26 14:23:42 -08:00
deads2k
9488e2ba30
move testing/core to client-go
2017-01-26 13:54:40 -05:00
Michail Kargakis
506e71485f
controller: old pods should block deployment completeness
2017-01-21 23:52:05 +01:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
Kubernetes Submit Queue
a9f5065833
Merge pull request #39794 from kargakis/updated-unit-tests
...
Automatic merge from submit-queue
Updated unit tests
@janetkuo updated the flaky unit test to have the same structure with regard to uncasting as the rest of the tests. ptal
2017-01-13 18:39:55 -08:00
Michail Kargakis
9c4195c50b
Fix and tests for SelectorUpdatedBefore
2017-01-13 10:23:08 +01:00
Dawn Chen
3648eaae04
Revert "controller: unit tests for overlapping and recreate deployments"
2017-01-11 17:33:46 -08:00
Kubernetes Submit Queue
9eb7060892
Merge pull request #39088 from kargakis/unit-tests-for-the-d-controller
...
Automatic merge from submit-queue (batch tested with PRs 39483, 39088, 38787)
controller: unit tests for overlapping and recreate deployments
Belated unit tests for https://github.com/kubernetes/kubernetes/pull/38080 and https://github.com/kubernetes/kubernetes/pull/36748 .
@kubernetes/sig-apps-misc
2017-01-11 15:35:46 -08:00
Michail Kargakis
6013186ac3
Update deployment equality helper
2017-01-11 18:34:12 +01:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Michail Kargakis
5dc96b5238
Fix and tests for SelectorUpdatedBefore
2017-01-10 12:57:38 +01:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Jordan Liggitt
6819706adf
Pass addressable values to DeepCopy
2016-12-08 14:16:01 -05:00
Clayton Coleman
3454a8d52c
refactor: update bazel, codec, and gofmt
2016-12-03 19:10:53 -05:00
Clayton Coleman
5df8cc39c9
refactor: generated
2016-12-03 19:10:46 -05:00
Chao Xu
b50367cbdc
remove v1.Semantics
2016-11-23 15:53:09 -08:00
Chao Xu
7eeb71f698
cmd/kube-controller-manager
2016-11-23 15:53:09 -08:00
Michail Kargakis
2972538f5b
Use the correct time field to estimate progress in deployments
2016-11-08 11:41:53 +01:00
Michail Kargakis
a5029bf373
controller: support perma-failed deployments
...
This commit adds support for failing deployments based on a timeout
parameter defined in the spec. If there is no progress for the amount
of time defined as progressDeadlineSeconds then the deployment will be
marked as failed by adding a condition with a ProgressDeadlineExceeded
reason in it. Progress in the context of a deployment means the creation
or adoption of a new replica set, scaling up new pods, and scaling down
old pods.
2016-11-04 13:36:46 +01:00
Kubernetes Submit Queue
b008c683ec
Merge pull request #34548 from kargakis/estimate-available-from-rs
...
Automatic merge from submit-queue
controller: set minReadySeconds in deployment's replica sets
* Estimate available pods for a deployment by using minReadySeconds on
the replica set.
* Stop requeueing deployments on pod events, superseded by following the
replica set status.
* Cleanup redundant deployment utilities
Fixes https://github.com/kubernetes/kubernetes/issues/26079
@kubernetes/deployment ptal
2016-10-17 08:44:51 -07:00
Chao Xu
3be2411c7a
cleanup the remaining
2016-10-13 16:10:24 -07:00
Michail Kargakis
212a26dc95
controller: set minReadySeconds in deployment's replica sets
...
* Estimate available pods for a deployment by using minReadySeconds on
the replica set.
* Stop requeueing deployments on pod events, superseded by following the
replica set status.
* Cleanup redundant deployment utilities
2016-10-13 12:27:47 +02:00
deads2k
c30b2efc46
update replicaset lister
2016-10-05 15:20:27 -04:00
Janet Kuo
2d1490a024
Fix the map concurrent read/write issue in deployment controller
2016-08-03 16:51:53 -07:00
Kubernetes Submit Queue
67c7401fd8
Merge pull request #26688 from asalkeld/more-unittests-util-env
...
Automatic merge from submit-queue
Increase the unit test coverage in pkg/util
These are easy to test, so lets increase coverage.
2016-08-03 13:43:28 -07:00
Michal Rostecki
59ca5986dd
Print/log pointers of structs with %#v instead of %+v
...
There are many places in k8s where %+v is used to format a pointer
to struct, which isn't working as expected.
Fixes #26591
2016-08-01 22:27:56 +02:00
Angus Salkeld
6a0577cfcc
Increase coverage in pkg/util/deployment
2016-07-08 12:35:23 +02:00
Angus Salkeld
eec08872c7
Move deployment utilities to there own package
2016-07-08 09:46:56 +02:00