Commit Graph

41965 Commits

Author SHA1 Message Date
ravisantoshgudimetla
040e9c8b51 Promote DS MaxSurge to beta 2021-05-19 16:12:52 -04:00
Kubernetes Prow Robot
73c1b2e260 Merge pull request #101358 from sbangari/localendpointrefcount
Ref counting is only applicable to Remote endpoints
2021-05-04 18:21:26 -07:00
Kubernetes Prow Robot
4f1bfe314e Merge pull request #101163 from AliceZhang2016/indexed_job_pod_adoption
indexed job: remove pods with invalid index
2021-05-04 18:21:14 -07:00
Kubernetes Prow Robot
b58a7e233e Merge pull request #100879 from JaredTan95/remove_old_ip_checks
remove old ip checks.
2021-05-04 15:39:14 -07:00
Kubernetes Prow Robot
39e47b0c2c Merge pull request #101454 from wangyx1992/redundant-alias
code cleanup: omit redundant alias in import
2021-05-04 14:37:15 -07:00
Aldo Culquicondor
1d17b18ccf Set OWNERS of pkg/apis to api-(approvers/reviewers)
Drop OWNERS in pkg/apis/core
2021-05-04 19:33:36 +00:00
Kubernetes Prow Robot
ae3250165a Merge pull request #101708 from joelsmith/master
Fix log spam for du failure on pod etc-hosts metrics
2021-05-04 11:08:14 -07:00
JaredTan95
b6fbe5e622 remove old ip checks
Signed-off-by: JaredTan95 <jian.tan@daocloud.io>
2021-05-04 08:57:29 +08:00
Kubernetes Prow Robot
a5235299ae Merge pull request #101593 from rphillips/fix_kernel_move_message
kubelet: change cgroup move message to log level 3
2021-05-03 17:21:37 -07:00
Kubernetes Prow Robot
c0a991369d Merge pull request #101400 from wangyx1992/fix-single-case-select
cleanup: use plain channel send or receive instead of single-case select
2021-05-03 17:21:29 -07:00
Kubernetes Prow Robot
cff652d951 Merge pull request #101369 from markusthoemmes/status-simplification
pkg/kubelet: Simplify status string generation on probes
2021-05-03 17:21:22 -07:00
Kubernetes Prow Robot
9fc32e57fb Merge pull request #101364 from markusthoemmes/consistent-kubelet-log
Consistently use log.KObj to format pods in logs
2021-05-03 17:21:11 -07:00
Kubernetes Prow Robot
a238eb2fe8 Merge pull request #99748 from rphillips/fixes/check_log_path_for_restart_count
kubelet: fix log files being overwritten on container state loss
2021-05-03 16:14:19 -07:00
Joel Smith
1e0ca5bdc7 Fix log spam for du failure on pod etc-hosts metrics 2021-05-03 08:29:56 -06:00
Kubernetes Prow Robot
dfc91819b7 Merge pull request #101067 from Elbehery/fix-nfs-storage-ipv6_add_square_brackets
Fix mounting NFS resources in IPv6 bare-metal environment #101066
2021-05-01 20:58:00 -07:00
Kubernetes Prow Robot
9a60677591 Merge pull request #101466 from ingvagabund/GetNonzeroRequestForResource-drop-check-for-scalar-resource
Drop IsScalarResourceName check in GetNonzeroRequestForResource
2021-05-01 12:52:00 -07:00
Kubernetes Prow Robot
ef9d6f8c93 Merge pull request #101579 from carlory/remove-fg-RootCAConfigMap
remove RootCAConfigMap feature gate
2021-04-30 12:06:33 -07:00
Jan Chaloupka
b9356df066 Drop IsScalarResourceName check in GetNonzeroRequestForResource
All invokers of GetNonzeroRequestForResource in k/k are either setting
the resource name to CPU/Memory or are checking if the requested
resource name is scalar after the invocation.
Thus, it's unnecessary to check for scalar resource name again.
In the worst case, GetNonzeroRequestForResource returns non-zero
resource quantity which can be ignored by an invoker by running
IsResourceName helpers afterwards.
2021-04-30 13:00:55 +02:00
Kubernetes Prow Robot
6850e0abf2 Merge pull request #100218 from aojea/unitflakes1
unit test using metrics must reset the global registry
2021-04-29 23:01:57 -07:00
Kubernetes Prow Robot
a8035dbc3b Merge pull request #101619 from ikeeip/scheduler_framework_plugin_defaultpreemption_dependency
Scheduler: remove pkg/features dependency from DefaultPreemption plugin
2021-04-29 18:11:01 -07:00
Ryan Phillips
224a4db269 cleanup podkiller close 2021-04-29 11:49:58 -05:00
Ryan Phillips
1f81b44cc7 kubelet: do not cleanup volumes if pod is being killed 2021-04-29 11:49:58 -05:00
Kubernetes Prow Robot
01955b99d7 Merge pull request #101531 from ialidzhikov/cleanup/volume-snapshot-data-source
Remove the VolumeSnapshotDataSource feature gate
2021-04-29 09:01:17 -07:00
Konstantin Misyutin
74e30c5e38 Scheduler: remove pkg/features dependency from DefaultPreemption plugin
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2021-04-29 23:12:46 +08:00
Kubernetes Prow Robot
b4ea4322a6 Merge pull request #101467 from ingvagabund/noderesources-replace-IsScalerResourceName-with-nodeinfo-allocatable-scalar-resource-presence
noderesource: node info already knows which resources are scalar
2021-04-28 18:12:50 -07:00
Ryan Phillips
4488162bd9 kubelet: change cgroup move message to log level 3 2021-04-28 14:54:54 -05:00
Kubernetes Prow Robot
dc6b04c142 Merge pull request #101583 from aojea/kproxycopylabels
kube-proxy copy node labels
2021-04-28 10:33:15 -07:00
Kubernetes Prow Robot
b9e86716b9 Merge pull request #101465 from ingvagabund/scheduler-drop-Resource-ResourceList-method
pkg/scheduler: drop Resource.ResourceList() method
2021-04-28 10:33:03 -07:00
Kubernetes Prow Robot
7f8539ff20 Merge pull request #101441 from dobsonj/101332-deprecate-mount-path-removal
Deprecate removal of CSI nodepublish path by kubelet (#101332)
2021-04-28 10:32:50 -07:00
elbehery
859fe6899c add expectedDevice as arg for testing 2021-04-28 17:25:09 +02:00
elbehery
f9befb90a4 add pointer mutation review 2021-04-28 17:25:09 +02:00
elbehery
e05a8403c8 fix ipv6 test case 2021-04-28 17:25:09 +02:00
elbehery
124b71bd11 add test for ipv4 literal 2021-04-28 17:25:09 +02:00
elbehery
5b52146614 fix-nfs-storage-ipv6_add_square_brackets 2021-04-28 17:25:09 +02:00
Jan Chaloupka
7286f9712a pkg/scheduler: drop Resource.ResourceList() method
The method is used only for testing purposes. Given Resource data type
exposes all its fields, any invoker of ResourceList that is still
using the method outside of kubernetes/kubernetes can still either
copy paste the original implementation or implement a custom method
that's converting resources into proper Quantity data type.

Given the hugepage resource is a scalar resource, it's sufficient
the underlying code under fit_test.go to take into account any
extended resources. For predicate_test.go, the hugepage
resource does not play any role as the General predicates test cases
does not set any scaler resource at all.

Additionally, by removing ResourceList method, pkg/scheduler/framework
can get rid of dependency on k8s.io/kubernetes/pkg/apis/core/v1/helper.
2021-04-28 16:26:33 +02:00
Antonio Ojea
c6d97ee156 kube-proxy copy node labels 2021-04-28 13:26:26 +02:00
carlory
b2e6df1e3a remove RootCAConfigMap feature gate 2021-04-28 17:59:07 +08:00
Jonathan Dobson
260426bf44 clarify deprecation comment 2021-04-27 17:52:40 -06:00
Kubernetes Prow Robot
21ab9c4175 Merge pull request #95286 from SergeyKanzhelev/removePodUnknown
Deprecating PodUnknown podPhase
2021-04-27 11:21:38 -07:00
Jonathan Dobson
75a7966414 move deprecation comment to TearDownAt function 2021-04-27 11:40:12 -06:00
ialidzhikov
8492301b93 Remove the VolumeSnapshotDataSource feature gate
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-04-27 20:32:18 +03:00
Jonathan Dobson
e92dc8d9be Deprecate removal of CSI nodepublish path by kubelet (#101332) 2021-04-27 08:41:47 -06:00
Kubernetes Prow Robot
75317dd8af Merge pull request #101470 from songxiao-wang87/run-test10
cleanup: fix log capitalization in pkg controller
2021-04-26 12:54:28 -07:00
Kubernetes Prow Robot
e213fb61ef Merge pull request #100778 from Fish-pro/fix-delete-duplicate-log
delete duplicate logs
2021-04-26 12:53:37 -07:00
Kubernetes Prow Robot
afe567d0fc Merge pull request #100750 from dabaooline/master
make clear PodConfigNotification's type
2021-04-26 12:53:29 -07:00
Kubernetes Prow Robot
5b46064cae Merge pull request #101448 from wangyysde/remove-GAed-feature-gate-ExternalPolicyForExternalIP
remove GAed feature gate ExternalPolicyForExternalIP
2021-04-26 08:31:02 -07:00
wangyysde
1c5e08aa79 remove GAed feature gate ExternalPolicyForExternalIP
Signed-off-by: wangyysde <net_use@bzhy.com>
2021-04-26 21:54:34 +08:00
songxiao-wang87
30590a4160 Making a run test.
Signed-off-by: songxiao-wang87 <wang.xiaosong23@zte.com.cn>
2021-04-26 09:31:24 +08:00
Jan Chaloupka
11d6576f83 noderesource: node info already knows which resources are scalar
NodeInfo.Allocatable.ScalarResources already knows which resources
are scaler. Also, if the resource name is not present,
it's pointless to compute score for a resources the node can not allocate
since nodeInfo.Allocatable.ScalarResources[resource] is zero for the case.
And both leastRequestedScore and mostRequestedScore returns 0 score
for nodes with zero allocatable resource.
The balancedResourceScorer deals only with CPU and memory which
are not scalable resources.
2021-04-25 23:32:03 +02:00
Kubernetes Prow Robot
5c34712a09 Merge pull request #101421 from yuzhiquan/typo
Fix typo for kubelet
2021-04-25 12:19:00 -07:00