Davanum Srinivas
5feff280e1
remove fakefs to drop spf13/afero dependency
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2021-06-24 09:51:34 -04:00
Kubernetes Prow Robot
7b24c7e4a7
Merge pull request #101256 from Jiawei0227/length2
...
Relax csiNodeIDMaxLength length limit to 256
2021-06-23 02:10:10 -07:00
Kubernetes Prow Robot
268cab5f44
Merge pull request #102022 from adtac/sbeta
...
graduate SuspendJob to beta
2021-06-22 17:18:10 -07:00
Kubernetes Prow Robot
72fc6d9ea0
Merge pull request #103089 from chendave/ratio_cleanup
...
Simplify the formula used in the `RequestedToCapacityRatio` plugin
2021-06-22 12:00:23 -07:00
ravisantoshgudimetla
b6c75bee15
Remove balanced attached node volumes
...
kubernetes#60525 introduced
Balanced attached node volumes feature gate to include volume
count for prioritizing nodes. The reason for introducing this
flag was its usefulness in Red Hat OpenShift Online environment
which is not being used any more. So, removing the flag
as it helps in maintainability of the scheduler code base
as mentioned at kubernetes#101489 (comment)
2021-06-22 11:19:30 -04:00
Kubernetes Prow Robot
985ac8ae50
Merge pull request #101030 from cynepco3hahue/pod_resources_memory_interface
...
Extend pod resource API response to return the information from memory manager
2021-06-22 06:35:58 -07:00
Artyom Lukianov
03830db82d
Implement all necessary methods to provide memory manager data under pod resources metrics
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-06-22 13:06:32 +03:00
Artyom Lukianov
24023f9fcc
Extend pod resource API response to return the memory manager information
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-06-22 12:59:04 +03:00
Dave Chen
0f922b200f
Simplify the formula used in the RequestedToCapacityRatio plugin
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-06-22 17:11:26 +08:00
Kubernetes Prow Robot
e154a6d637
Merge pull request #102455 from lunhuijie/addTestHelpers
...
Add test cases to the addAllocatableThresholds function in pkg/kubelet/eviction/helpers.go
2021-06-21 19:23:57 -07:00
Kubernetes Prow Robot
7f4abd897e
Merge pull request #102414 from divyenpatel/use-ga-topology-labels-for-vsphere
...
Update vSphere volume topology label to GA
2021-06-21 18:13:57 -07:00
Kubernetes Prow Robot
3bd29bc53d
Merge pull request #102829 from snowplayfire/update-devicemanager
...
Add resource capacity to ListAndWatch grpc logging
2021-06-21 16:28:09 -07:00
Kubernetes Prow Robot
844fa00c5e
Merge pull request #102725 from 249043822/br-podworker
...
Fix:slow memory leak may be in kubelet podworkers.isWorking
2021-06-21 16:27:57 -07:00
Kubernetes Prow Robot
62fdaabe82
Merge pull request #102635 from charlesxsh/fix-linux-test
...
fix a potential deadlock in graceful node shutdown unit tests
2021-06-21 16:27:45 -07:00
Divyen Patel
518844fd25
use GA topology labels for vsphere
2021-06-21 10:37:31 -07:00
Hidehito Yabuuchi
e371b27e6c
Fix frameworkImpl.extenders being not set
2021-06-19 18:07:31 +09:00
Kubernetes Prow Robot
53bc4c13c1
Merge pull request #96115 from ncopa/disk-usage
...
Get inodes and disk usage via pure go
2021-06-18 20:30:50 -07:00
Kubernetes Prow Robot
7e23c5367d
Merge pull request #95768 from danwinship/document-nodeaddresstype
...
Document the NodeAddressType values
2021-06-18 16:42:42 -07:00
Kubernetes Prow Robot
4afb72a863
Merge pull request #100183 from jsafrane/fix-unstage-retry
...
Mark volume as uncertain after Unmount* fails
2021-06-18 11:04:06 -07:00
Kubernetes Prow Robot
f899bbe445
Merge pull request #102925 from alculquicondor/fix-node-resources
...
Fix Node Resources plugins score when there are pods with no requests
2021-06-18 07:20:06 -07:00
Kubernetes Prow Robot
24b716673c
Merge pull request #102847 from jayunit100/userspace-proxy-dns-demangler
...
fix dns modifications inside of the kube-proxy for windows userspace
2021-06-17 07:26:20 -07:00
jingxueli
45d18acbcc
add info for possible failed listAndWatch grpc call
2021-06-17 16:25:20 +08:00
Aldo Culquicondor
63d1237102
Fix Node Resources plugins score when there are pods with no requests
...
Given that we give a default CPU/memory requests for containers that don't provide any, the calculated usage can exceed the allocatable.
Change-Id: I72e249652acacfbe8cea0dd6f895dabe43ff6376
2021-06-16 20:36:07 +00:00
Kubernetes Prow Robot
2d7a20fcd6
Merge pull request #102840 from Kissy/issue-102820
...
Improve terminated pod message when node is shutting down
2021-06-16 12:48:12 -07:00
Kubernetes Prow Robot
851b7276a5
Merge pull request #102796 from ahg-g/ahg-cc
...
Move scheduler plugin set and configuration defaulting to CC
2021-06-16 11:44:00 -07:00
Jan Safranek
d5da73032f
Add unit test for DSWP with uncertain volume
...
desiredStateOfWorldPopulator.findAndRemoveDeletedPods() should remove
volumes from DSW when a pod is deleted on the API server and the volume is
uncertain in ASW.
2021-06-16 18:41:44 +02:00
Jan Safranek
f795b02f4f
Refactor dswp unit tests
...
Change existing desiredStateOfWorldPopulator.findAndAddNewPods tests to use
a common initialization function.
2021-06-16 18:41:43 +02:00
Jan Safranek
2fcb5e9cf7
Add PodRemovedFromVolume
...
To know when a volume has been fully unmounted (incl. uncertain mounts).
2021-06-16 18:41:41 +02:00
Jan Safranek
ca934b8f5c
Add GetPossiblyMountedVolumesForPod to let kubelet know all volumes were unmounted
...
podVolumesExist() should consider also uncertain volumes (where kubelet
does not know if a volume was fully unmounted) when checking for pod's
volumes. Added GetPossiblyMountedVolumesForPod for that.
Adding uncertain mounts to GetMountedVolumesForPod would potentially break
other callers (e.g. `verifyVolumesMountedFunc`).
2021-06-16 18:39:12 +02:00
Jan Safranek
f4b41c0a17
Fix UnmountDevice error cases
...
When UnmountDevice fails, kubelet treat the volume mount as uncertain,
because it does not know at which stage UnmountDevice failed. It may be
already partially unmonted / destroyed.
As result, MountDevice will be performer when a new Pod is started on the
node after UnmountDevice faiure.
2021-06-16 18:39:04 +02:00
Abdullah Gharaibeh
265ef1741f
Move scheduler plugin set and configuration defaulting to component config
2021-06-16 10:15:29 -04:00
Kubernetes Prow Robot
71d6a48d3e
Merge pull request #102431 from serathius/loggingconfig
...
Use LoggingConfig within LogOptions
2021-06-16 02:21:59 -07:00
jay vyas
dd5f67d23c
Kube proxy for windows userspace, remove dns Mangling
2021-06-15 18:46:48 -04:00
Kubernetes Prow Robot
3a47ddccdf
Merge pull request #100488 from liggitt/protobuf
...
update etcd, grpc, protobuf dependencies
2021-06-15 14:49:42 -07:00
Kubernetes Prow Robot
f6f9738ec8
Merge pull request #102834 from rikatz/endport-beta
...
Promote endPort field in netpolicies to beta
2021-06-15 13:42:04 -07:00
Kubernetes Prow Robot
81aaeee8a6
Merge pull request #102731 from sharmarajdaksh/lastappliedconfig-annotation-no-mirror
...
fix: mirroring of last-applied-configuration annotation in EndpointSlices
2021-06-15 13:41:55 -07: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
Kubernetes Prow Robot
270b66fb94
Merge pull request #102642 from alaypatel07/lastSuccessfulTime
...
populate last successful time to cronjob status
2021-06-15 11:31:35 -07:00
Dakshraj Sharma
211485c23d
last-applied-config annotation no longer mirrored to endpoint slices
...
Handles incorrect mirroring of endpoint annotations to created endpoint
slices, specifically the last-applied-config. Also updates tests
and adds test cases for the same
2021-06-15 22:32:33 +05:30
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
Guillaume Le Biller
f1de598233
Improve terminated pod message when node is shutting down
...
Signed-off-by: Guillaume Le Biller <glebiller@Traveldoo.com >
2021-06-15 18:29:54 +02:00
Kubernetes Prow Robot
8eef6438e6
Merge pull request #101055 from SimonCqk/master
...
fix: inaccurate miss schedule times of cronjob v2.
2021-06-15 08:38:01 -07:00
Marek Siarkowicz
f9343f837d
Use LoggingConfig within LogOptions
...
Co-authored-by: mengjiao.liu <mengjiao.liu@daocloud.io >
Co-authored-by: Jordan Liggitt <jordan@liggitt.net >
Co-authored-by: Heisenberg <yuzhiquanlong@gmail.com >
2021-06-15 17:14:43 +02:00
Jordan Liggitt
068e4c55a8
Eliminate parallel and unnecessary embedded etcd instances
2021-06-15 09:53:06 -04:00
Ricardo Pchevuzinske Katz
9f18ddf03c
Promote endPort field in netpolicies to beta
...
Signed-off-by: Ricardo Pchevuzinske Katz <ricardo.katz@gmail.com >
2021-06-15 10:47:17 -03:00
Kubernetes Prow Robot
42472c3a00
Merge pull request #102735 from dims/switch-to-github.com/robfig/cron/v3
...
Update to github.com/robfig/cron/v3
2021-06-15 06:44:01 -07:00
刁浩 10284789
be48f1d272
Add test cases to the addAllocatableThresholds function in pkg/kubelet/eviction/helpers.go
...
Signed-off-by: 刁浩 10284789 <diao.hao@zte.com.cn >
2021-06-15 11:32:44 +00:00
KeZhang
83ee5da75e
Fix:slow memory leak may be in kubelet podworkers.isWorking
2021-06-15 15:26:30 +08:00
Kubernetes Prow Robot
4e7fc6df63
Merge pull request #100369 from wzshiming/fix/restart-dbus-for-graceful-node-shutdown
...
After DBus restarts, make GracefulNodeShutdown work again
2021-06-14 20:50:00 -07:00
Kubernetes Prow Robot
85f0931ab9
Merge pull request #102772 from saintube/patch-1
...
cleanup: fix kubelet cpuset typo
2021-06-14 19:00:13 -07:00