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
Kubernetes Submit Queue
3cb7796762
Merge pull request #47258 from janetkuo/ds-update-hash-move
...
Automatic merge from submit-queue
Do not add unique label to DaemonSet
**What this PR does / why we need it**:
It's mainly for #46925 . DaemonSet controller adds a unique label to DaemonSet, which is unexpected to federation.
The 1st commit addressed #46981 to construct history once and pass it around, so that we can avoid adding that unique label in DaemonSet in the 2nd commit. ~The 3rd commit just reverts the band-aid PR #47103.~
**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #46925 , xref #46981
**Special notes for your reviewer**:
**Release note**:
```release-note
NONE
```
2017-06-14 15:58:16 -07:00
Janet Kuo
52a05d1632
Do not add unique label to DaemonSet
2017-06-13 17:04:27 -07:00
Janet Kuo
29620479d5
Add e2e test for rollback a DaemonSet should not cause pod restart
2017-06-13 16:55:14 -07:00
Janet Kuo
7e606f211c
Update e2e test for DaemonSet pod adoption regarding templateGeneration
...
In 1.7, we add controller history to avoid unnecessary DaemonSet pod
restarts during pod adoption. We will not restart pods with matching
templateGeneration for backward compatibility, and will not restart pods
when template hash label matches current DaemonSet history, regardless
of templateGeneration.
2017-06-13 16:55:13 -07:00
Janet Kuo
b5b5b511de
Add e2e test for DaemonSet history oraphn/adoption
2017-06-12 23:33:31 -07:00
Janet Kuo
2b8f91e549
Update kubectl rollout to consume .data
of DaemonSet history
...
Also update tset data to make sure DaemonSet template is replaced, not
merged, when rolling back.
2017-06-10 10:52:33 -07:00
Janet Kuo
85ec49c9bb
Verify histories and pods in DaemonSet e2e test
2017-06-03 00:46:11 -07:00
NickrenREN
d4376599ba
Cleanup: replace some hardcoded codes and remove unused functions
2017-04-25 09:38:25 +08:00
Chao Xu
4f9591b1de
move pkg/api/v1/ref.go and pkg/api/v1/resource.go to subpackages. move some functions in resource.go to pkg/api/v1/node and pkg/api/v1/pod
2017-04-17 11:38:11 -07:00
Łukasz Oleś
a7fbc5dcc3
DaemonSet e2e changes
...
- add check for maxUnavailable in DaemonSet e2e tests
- filter pods by ControllerRef
- use PollImmediate instead if Poll
- reduce dsRetryPeriod to 1s
2017-04-11 23:23:47 +02:00
Ryan Hitchman
4816ba9898
Make a smaller redis image for testing, based on Alpine.
...
This shrinks redis from 400MB to 5MB, which should reduce flakes.
2017-03-28 16:18:00 -07:00
Janet Kuo
791a10f37f
Add e2e test for DaemonSet node selector updates
2017-03-21 14:02:17 -07:00
Janet Kuo
e42bac7cf8
In DaemonSet e2e tests, use Patch instead of Update to avoid conflict
2017-03-17 11:20:53 -07:00
Janet Kuo
287b962860
Add more steps and logs in DaemonSet pods adoption e2e test
2017-03-13 11:37:17 -07:00
Janet Kuo
cc6ab8c6de
Add more e2e tests for DaemonSet templateGeneration and pod adoption
2017-03-08 11:41:30 -08:00
Janet Kuo
7bdf54a30a
In DaemonSet e2e test, don't check nodes with NoSchedule taints
2017-03-02 16:04:39 -08:00
Łukasz Oleś
b27308c317
DaemonSet updates
...
It implements https://github.com/kubernetes/community/blob/master/contributors/design-proposals/daemonset-update.md
Feature https://github.com/kubernetes/features/issues/124
2017-02-27 09:15:56 +01:00
Janet Kuo
a2e1341e01
DaemonSet controller actively kills failed pods (to recreate them)
2017-01-25 10:20:26 -08:00
Clayton Coleman
469df12038
refactor: move ListOptions references to metav1
2017-01-23 17:52:46 -05:00
Clayton Coleman
9a2a50cda7
refactor: use metav1.ObjectMeta in other types
2017-01-17 16:17:19 -05:00
deads2k
77b4d55982
mechanical
2017-01-16 09:35:12 -05:00
Kubernetes Submit Queue
a6fa5c2bfd
Merge pull request #39814 from deads2k/api-58-multi-register
...
Automatic merge from submit-queue
replace global registry in apimachinery with global registry in k8s.io/kubernetes
We'd like to remove all globals, but our immediate problem is that a shared registry between k8s.io/kubernetes and k8s.io/client-go doesn't work. Since client-go makes a copy, we can actually keep a global registry with other globals in pkg/api for now.
@kubernetes/sig-api-machinery-misc @lavalamp @smarterclayton @sttts
2017-01-13 12:37:02 -08:00
deads2k
f1176d9c5c
mechanical repercussions
2017-01-13 08:27:14 -05:00
NickrenREN
a12dea14e0
fix redundant alias clientset
2017-01-12 10:21:05 +08:00
deads2k
6a4d5cd7cc
start the apimachinery repo
2017-01-11 09:09:48 -05:00
Robert Rati
91931c138e
[scheduling] Moved node affinity from annotations to api fields. #35518
2016-12-16 11:42:43 -05:00
Chao Xu
03d8820edc
rename /release_1_5 to /clientset
2016-12-14 12:39:48 -08:00
Wojciech Tyczynski
a9ec31209e
GetOptions - fix tests
2016-12-09 09:42:01 +01: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
a55c71db4d
test/e2e
2016-11-23 15:53:09 -08:00
Antoine Pelisse
18a1c8865f
Revert "Add more test cases to k8s e2e upgrade tests"
2016-11-18 11:21:23 -08:00
shashidharatd
e3840da83d
Add Daemonset to k8s upgrade tests
2016-11-15 09:59:51 +05:30
Jan Chaloupka
4fde09d308
Replace client with clientset in code
2016-10-23 22:00:35 +02:00
gmarek
f08f751831
Use clientset in GetReadySchedulableNodesOrDie
2016-10-19 15:55:39 +02:00
Łukasz Oleś
5d2e215652
Add NumberReady to DaemonSet status
...
Fixes #25605
2016-10-12 15:15:10 +02:00
deads2k
c22f076561
remove almost all usages of clientadapter
2016-09-26 07:53:03 -04:00
deads2k
519c13745f
convert rest of kubectl to generated clients
2016-09-12 08:22:34 -04:00
Łukasz Oleś
528bf7af3a
Make Daemonset use GeneralPredicates
...
fixes #21454 , fixes #22205
2016-07-13 14:50:29 +02:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
Jay Vyas
326b213231
Consolidate node selecting tests to only use Schedulable + Running
...
nodes.
2016-05-06 10:32:12 -04:00
Tim St. Clair
b0d3f32e88
Update test/e2e for test/e2e/framework refactoring
2016-04-13 10:50:17 -07:00
Phillip Wittrock
f22ddf1ea8
Update serve_hostname version from 1.1 to v1.4
2016-03-21 12:53:22 -07:00
Jay Vyas
9a71dfe753
KubeDescribe implementation with verify into after-build/ scripts.
2016-03-15 22:29:21 -04:00
k8s-merge-robot
e84fee2189
Merge pull request #22172 from gmarek/register
...
Auto commit by PR queue bot
2016-03-07 02:07:43 -08:00
k8s-merge-robot
9e5d1b61fa
Merge pull request #21882 from gmarek/throttle
...
Auto commit by PR queue bot
2016-03-01 06:38:06 -08:00
Matt Liggett
b53144ec70
Mark Daemon Set as Serial since it won't work in parallel.
...
Fixes #21767
2016-02-29 14:45:04 -08:00