Guoliang Wang
b1ac6df4dc
remove unused code of (pkg/controller)
2018-10-09 08:15:30 +08:00
Brad Hoekstra
ac8799a80d
kubelet: Make service environment variables optional
2018-09-17 16:27:36 -04:00
Maciej Szulik
53b4c6387a
Tolarate nil inputs on maxSurge and maxUnavailable when parsing IntOrString
2018-08-20 15:15:57 +02:00
Janet Kuo
a4f85c8dd0
Default extensions/v1beta1 Deployment's ProgressDeadlineSeconds to MaxInt32.
...
1. MaxInt32 has the same meaning as unset, for compatibility
2. Deployment controller treats MaxInt32 the same as unset (nil)
2018-07-27 10:10:30 -07:00
Anthony Yeh
e32a15558b
Use apps/v1 in Deployment controller.
2018-05-22 13:42:10 -07:00
Janet Kuo
19b4fee95c
Fix a bug in Deployment controller when comparing templates
2018-04-04 17:14:07 -07:00
hangaoshuai
808c39387f
add unit test for new function AnnotationsNeedUpdate
2018-04-02 09:27:43 +08:00
Dr. Stefan Schimanski
9488150762
SimpleNameGenerator: unify to use k8s.io/apiserver/pkg/storage/names
2017-10-11 16:05:52 +02:00
Kubernetes Submit Queue
566364da49
Merge pull request #52951 from kargakis/remove-dead-code
...
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md ">here</a>.
Simplify some deployment utilities
Sponsored by the recent refactoring that removed errors
from deep copies.
Signed-off-by: Michalis Kargakis <mkargaki@redhat.com >
2017-10-03 08:11:04 -07:00
Michalis Kargakis
086ab4291a
Simplify some deployment utilities
...
Sponsored by the recent refactoring that removed errors
from deep copies.
Signed-off-by: Michalis Kargakis <mkargaki@redhat.com >
2017-09-23 22:31:05 +02:00
Suraj Narwade
0082bd0061
Cleaning up unused functions in /pkg/controller/deployment/util
2017-09-23 15:55:22 +05:30
Michail Kargakis
af0f5dcc88
Fix deployment timeout reporting
...
If the previous condition has been a successful rollout then we
shouldn't try to estimate any progress. Scenario:
* progressDeadlineSeconds is smaller than the difference between
now and the time the last rollout finished in the past.
* the creation of a new ReplicaSet triggers a resync of the
Deployment prior to the cached copy of the Deployment getting
updated with the status.condition that indicates the creation
of the new ReplicaSet.
The Deployment will be resynced and eventually its Progressing
condition will catch up with the state of the world.
Signed-off-by: Michail Kargakis <mkargaki@redhat.com >
2017-09-08 17:48:46 +02:00
Dr. Stefan Schimanski
1d053c4f7c
controllers: simplify deepcopy calls
2017-08-29 19:21:24 +02:00
Kubernetes Submit Queue
6aeb790582
Merge pull request #49830 from jianglingxia/jlx72916
...
Automatic merge from submit-queue (batch tested with PRs 50418, 49830, 49206, 49061, 49912)
Renamed packge name to apiv1
**What this PR does / why we need it**:
Renamed packge name from k8s_api_v1 to apiv1
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
**Special notes for your reviewer**:
**Release note**:
```release-note
NONE
```
2017-08-09 22:07:15 -07:00
Dr. Stefan Schimanski
83895daed1
Fix printer hack to get a versioned client
2017-08-06 15:30:13 +02:00
jianglingxia
9e8d4b4188
Renamed packge name to apiv1
2017-07-29 16:47:14 +08: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