Commit Graph

45335 Commits

Author SHA1 Message Date
Kubernetes Prow Robot
127f33f63d Merge pull request #111221 from inosato/remove-ioutil-from-kubelet
Remove ioutil in kubelet/kubeadm and its tests
2022-09-17 21:56:28 -07:00
inosato
7dc1f5e30b Fix comments 2022-09-18 12:51:03 +09:00
Kubernetes Prow Robot
3e5e5cc7ee Merge pull request #112357 from SataQiu/deprecated-20220907
kube-scheduler: add taints filtering logic consistent with TaintToleration plugin for PodTopologySpread plugin
2022-09-16 18:14:27 -07:00
Kubernetes Prow Robot
29b856b658 Merge pull request #112520 from gnufied/fix-selinux-support-not-found-csi-driver
Do not return err if CSIdriver is not found
2022-09-16 17:04:40 -07:00
Kubernetes Prow Robot
7f672cef0a Merge pull request #112516 from aojea/topology_log
fix endpoint slice controller logging format error
2022-09-16 17:04:30 -07:00
Kubernetes Prow Robot
4fb2cf4b4b Merge pull request #112507 from kerthcet/fix/pod-topology-spread-error
Fix calculating error when adding nominated pods in podTopologySpread
2022-09-16 14:58:50 -07:00
Hemant Kumar
8d1e2e0faa Do not return err if CSIdriver is not found
while checking for selinux support
2022-09-16 15:53:03 -04:00
Antonio Ojea
c3259df151 fix endpoint slice controller logging format error
Co-authored-by: Surya Seetharaman <suryaseetharaman.9@gmail.com>
2022-09-16 16:47:51 +02:00
kerthcet
9a9fbf598e Fix calculating error when adding nominated pods in podTopologySpread
Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-16 17:28:49 +08:00
Mengjiao Liu
1b9e4eb073 Improve test readability by fixing previous code variables that could easily be changed and
improve unit test coverage in `pkg/util/taints/taints_test.go`
2022-09-16 17:23:35 +08:00
Kubernetes Prow Robot
369d0cfced Merge pull request #112436 from mengjiao-liu/remove_unused_function_in_taints
Remove unused functions in pkg/util/taints/
2022-09-15 17:53:27 -07:00
Kubernetes Prow Robot
918f84cd90 Merge pull request #112463 from Nordix/fix-ipvs-filter
Corrects target in the KUBE-IPVS-FILTER chain
2022-09-15 02:45:22 -07:00
Kubernetes Prow Robot
21dfce2d7d Merge pull request #112437 from yangjunmyfm192085/cleanupproxy
cleanup useless check about CIDR
2022-09-15 01:23:21 -07:00
Lars Ekman
639b9bca5d Corrects target in the KUBE-IPVS-FILTER chain
The target was "ACCEPT" which disabled any other check like
loadBalancerSourceRanges in the KUBE-PROXY-FIREWALL chain.
The target is now "RETURN".
2022-09-15 07:49:12 +02:00
Kubernetes Prow Robot
c5f795c8bf Merge pull request #112222 from astraw99/fix-scheduler-misc
Update some scheduler misc
2022-09-14 18:37:22 -07:00
Kubernetes Prow Robot
4e8b11d441 Merge pull request #111333 from flant/selfsubjectattributesreviews
Add auth API to get self subject attributes
2022-09-14 13:07:22 -07:00
Kubernetes Prow Robot
03d688c4b8 Merge pull request #112178 from kushagra98/hpa-scale-down
FIX: HPAs scale down with target >= 100
2022-09-14 11:09:13 -07:00
Kubernetes Prow Robot
ee94dce5b1 Merge pull request #112015 from humblec/glusterfs-gone
Removal of GlusterFS code from the repo
2022-09-14 10:03:00 -07:00
m.nabokikh
00dfba473b Add auth API to get self subject attributes
Signed-off-by: m.nabokikh <maksim.nabokikh@flant.com>
2022-09-14 18:00:26 +02:00
Kubernetes Prow Robot
c7d47e4c94 Merge pull request #112353 from dgrisonnet/update-max-sync-backoff
Update endpointslice controller maximum sync backoff delay to match expected sequence of delays
2022-09-14 08:55:00 -07:00
Kubernetes Prow Robot
c45ca46cdb Merge pull request #112387 from mythi/kubelet-devicemanager-topologyinfo
devicemanager: do not leak empty TopologyInfo to TopologyManager
2022-09-14 07:17:00 -07:00
Mikko Ylinen
68bb0935bd devicemanager: do not leak empty TopologyInfo to TopologyManager
Device Plugins that wish to leverage the Topology Manager can send back a populated
TopologyInfo struct as part of the device registration, along with the device IDs
and the health of the device. TopologyInfo is converted to TopologyHints and
used by TopologyManager to find the optimal/desired resource allocation for a Pod.

If a plugin sends an empty but non-nil instance of TopologyInfo for a resource,
devicemanager passes it on as an empty instance of TopologyHint which is
currently interpreted as "Hint Provider has no possible NUMA affinities
for resource" which further means that pods requesting that resource will fail.

