Commit Graph

302 Commits

Author SHA1 Message Date
Siyu Wang 7777cbee91 Fix travis-ci tests
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-10-14 15:23:05 +08:00
Zhen Zhang df6a76a4c1
Merge pull request #401 from FillZpp/fix-resource-version-expectation
Fix resourceVersionExpectation lock
2020-10-14 14:11:43 +08:00
Siyu Wang b3a06047d7 Fix resourceVersionExpectation lock
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-10-14 14:03:53 +08:00
Jeremy f95f038837
code optimization (#400)
Signed-off-by: hantmac <hantmac@outlook.com>
2020-10-13 10:12:11 -07:00
Jeremy ccfc500b55
remove redundant type convert (#398)
Signed-off-by: hantmac <hantmac@outlook.com>
2020-10-12 20:22:25 +08:00
Dylan 13d7101721 Optimize 'ApplyRevision' logic in revisionControl
it seems not reasonable to cause panic in deployment sync logic and its useless to transform bytes to string and back to bytes
2020-10-12 19:59:39 +08:00
kadisi 55c57f366d delete useless param
Signed-off-by: kadisi <iamkadisi@163.com>
2020-10-10 17:17:36 +08:00
kadisi f5b1d2f74f delete useless incrementalAllocate function, and return if GetAllocatedReplicas false
Signed-off-by: kadisi <iamkadisi@163.com>
2020-10-10 15:47:19 +08:00
Junjun Li b686d15657
Add ExtraStatusCalculation for CloneSet (#380)
Add ExtraStatusCalculation for CloneSet
2020-10-10 15:18:09 +08:00
Wenfeng-GAO 1f6b9c2d5e fix typo in log
Signed-off-by: Wenfeng-GAO <elricfeng@gmail.com>
2020-10-09 11:41:11 +08:00
Siyu Wang f4f738c115
Add docs and changelog for v0.6.1 (#388)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-10-02 10:31:50 -07:00
Siyu Wang 35ed44f345
Add webhook controller to optimize certs and configurations generation (#387)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-10-01 00:39:02 -07:00
Siyu Wang 308f694579
Fix ud validation for CloneSet subset (#386)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-10-01 00:18:31 -07:00
Siyu Wang 3f0b5b96cc
Optimize discovery logic in custom resource gate (#385) 2020-09-29 19:55:25 -07:00
Zhen Zhang 85b179b003
Merge pull request #383 from FillZpp/fix-check-inplaceupdate-completed-for-graceperiod
Fix check inplace-update completed in grace
2020-09-29 17:57:13 +08:00
Siyu Wang f8504faefc Fix check inplace-update completed in grace 2020-09-29 17:51:09 +08:00
Zhen Zhang 63a93fc0ed
Merge pull request #384 from FillZpp/fix-cloneset-update-expectation-for-deletion
Fix CloneSet update expectation for pod deletion
2020-09-29 10:18:33 +08:00
Siyu Wang adeb14ec9e Fix CloneSet update expectation for pod deletion 2020-09-29 09:57:46 +08:00
Guo, Fei a8c2f003fd Fix broken UTs 2020-09-27 13:28:34 +08:00
Guo, Fei 897400f5ea Update CRD and generated file to align with the UnitedDeployment API change 2020-09-27 13:27:03 +08:00
大伟 115ca5783b
UnitedDeployment supports CloneSet (#378)
Co-authored-by: wei.he <wei.he@alibaba-inc.com>
2020-09-25 11:16:05 -07:00
shiyan2016 5dd5be6240 fix current revision 2020-09-20 08:32:31 +08:00
Ryan Zhang ec37d37701
Add init containers to the sidecarset (#371)
* add init containers to the sidecarset api

* Add the init container injection

* address comments

* address comments and fix the hashwithoutimage logic
2020-09-16 14:10:41 +08:00
Siyu Wang 1bc2c39a56
Support lifecycle hooks for CloneSet (#362)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-09-04 10:38:23 -07:00
evertrain fc284a3704 add flag --daemonset-extra-allowed-pod-number to avoid daemonset pod schedule fail 2020-09-03 19:11:52 +08:00
Siyu Wang 4bb20ac117
Fix map concurrent write for CloneSet (#361)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-09-01 11:17:50 -07:00
shiyan2016 b3df16a7c2 add pprof feature 2020-08-31 19:20:04 +08:00
Robert Everson 7dc927e01e
Remove cloneset scale race condition on bool (#356)
* Remove cloneset scale race condition on bool
* Change bool to int64 comparison
2020-08-31 10:30:18 +08:00
Jeremy f7fc13185c
fix typo (#354)
Signed-off-by: hantmac <hantmac@outlook.com>
2020-08-27 09:56:57 -07:00
myonlyzzy 1fe8802c33
Fix README.md spelling errors (#350)
* Fix README.md spelling errors
2020-08-27 11:30:11 +08:00
Siyu Wang 2e0a0a2d16
Fix Advanced StatefulSet inconsistentStatus comparing availableReplicas (#353) 2020-08-25 23:43:44 -07:00
Siyu Wang dacfbcd3fe Fix update strategy calculation for DaemonSet 2020-08-26 13:16:37 +08:00
myonlyzzy 447f90255a
update helm chart v0.6.0 (#347)
* update helm chart v0.6.0

* update chart v0.6.0 README.md

Co-authored-by: keliang1 <keliang1@staff.weibo.com>
2020-08-25 12:19:52 -07:00
Ryan Zhang 5ef778cb70
add min ready setting (#336)
* add minReadySeconds to the stateful RollingUpdateStatefulSetStrategy

* fix lint

* add a requeue time when the pod is ready but need to wait

* address comments
2020-08-24 20:07:52 -07:00
Siyu Wang 8972b20e8a
Make replicas and pods failurePolicy configurable in chart (#345)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-08-24 10:26:36 -07:00
Guo, Fei 10113e475b Revise readme and tutorial 2020-08-24 10:57:57 +08:00
Siyu Wang 21438b7576 Update installation url for v0.6.0
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-08-20 15:22:11 +08:00
Siyu Wang 5b8de80265
Add docs and tutorial for v0.6.0 (#341)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-08-19 22:32:52 -07:00
Siyu Wang 0aa0d1448d
Optimize update strategies for DaemonSet (#340)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-08-19 11:46:54 -07:00
Siyu Wang a6aaf94533
Disable in-place update for Advanced DaemonSet (#339)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-08-18 09:59:59 -07:00
Siyu Wang ada28eae88
Optimize generation for webhook certs and configuration (#335)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-08-14 01:12:49 -07:00
andy shi 43060fa8be
create maintainer.md (#333)
* create maintainer.md

first version

* Linter fix

* try to fix linter error

* add contact
2020-08-13 23:27:29 -07:00
Ryan Zhang 852041b381
fix the crds (#328) 2020-08-10 15:46:10 -07:00
andy shi c0a6515ccb
Create GOVERNANCE.md (#325)
* Create GOVERNANCE.md

* Update syntax

* linter correction

* fix MD032

* Try again MD032
2020-08-07 19:41:33 -07:00
Ryan Zhang bec6e70d68
Some minor tutorial fixes (#327)
* Update README.md

* Update sidecarset.md

* Update README.md

gramma nit

* Update broadcastjob.md

rename bj to bcj

* rename bj to bcj

* change the crd
2020-08-07 18:22:21 -07:00
andy shi 6556f2ecdb
Patch 1 (#326)
* Update wording

* Update policy scope

* Update wording

* markdown space change

* add blank line

* Add blank line
2020-08-07 18:21:19 -07:00
Siyu Wang ef6e7f0323
Update nodeimage/imagepulljob api and fix cluster scope comments (#324)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-08-06 19:43:49 -07:00
Siyu Wang 898b1d09d5
Add workers flag for all controllers (#323)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-08-05 10:26:44 -07:00
Siyu Wang 009b7114f9
Optimize controller and ut for new controller-runtime (#322)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-08-03 13:30:40 -07:00
Siyu Wang 5e8ad0adab
Update controller-runtime and rebuild project structure (#321)
Signed-off-by: Siyu Wang <FillZpp.pub@gmail.com>
2020-07-31 14:16:47 -07:00