Davanum Srinivas
9682b7248f
OWNERS cleanup - Jan 2021 Week 1
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-01-10 08:14:29 -05:00
Davanum Srinivas
9405e9b55e
Check in OWNERS modified by update-yamlfmt.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-12-09 21:31:26 -05:00
Matthew Cary
0e2b901762
Clean up deep copy needed for UpdateStatefulSet
...
Change-Id: Id732358183d682d1a945cfee56f83bcaac0d7c31
2021-11-23 06:48:54 -08:00
Matthew Cary
53b3a6c1d9
controller change for statefulset auto-delete (tests)
...
Change-Id: I16b50e6853bba65fc89c793d2b9b335581c02407
2021-11-17 16:48:50 -08:00
Matthew Cary
bce87a3e4f
controller change for statefulset auto-delete (implementation)
2021-11-17 16:48:50 -08:00
Mike Dame
41fcb95f2f
Wire contexts to Apps controllers
2021-10-13 16:32:13 -04:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:49 -04:00
Kubernetes Prow Robot
a5be86fee7
Merge pull request #101316 from ravisantoshgudimetla/add-minReadySeconds-impl
...
Add min ready seconds impl
2021-06-15 13:41:43 -07:00
ravisantoshgudimetla
ceb1dbd2f1
statefulsets: MinReadySeconds implementation
...
https://github.com/kubernetes/kubernetes/pull/100842
introduced featuregate. This PR implements the logic
behind it.
2021-06-15 12:59:54 -04:00
hantmac
619fff10ea
handle Unmarshal error
...
Signed-off-by: hantmac <hantmac@outlook.com>
2021-05-13 21:22:59 +08:00
Kubernetes Prow Robot
90ac9cfc58
Merge pull request #97881 from ialidzhikov/nit/unnecessary-type-conversion
...
Nit: Remove unnecessary type conversion
2021-03-03 14:39:49 -08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
ialidzhikov
e1e7c39b47
Remove unnecessary type conversion
...
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-01-09 22:43:29 +02:00
Shintaro Murakami
acc970399d
Remove redundant variable
...
The variable firstUnhealthyOrdinal is redundant because replicas and condemned are already sorted in ascending order.
2020-10-16 09:53:34 +09:00
ymmt
17af029bc5
do not create StatefulSet pods when PVC is being deleted
...
Pod with PVC will not be scheduled if the PVC is being deleted.
This can happen when the PVC has finalizers of storage plugins.
Such a pod becomes pending. Unfortunately, after the finalizer
finishes and PVC is deleted, the pod remains pending forever.
The StatefulSet controller does nothing for this pending pod.
This commit prevents the StatefulSet controller from creating
such pods when PVC is to be deleted.
2020-08-17 22:50:42 +00:00
wawa0210
d360be0f7c
fix pkg/controller/statefulset staticcheck
2020-06-26 00:00:41 +08:00
Kobayashi Daisuke
4ae11dac2e
Replace StartLogging(klog.Infof) with StartStructuredLogging(0)
2020-06-15 17:48:35 +09:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00
Mike Danese
c58e69ec79
automated refactor
2020-03-05 14:59:46 -08:00
taesun_lee
79680b5d9b
Fix pkg/controller typos in some error messages, comments etc
...
- applied review results by LuisSanchez
- Co-Authored-By: Luis Sanchez <sanchezl@redhat.com>
genernal -> general
iniital -> initial
initalObjects -> initialObjects
intentionaly -> intentionally
inforer -> informer
anotother -> another
triger -> trigger
mutli -> multi
Verifyies -> Verifies
valume -> volume
unexpect -> unexpected
unfulfiled -> unfulfilled
implenets -> implements
assignement -> assignment
expectataions -> expectations
nexpected -> unexpected
boundSatsified -> boundSatisfied
externel -> external
calcuates -> calculates
workes -> workers
unitialized -> uninitialized
afater -> after
Espected -> Expected
nodeMontiorGracePeriod -> NodeMonitorGracePeriod
estimateGrracefulTermination -> estimateGracefulTermination
secondrary -> secondary
ShouldRunDaemonPodOnUnscheduableNode -> ShouldRunDaemonPodOnUnschedulableNode
rrror -> error
expectatitons -> expectations
foud -> found
epackage -> package
succesfulJobs -> successfulJobs
namesapce -> namespace
ConfigMapResynce -> ConfigMapResync
2020-02-27 00:15:33 +09:00
Nan Yu
89bb7d8454
Honor the RevisionHistoryLimit in StatefulSetSpec
...
The StatefulSet controller cleans up ControllerRevisions at the end of
the reconcile loop. If something goes wrong during reconcile, it bails
out without actually performing this step. This commit moves the cleanup
to a deferred function call to guarantee it will be executed.
Fixes issue: https://github.com/kubernetes/kubernetes/issues/85690
2020-02-18 10:42:38 -08:00
Yecheng Fu
bb2b50f3db
Garbage collector should orphan ControllerRevisions too
...
Signed-off-by: Yecheng Fu <fuyecheng@pingcap.com>
2020-02-10 20:58:28 +08:00
Mike Danese
25651408ae
generated: run refactor
2020-02-08 12:30:21 -05:00
Mike Danese
3aa59f7f30
generated: run refactor
2020-02-07 18:16:47 -08:00
likakuli
10864d3366
fix a bug that orphan revision cannot be adopted and sts cannot be synced
2020-01-08 17:56:41 +08:00
yuxiaobo
81e9f21f83
Correct spelling mistakes
...
Signed-off-by: yuxiaobo <yuxiaobogo@163.com>
2019-11-06 20:25:19 +08:00
wojtekt
7b6bcdf780
Autogenerated code
2019-10-24 20:21:00 +02:00
qingsenLi
d3a0c149a3
Remove some unused codes in stateful_set_utils.go
2019-09-21 22:24:48 +08:00
hwdef
4e7ef9ad36
delete unused var
2019-09-19 18:04:13 +08:00
Yassine TIJANI
7e4c3096fe
move WaitForCacheSync to the sharedInformer package
...
Signed-off-by: Yassine TIJANI <ytijani@vmware.com>
2019-08-22 16:13:41 +01:00
YueHonghui
d29f194474
add flag concurrent-statefulset-syncs to kube-controller-manager ( #79169 )
...
* add flag `concurrent-statefulset-syncs` to set number of concurrent workers for statefulset controller
* change default value of ConcurrentStatefulSetSyncs from 1 to 5
* 1. fix doc comment of statefulset config types.go
2. add missing deps k8s.io/kubernetes/pkg/controller/statefulset/config
* add missing dep k8s.io/kubernetes/pkg/controller/statefulset/config/v1alpha1
* updated bazel BUILD files
* update kube-controller-manager options testcase
* fix codegen
* fix golint error
* fix testcase
2019-07-31 22:36:14 -07:00
David Xia
fabfd950b1
cleanup: fix some log and error capitalizations
...
Part of https://github.com/kubernetes/kubernetes/issues/15863
2019-07-20 18:26:16 -04:00
Kubernetes Prow Robot
12f36302f9
Merge pull request #78361 from tedyu/stateful-get-rev
...
Break out of loop when currentRevision is found in defaultStatefulSetControl#getStatefulSetRevisions
2019-07-15 12:37:23 -07:00
Kubernetes Prow Robot
dc8829df5c
Merge pull request #75922 from humblec/stateful_set
...
Remove unwanted `else` block from statefulset controller.
2019-07-10 00:12:25 -07:00
kanchairen
bf421ae560
Fix a bug that StatefulSet applies the revision incorrectly
2019-06-30 09:49:00 +08:00
Ted Yu
7a2edb780a
Break out of loop when currentRevision is found in defaultStatefulSetControl#getStatefulSetRevisions
2019-05-26 09:22:58 -07:00
Kenneth Owens
f81fc8ae1b
Updates OWNERS files and OWNERS_ALIASES for SIG Apps to make reviewers
...
and approvers more clear
2019-04-16 11:35:21 -07:00
Kubernetes Prow Robot
529cd2c674
Merge pull request #74649 from draveness/patch-1
...
fix: typo in stateful_set_control
2019-04-04 17:47:31 -07:00
Kubernetes Prow Robot
eee8af93ba
Merge pull request #75622 from jonsabo/ssetresync
...
Remove resync period for sset controller
2019-04-04 00:41:02 -07:00
Humble Chirammal
48e1838f6c
Remove unwanted else
block from statefulset controller.
...
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2019-04-01 16:24:55 +05:30
Jon Sabo
445d711611
Remove resync period
2019-03-22 16:40:40 -05:00
caiweidong
eb8dd093fe
add UT
2019-03-19 20:36:38 +08:00
caiweidong
751007c17d
Do not replace labels of pvc with those of StastefulSet
2019-03-12 11:13:57 +08:00
Draven
df190a0197
fix: typo in stateful_set_control
2019-02-27 18:16:50 +08:00
Kubernetes Prow Robot
808f2cf0ef
Merge pull request #72525 from justinsb/owners_should_not_be_executable
...
Remove executable file permission from OWNERS files
2019-02-14 23:55:45 -08:00
Roy Lenferink
b43c04452f
Updated OWNERS files to include link to docs
2019-02-04 22:33:12 +01:00
Justin SB
dd19b923b7
Remove executable file permission from OWNERS files
2019-01-11 16:42:59 -08:00
Davanum Srinivas
954996e231
Move from glog to klog
...
- Move from the old github.com/golang/glog to k8s.io/klog
- klog as explicit InitFlags() so we add them as necessary
- we update the other repositories that we vendor that made a similar
change from glog to klog
* github.com/kubernetes/repo-infra
* k8s.io/gengo/
* k8s.io/kube-openapi/
* github.com/google/cadvisor
- Entirely remove all references to glog
- Fix some tests by explicit InitFlags in their init() methods
Change-Id: I92db545ff36fcec83afe98f550c9e630098b3135
2018-11-10 07:50:31 -05:00
AdamDang
dc2c003457
Correct some errors in returned message
...
Update stateful_set.go
Update azure_vmss.go
Update azure_vmss.go
Update disruption.go
Update stateful_set.go
2018-10-30 09:53:02 +08:00