Mikhail Mazurskiy
042b5642b9
Migrate to NewControllerRef from meta/v1 package
2017-08-06 22:43:46 +10:00
Jacob Simpson
a765b8cfca
Migrate api.Scheme to scheme.Scheme
2017-07-17 15:05:38 -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
Janet Kuo
52a05d1632
Do not add unique label to DaemonSet
2017-06-13 17:04:27 -07:00
Janet Kuo
f43060ea41
Construct history once and pass around in DaemonSet sync loop
2017-06-13 17:04:27 -07:00
Janet Kuo
0035d86248
Update adoption/release of DaemonSet controller history
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
f9070b6ace
Change what is stored in DaemonSet history `.data`
...
In DaemonSet history `.data`, store a strategic merge patch that can be
applied to restore a DaemonSet. Only PodSpecTemplate is saved.
2017-06-10 10:52:33 -07:00
Janet Kuo
edabdac094
Implement kubectl rollout history and undo for DaemonSet
2017-06-03 17:10:57 -07:00
Janet Kuo
85ec49c9bb
Verify histories and pods in DaemonSet e2e test
2017-06-03 00:46:11 -07:00
Janet Kuo
d02f40a5e7
Implement DaemonSet history logic in controller
...
1. Create controllerrevisions (history) and label pods with template
hash for both RollingUpdate and OnDelete update strategy
2. Clean up old, non-live history based on revisionHistoryLimit
3. Remove duplicate controllerrevisions (the ones with the same template)
and relabel their pods
4. Update RBAC to allow DaemonSet controller to manage
controllerrevisions
5. In DaemonSet controller unit tests, create new pods with hash labels
2017-06-03 00:44:23 -07:00
yupengzte
e463c28db6
delete err when return _
...
Signed-off-by: yupengzte <yu.peng36@zte.com.cn>
2017-05-16 16:15:06 +08:00
Łukasz Oleś
0f75e56722
Pods marked for deletion should be counted as unavailable
2017-04-18 22:32:59 +02: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
Anthony Yeh
fac372d090
DaemonSet: Relist Pods before each phase of sync.
...
The design of DaemonSet requires a relist before each phase (manage,
update, status) because it does not short-circuit and requeue for each
action triggered.
2017-03-07 16:42:29 -08:00
Anthony Yeh
421e0bbd83
DaemonSet: Use ControllerRefManager to adopt/orphan.
2017-03-07 16:42:28 -08:00
Łukasz Oleś
620310c12f
Move TemplateGeneration to the Spec
2017-02-27 09:15:56 +01: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