Joseph Burnett
d881d48b2c
There are various reasons that the HPA will decide not the change the
...
current scale. Two important ones are when missing metrics might
change the direction of scaling, and when the recommended scale is
within tolerance of the current scale.
The way that ReplicaCalculator signals it's desire to not change the
current scale is by returning the current scale. However the current
scale is from scale.Status.Replicas and can be larger than
scale.Spec.Replicas (e.g. during Deployment rollout with configured
surge). This causes a positive feedback loop because
scale.Status.Replicas is written back into scale.Spec.Replicas,
further increasing the current scale.
This PR fixes the feedback loop by plumbing the replica count from
spec through horizontal.go and replica_calculator.go so the calculator
can punt with the right value.
2019-07-03 10:35:42 +02:00
Xing Yang
4e65976da4
Move CSIDriver Lister to the controller
2019-06-10 17:41:54 -07:00
Krzysztof Jastrzebski
319930fe97
Delete only unscheduled pods if node doesn't exist anymore.
2019-04-08 19:31:57 +02:00
Tom Wanielista
ae13b88a76
Avoid panic in cronjob sorting
...
This change handles the case where the ith cronjob may have its start
time set to nil.
Previously, the Less method could cause a panic in case the ith
cronjob had its start time set to nil, but the jth cronjob did not. It
would panic when calling Before on a nil StartTime.
2019-04-03 12:44:01 -07:00
Kubernetes Prow Robot
9103186489
Merge pull request #74442 from yujuhong/reconcile-node-labels
...
nodelifecycle controller: reconcile node OS/arch labels
2019-03-07 21:19:57 -08:00
David Zhu
41b3579345
Address review comments
2019-03-07 17:17:09 -08:00
David Zhu
7d2f4e97b8
Add ADC Fallback if Node doesn't have driver installed
2019-03-07 14:47:38 -08:00
Yu-Ju Hong
bd2301a628
nodelifecycle controller: reconcile node OS/arch labels
2019-03-06 17:26:23 -08:00
Kubernetes Prow Robot
bcbbb98f78
Merge pull request #70265 from jingyih/use_chunking_when_list_in_cronjob_controller
...
Retrieve list in chunks in cronjob controller
2019-03-06 04:45:59 -08:00
Kubernetes Prow Robot
d31427637b
Merge pull request #74926 from ddebroy/csiprov2
...
Add new CSI translation APIs required by CSI sidecars and unit tests
2019-03-05 14:54:21 -08:00
Kubernetes Prow Robot
dccb8ab5b0
Merge pull request #74615 from andrewsykim/delete-pvl-controller
...
Delete the out-of-tree PV labeler controller
2019-03-05 08:16:03 -08:00
Xing Yang
6265f4f78c
CSINodeInfo/CSIDriver controller changes
...
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Deep Debroy
1da91ad39a
Add GetIntreeNameFromCSIName and SupersedesInTreePlugin APIs and unit tests
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-03-04 16:36:45 -08:00
Lubomir I. Ivanov
e29c6e1b38
go-1.12: fix 'go vet' failures
2019-03-01 18:48:17 +02:00
Kubernetes Prow Robot
36787041cb
Merge pull request #73653 from ddebroy/migprov1
...
Support dynamic provisioning for CSI migration scenarios
2019-02-28 01:52:55 -08:00
Kubernetes Prow Robot
84dce4d119
Merge pull request #74393 from codenrhoden/refactor-subpath
...
Refactor subpath out of pkg/util/mount
2019-02-27 15:54:36 -08:00
Kubernetes Prow Robot
bf2c9ccec7
Merge pull request #74122 from draveness/feature/refactor-filter-active-pods
...
refactor: use FilterActivePods instead in replicaset controller
2019-02-27 15:54:25 -08:00
Travis Rhoden
2c4d748bed
Refactor subpath out of pkg/util/mount
...
This patch moves subpath functionality out of pkg/util/mount and into a
new package pkg/volume/util/subpath. NSEnter funtionality is maintained.
2019-02-26 19:59:53 -07:00
Kubernetes Prow Robot
be8a9b9637
Merge pull request #74422 from liggitt/client-version-methods
...
Remove deprecated versionless client interface methods
2019-02-26 12:44:24 -08:00
Andrew Kim
2901def8c3
delete the persistentvolume labeler controller
2019-02-26 14:23:20 -05:00
Daniel (Shijun) Qian
d648ba856b
Move pkg/api/v1/node to pkg/util/node ( #73656 )
...
* merge pkg/api/v1/node with pkg/util/node
* update test case for utilnode
* remove package pkg/api/v1/node
* move isNodeReady to internal func
* Split GetNodeCondition into e2e and controller pkg
* fix import errors
2019-02-26 11:05:32 -08:00
Deep Debroy
23478f104f
PV Controller changes to support provisioning in CSI Migration scenarios
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-02-26 08:39:54 -08:00
Jordan Liggitt
d1e865ee34
Update client callers to use explicit versions
2019-02-26 08:36:30 -05:00
Kubernetes Prow Robot
d6de0454e9
Merge pull request #73968 from freehan/big-endpoint-event
...
record event on endpoint update failure
2019-02-22 16:15:20 -08:00
Kubernetes Prow Robot
9fcbf02dca
Merge pull request #74044 from danielqsj/dr
...
fix the disruption-recheck metrics register error
2019-02-21 20:51:01 -08:00
danielqsj
687d759e36
fix more metrics rergister errors
2019-02-22 10:20:09 +08:00
Kubernetes Prow Robot
9b87046cb2
Merge pull request #74126 from danielqsj/cu
...
correct error string according to golang best practice
2019-02-21 09:21:50 -08:00
Kubernetes Prow Robot
3baab4dc35
Merge pull request #73284 from leakingtapan/kubelet-migration-aws-2
...
Add In-tree to CSI migration logic for Mount and Unmount
2019-02-20 16:40:02 -08:00
Kubernetes Prow Robot
dc634b3fd3
Merge pull request #70934 from mikeweiwei/my_fix3
...
Fix typos
2019-02-20 12:53:52 -08:00
Matt Matejczyk
bf25f7160b
Clear EndpointsLastChangeTriggerTime on no-change.
...
We should clean the EndpointsLastChangeTriggerTime annotation when there
is no new trigger time to be exported. Not clearing it may result in
kube-proxy exporting the wrong Network Programming Latency SLI.
2019-02-20 11:53:40 +01:00
Kubernetes Prow Robot
cbcc2b26fe
Merge pull request #72904 from ping035627/k8s-190115
...
Correct the count of evictionsNumber
2019-02-18 18:40:09 -08:00
Cheng Pan
6355186c3e
Add In-tree to CSI migration logic for Mount and Unmount
2019-02-18 04:55:31 +00:00
danielqsj
6edde10fcd
correct error string according to golang best practice
2019-02-15 18:12:00 +08:00
draveness
590bf5530d
refactor: use FilterActivePods instead in replicaset controller
2019-02-15 17:44:56 +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
Kubernetes Prow Robot
60943a7a08
Merge pull request #69830 from davidz627/feature/csiTranslationMigration
...
In-Tree to CSI Migration logic for PersistentVolume Attach/Detach
2019-02-14 22:43:05 -08:00
David Zhu
5dde1df1cd
Migration shim logic for Persistent Volumes for Attach/Detach
2019-02-14 17:04:23 -08:00
Kubernetes Prow Robot
d457fb7771
Merge pull request #73869 from grayluck/no-cluster-cidr-validation
...
Skip validation for clusterCIDR in node ipam controller.
2019-02-13 17:31:44 -08:00
danielqsj
23be9587a0
fix the disruption-recheck metrics register error
2019-02-14 09:15:44 +08:00
yankaiz
7379ad5ae2
Skip validation for clusterCIDR in node ipam controller.
...
clusterCIDR is passed down from kube_env CLUSTER_IP_RANGE to the flag --cluster-cidr.
We plan not to let GKE to pass down CLUSTER_IP_RANGE to kube-env for the master node.
2019-02-13 12:13:33 -08:00
Kubernetes Prow Robot
2aedcbc7ca
Merge pull request #73761 from andrewsykim/remove-cloud-provider-volume-deps
...
remove cloud provider dependencies to pkg/volume
2019-02-12 18:45:24 -08:00
Minhan Xia
299fa607c0
record event on endpoint update failure
2019-02-12 13:56:20 -08:00
Dr. Stefan Schimanski
618050e35d
client-go: extend discovery intf with ServerGroupsAndResources
2019-02-12 14:28:19 +01:00
Kubernetes Prow Robot
ee734d0543
Merge pull request #73932 from dims/cleanup-unnecessary-packages-from-import-restrictions
...
Remove unnecessary prefixes from various .import-restrictions files
2019-02-11 16:24:17 -08:00
Davanum Srinivas
1d430a4a73
Remove unnecessary prefixes from various .import-restrictions files
...
Found using script:
https://gist.github.com/dims/384dea60754042f61d79233603034038
Just run using:
`find . -name .import-restrictions | xargs python ~/junk/sanitize-import-boss.py`
The removed entries are either packages that got moved/renamed/deleted
but are still not cleaned up from .import-restrictions files.
Change-Id: I92c400f74e6f012cc75539311ed4de280e25e918
2019-02-11 16:47:28 -05:00
houjun
a5cde1a463
Check for pvcVolume with IsOperationPending() before markPVCResizeInProgress()
2019-02-11 15:23:17 +08:00
PingWang
1ff8fac138
Correct the count of evictionsNumber
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
check nodeutil.SwapNodeControllerTaint's return
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-02-11 10:15:10 +08:00
Andrew Kim
ca6a051b00
remove cloud provider dependencies to pkg/volume
...
Co-authored-by: Weibin Lin <linweibin1@huawei.com>
2019-02-09 01:16:55 -05:00
Kubernetes Prow Robot
52b3956df4
Merge pull request #67638 from houjun41544/20180821
...
Fix fmt.Errorf messages
2019-02-08 13:13:49 -08:00
Kubernetes Prow Robot
5b7a790d35
Merge pull request #72185 from dcbw/owners-label-sig-network
...
OWNERS: add label:sig/network to a bunch of places
2019-02-08 10:36:16 -08:00