To not block device resources that pass TopologyInfo{Nodes:[]*NUMANode{}} from being
used, interprete that as nil set of hints and not a []TopologyHint{}.

Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2022-09-14 16:13:31 +03:00
Kubernetes Prow Robot
178f246bbc Merge pull request #111381 from muyangren2/assert_Equal_azure
Fix test order  pkg/volume/azuredd/azure_common_test.go
2022-09-14 04:59:01 -07:00
JunYang
fc6b421d97 cleanup useless check about CIDR 2022-09-14 11:43:35 +08:00
Mengjiao Liu
3ee0eea45c Remove unused functions in pkg/util/taints/ 2022-09-14 11:13:03 +08:00
Kubernetes Prow Robot
ea4c28c7f8 Merge pull request #112403 from akankshakumari393/check_mount_state
Call SetupDevice for Block Volume only if Volume is not globally Mounted
2022-09-13 15:45:12 -07:00
Humble Chirammal
c2a7bfd6b4 removal of glusterfs in-tree driver code from the source
Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
2022-09-13 20:11:50 +05:30
Kubernetes Prow Robot
3ac752e4a0 Merge pull request #112003 from sanposhiho/metrics-goroutine
feature(scheduler): add "goroutines" metric and deprecate the "scheduler_goroutines" metric
2022-09-12 12:01:16 -07:00
Kubernetes Prow Robot
ed520f3cac Merge pull request #112309 from shyamjvs/disable-compression
Add a "DisableCompression" option to kubeconfig
2022-09-12 10:55:25 -07:00
Akanksha Kumari
86fa479273 Call SetupDevice only if Volume is not globally Mounted 2022-09-12 23:00:00 +05:30
Kubernetes Prow Robot
16ca3eb96d Merge pull request #112391 from bboreham/internal-comment
Tiny comment cleanup in pkg/apis/apps/types.go
2022-09-12 09:41:36 -07:00
Kubernetes Prow Robot
6cf208e4d4 Merge pull request #112354 from pohly/volumebinding-delete-event-handler
volumebinding: handle special delete event in AssumeCache
2022-09-12 08:07:36 -07:00
Bryan Boreham
91eb1407d2 Remove incorrect mention of pointer in comment
This `DeploymentSpec` struct is used internally; the ones used for
serialization do have a pointer and this text was most likely copied
from there and not corrected.

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2022-09-12 14:20:26 +00:00
Kubernetes Prow Robot
72f96d9c72 Merge pull request #112386 from Shubham82/remove_CSRDuration_featuregate
Remove  CSRDuration feature gate.
2022-09-12 07:01:37 -07:00
Kubernetes Prow Robot
74469ca4c5 Merge pull request #112123 from paskal/paskal/cfs_clarification
clarify CPUCFSQuotaPeriod values, set the minimum to 1ms
2022-09-12 07:01:25 -07:00
Shubham Kuchhal
4ba39fc799 Remove GA featuregate: CSRDuration 2022-09-12 13:59:08 +05:30
SataQiu
bc9c494319 kube-scheduler: add taints filtering logic consistent with TaintToleration plugin for PodTopologySpread plugin
Signed-off-by: SataQiu <shidaqiu2018@gmail.com>
2022-09-10 09:04:30 +08:00
Kubernetes Prow Robot
e6fa40a11c Merge pull request #112355 from mimowo/handling-pod-failures-roundtrip-test
Fix the TestRoundTripTypes by adding default to the fuzzer
2022-09-09 12:25:23 -07:00
Kante Yin
096dafe757 Feat: unify the status handle when return in bindingCycle (#112103)
Signed-off-by: kerthcet <kerthcet@gmail.com>

Signed-off-by: kerthcet <kerthcet@gmail.com>
2022-09-09 08:31:23 -07:00
Michal Wozniak
31740d1c37 Fix the TestRoundTripTypes by adding default to the fuzzer 2022-09-09 16:47:08 +02:00
Damien Grisonnet
0f0526cd6a endpointslice: update max sync backoff
Update the maximum sync backoff value to 1000s to match the sequence of
delays expected by the endpointslice controller when syncing Services:

Before this change the sequence was:

> 1s, 2s, 4s, 8s, 16s, 32s, 64s, 100s

Now it is:

> 1s, 2s, 4s, 8s, 16s, 32s, 64s, 128s, 256s, 512s, 1000s

Signed-off-by: Damien Grisonnet <dgrisonn@redhat.com>
2022-09-09 16:27:16 +02:00
Shyam Jeedigunta
f9c46a0e33 Autogen code 2022-09-08 16:07:02 -07:00
Dmitry Verkhoturov
d0f9e6dc36 clarify CPUCFSQuotaPeriod values, set the minimum to 1ms
cpu.cfs_period_us is measured in microseconds in the kernel but
provided in time.Duration by the user, that change clarifies the code
to make this evident to the reader.

Also, the minimum value for that feature is 1ms and not 1μs, and this
change alters the validation to reject values smaller than 1ms.
2022-09-08 23:29:13 +02:00
Kubernetes Prow Robot
cc4b7dc3c5 Merge pull request #111986 from enj/enj/i/transformer_leak
kms: fix go routine leak in gRPC connection
2022-09-08 09:49:46 -07:00
Monis Khan
4e68e9b5ad kms: fix go routine leak in gRPC connection
Signed-off-by: Monis Khan <mok@microsoft.com>
2022-09-08 11:46:57 -04:00
Antonio Ojea
fa7ed64dae use IPv6 Address Prefix Reserved for Documentation for api docs 2022-09-08 09:45:04 +02:00
Kubernetes Prow Robot
2969000db3 Merge pull request #111122 from alexzielenski/informer
support removal of event handlers from SharedIndexInformers
2022-09-07 11:58:37 -07:00
Kubernetes Prow Robot
6d1e9150d0 Merge pull request #108855 from haircommander/podStatsFix
kubelet/stats: deduplicate makePodStorageStats
2022-09-06 12:58:22 -07:00
Kubernetes Prow Robot
780fe01858 Merge pull request #111935 from giuseppe/userns-manager-use-bitmask-pkg-registry
kubelet: drop bitArray implementation
2022-09-06 10:27:51 -07:00
Kushagra
de8245e952 added ut for the change 2022-09-05 14:56:24 +00:00