Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
455 commits
Select commit Hold shift + click to select a range
793906b
Update CHANGELOG/CHANGELOG-1.19.md for v1.19.8
Feb 17, 2021
c6313d9
Storage e2e: Remove pd csi driver installation in GKE
verult Jan 27, 2021
a8ba217
Bump konnectivity-client to v0.0.15 in release-1.19
jkh52 Feb 17, 2021
11f5330
OWNERS(CHANGELOG): Move reviewers/approvers to CHANGELOG/ dir
justaugustus Feb 2, 2021
f7fd254
build/OWNERS: Add Dan and Sascha as reviewers
justaugustus Feb 2, 2021
0b73624
do not remove volume dir when saveVolumeData fails
fankangbest Mar 25, 2020
e38a883
Adjust defer to correctly call
huffmanca Oct 29, 2020
4bba81f
Include unit test
huffmanca Nov 30, 2020
334c081
Upgrading cAdvisor to 0.37.5
iwankgb Feb 18, 2021
4cf3b94
Upgrading vendored dependencies
iwankgb Feb 18, 2021
a0e4ad2
tests: Refactor agnhost image pod usage
claudiubelu Dec 17, 2019
7a12d03
Minor cleanup in snapshot test suite.
Jul 14, 2020
a0ac6ec
Add pre provisioned snapshot tests
Jul 14, 2020
f867a8f
Combine two tests with overlap to reduce overall snapshot test suite …
Jul 17, 2020
74425b8
Remove snapshot class from prepv test because it is not needed.
Jul 23, 2020
f423cbe
Quick commit
Jul 28, 2020
557c506
Stack snapshot tests into one to reuse snapshot resource and reduce t…
Aug 5, 2020
fecd303
Remove custom hash function, generate a random UUID for snapshot and …
Aug 6, 2020
8da39bf
Move common portion of dynamic snapshot out of switch statement
Aug 6, 2020
74cb12e
Ran hack/update-bazel.sh but discarded changes to root build file
Aug 7, 2020
0e12128
Combine switch case into one case
Aug 28, 2020
58d536b
Fix testpattern check
Aug 28, 2020
a89f202
tests: Refactors agnhost image pod usage in tests
claudiubelu Dec 17, 2019
12e682b
Tolerate NotFound errors when deleting snapshots
jsafrane Sep 9, 2020
320bdbb
e2e can't use both pod.Name and pod.GenerateName
Oct 1, 2020
86e674c
Log PodExec stdout + stderr
jsafrane Oct 26, 2020
9b3febc
Separate in-tree gcepd driver for windows
jingxu97 Nov 6, 2020
e2ec769
Modify storage snapshottable and disruptive test for Windows
jingxu97 Nov 7, 2020
5004fd5
Update storage test suits for Windows
jingxu97 Nov 9, 2020
a8a56c4
Update topology tests for windows
jingxu97 Nov 17, 2020
c0201d4
Mark some storage tests as LinuxOnly
jingxu97 Nov 17, 2020
aae0466
Add linuxonly on one multivolume test
jingxu97 Nov 18, 2020
da216e0
Remove unnecessary snapshot ability check
Jiawei0227 Nov 25, 2020
f6ec471
Merge pull request #99220 from jingxu97/automated-cherry-pick-of-#872…
k8s-ci-robot Feb 19, 2021
54a2d77
Avoid using socket for hints
AlexeyPerevalov May 8, 2020
33547e4
move to cadvisor.MachineInfo
AlexeyPerevalov May 10, 2020
3339512
Merge pull request #98370 from hasheddan/automated-cherry-pick-of-#97…
k8s-ci-robot Feb 20, 2021
097ba0e
Merge pull request #98393 from sxllwx/automated-cherry-pick-of-#94589…
k8s-ci-robot Feb 22, 2021
9a8f4c6
Fix test "[sig-windows] DNS should support configurable pod DNS servers"
adelina-t Sep 29, 2020
47ebd21
Skip visiting empty secret and configmap names
liggitt Feb 27, 2021
bd3413e
Merge pull request #99172 from jkh52/release-1.19
k8s-ci-robot Mar 2, 2021
0bfcca3
Merge pull request #99473 from chewong/automated-cherry-pick-of-#9515…
k8s-ci-robot Mar 3, 2021
8ad60e7
Use Lstat in plugin watcher to avoid Windows problem
jingxu97 Feb 25, 2021
649159d
Fix issue in checking domain socket for plugin watcher
jingxu97 Mar 3, 2021
ca48f6f
Number of sockets is assumed to be same as NUMA nodes
Feb 25, 2021
f395d6b
Merge pull request #99166 from verult/automated-cherry-pick-of-#98555…
k8s-ci-robot Mar 4, 2021
a0b7423
Merge pull request #98140 from CKchen0726/cherry-pick-96876-1.19
k8s-ci-robot Mar 5, 2021
02b9dd6
Merge pull request #99588 from liggitt/automated-cherry-pick-of-#9953…
k8s-ci-robot Mar 6, 2021
c1895d7
Count pod overhead as an entity's resource usage
gjkim42 Mar 5, 2021
01afcf6
Automatically remove orphaned pod's dangling volumes
Dec 21, 2020
574bedd
Add warnings after cleanup back
Dec 21, 2020
153b6f8
Fix tests to test for new behavior
Dec 21, 2020
e8af146
Fix comment on getPodVolumeSubpathListFromDisk
lorenz Jan 31, 2021
2aa5cbe
Add tests for populated volumes
lorenz Feb 1, 2021
95ceaca
Updating EndpointSlice controller to wait for cache to be updated
robscott Jul 29, 2020
ae9d413
Merge pull request #99276 from iwankgb/automated-cherry-pick-of-#9098…
k8s-ci-robot Mar 11, 2021
7588eca
Updating EndpointSliceMirroring controller to wait for cache to be up…
robscott Mar 4, 2021
de3ee48
Merge pull request #98810 from damemi/1.19-balance-nodes-ubernetes
k8s-ci-robot Mar 11, 2021
d7537d6
Merge pull request #99137 from yujuhong/automated-cherry-pick-of-#988…
k8s-ci-robot Mar 11, 2021
8b66415
Merge pull request #99745 from jingxu97/automated-cherry-pick-of-#994…
k8s-ci-robot Mar 11, 2021
8e3ec7d
Merge pull request #100144 from robscott/automated-cherry-pick-of-#99…
k8s-ci-robot Mar 12, 2021
ef6e345
Merge pull request #100114 from robscott/automated-cherry-pick-of-#99…
k8s-ci-robot Mar 12, 2021
9e2169b
Merge pull request #99209 from iwankgb/cadvisor_0.37.5
k8s-ci-robot Mar 12, 2021
67aa54c
Merge pull request #100104 from bobbypage/automated-cherry-pick-of-#9…
k8s-ci-robot Mar 12, 2021
f56e477
Merge pull request #99206 from huffmanca/automated-cherry-pick-of-#96…
k8s-ci-robot Mar 13, 2021
f8ec7f5
Merge pull request #99771 from iwankgb/automated-cherry-pick-of-#9946…
k8s-ci-robot Mar 13, 2021
e3c95e5
For LoadBalancer Service type don't create a HNS policy for empty or …
sbangari Jan 31, 2021
b6fa3b5
Merge pull request #100038 from gjkim42/automated-cherry-pick-of-#996…
k8s-ci-robot Mar 15, 2021
1f81a33
tweak validation to avoid mutation
deads2k Jan 29, 2021
8490f0b
remove unnecessary mutations in validation
deads2k Feb 15, 2021
aaf49c8
move secret mutation from validation to prepareforupdate
deads2k Feb 15, 2021
39e3436
add markers for inspected validation mutation hits
deads2k Feb 15, 2021
23b5a0b
remove pod toleration toleration seconds mutation
deads2k Feb 15, 2021
9c7ac00
full deepcopy on munged pod spec
deads2k Feb 15, 2021
0fdd03d
deepcopy statefulsets
deads2k Feb 17, 2021
d97ab9e
bazel
deads2k Mar 17, 2021
9dd794e
Release commit for Kubernetes v1.19.9
Mar 18, 2021
591cf98
Release commit for Kubernetes v1.19.10-rc.0
Mar 18, 2021
2c03527
Update CHANGELOG/CHANGELOG-1.19.md for v1.19.9
Mar 18, 2021
dcf3acd
Increasing maximum number of ports allowed in EndpointSlice
robscott Mar 4, 2021
e27917f
Use the correct volum handle format for GCE regional PD.
TeweiLuo Feb 17, 2021
7266a38
Revert "Automated cherry pick of #97417: fix azure file secret not fo…
andyzhangx Mar 19, 2021
3207efe
additional subnet configuration for AWS ELB
kishorj Dec 21, 2020
42a3d75
apiserver add --lease-reuse-duration-seconds to config lease reuse du…
lingsamuel Dec 2, 2020
0e3a7ac
update metadata-concealment to 1.6 for removing legacy checking
pacoxu Jan 24, 2021
2e96760
Merge pull request #100462 from liggitt/automated-cherry-pick-of-#983…
k8s-ci-robot Mar 23, 2021
537b8d3
apiserver add metric etcd_lease_object_counts
lingsamuel Dec 7, 2020
3820a5d
api-server add --lease-max-object-count
lingsamuel Dec 7, 2020
8421ba2
webhook config manager: HasSynced returns true when the manager is sy…
roycaihw Mar 17, 2021
bfef9b0
Merge pull request #100381 from robscott/automated-cherry-pick-of-#99…
k8s-ci-robot Mar 23, 2021
e743efc
slice mirroring controller mirror annotations
Jan 16, 2021
42a87d0
Merge pull request #100316 from deads2k/automated-cherry-pick-of-#999…
k8s-ci-robot Mar 23, 2021
ec78c0f
Merge pull request #100494 from roycaihw/automated-cherry-pick-of-#95…
k8s-ci-robot Mar 23, 2021
e7b1693
Update to go1.15.10
cpanato Mar 18, 2021
78e74ae
Use go-runner:v2.3.1-go1.15.10-buster.0 image (built on go1.15.10)
cpanato Mar 18, 2021
6a68d8e
build: Update to k/[email protected] (supports go1.15.10)
cpanato Mar 18, 2021
fd668bb
staging/publishing: Set default go version to go1.15.10
cpanato Mar 18, 2021
70849fa
Merge pull request #100520 from cpanato/automated-cherry-pick-of-#100…
k8s-ci-robot Mar 24, 2021
f15092f
Stop probing a pod during graceful shutdown
matthyx Jan 29, 2021
1c6007b
apf: handle error from PollImmediateUntil
tkashem Mar 15, 2021
229f233
e2e fix: loosen configmap to 10 in resource quota
pacoxu Mar 10, 2021
547e8c7
Update sigs.k8s.io/structured-merge-diff to v4.0.3
apelisse Mar 24, 2021
15596ce
update gogo/protobuf to v1.3.2
joelsmith Mar 24, 2021
03a5a7d
Fixed describe ingress causing SEGFAULT
lauchokyip Mar 23, 2021
3303966
Merge pull request #99040 from apelisse/update-smd-1.19
k8s-ci-robot Mar 25, 2021
819643c
Merge pull request #100542 from eddiezane/automated-cherry-pick-of-#1…
k8s-ci-robot Mar 25, 2021
3418cfb
Merge pull request #100532 from liggitt/automated-cherry-pick-of-#100…
k8s-ci-robot Mar 26, 2021
9650595
Fixed the Dockerfile for the build-image to build from KUBE_BASE_IMAG…
Joseph-Goergen Mar 1, 2021
0e8b1c0
Merge pull request #100528 from tkashem/automated-cherry-pick-of-#100…
k8s-ci-robot Mar 29, 2021
0817555
Merge pull request #100515 from joelsmith/release-1.19
k8s-ci-robot Mar 29, 2021
1a11e2a
Merge pull request #100504 from aojea/automated-cherry-pick-of-#10044…
k8s-ci-robot Mar 29, 2021
2392e90
apf: fix test flake
tkashem Mar 29, 2021
9b98186
Merge pull request #100669 from tkashem/automated-cherry-pick-of-#100…
k8s-ci-robot Mar 30, 2021
b662200
Add ability to skip OpenAPI handler installation
kevindelgado Mar 17, 2021
5f2edef
Merge pull request #100398 from andyzhangx/revert-97450-automated-che…
k8s-ci-robot Mar 31, 2021
2d4c746
Merge pull request #100227 from sbangari/automated-cherry-pick-of-#99…
k8s-ci-robot Apr 1, 2021
95d7633
Stop clearing OpenAPIConfig for kube-aggregator
liggitt Jan 28, 2021
108cd2f
Stop skipping APIService in apply test
liggitt Jan 28, 2021
2d0425c
Use apply to create objects in TestApplyStatus
liggitt Jan 28, 2021
e366283
Add yaml util to unmarshal numbers into int/float
nodo Oct 23, 2020
64c9b22
Merge pull request #100713 from kevindelgado/automated-cherry-pick-of…
k8s-ci-robot Apr 8, 2021
9011760
Merge pull request #98732 from andyxning/automated-cherry-pick-of-#93…
k8s-ci-robot Apr 8, 2021
6b1f5f1
Merge pull request #100416 from kishorj/automated-cherry-pick-of-#974…
k8s-ci-robot Apr 8, 2021
75aca05
Merge pull request #100450 from mborsz/automated-cherry-pick-of-#9700…
k8s-ci-robot Apr 8, 2021
af4c692
azure: fix node public IP not able to fetch issues from IMDS
nilo19 Mar 31, 2021
e74f83e
Merge pull request #100076 from ialidzhikov/automated-cherry-pick-of-…
k8s-ci-robot Apr 8, 2021
188374f
Merge pull request #97975 from kishorj/automated-cherry-pick-of-#9283…
k8s-ci-robot Apr 8, 2021
ec57166
Merge pull request #100911 from nilo19/bug/cherry-pick-100690-1.19
k8s-ci-robot Apr 9, 2021
a1ee076
Cleanup portforward streams after their usage
saschagrunert Mar 5, 2021
3c8081f
Merge pull request #100526 from matthyx/automated-cherry-pick-of-#985…
k8s-ci-robot Apr 9, 2021
53bcdfd
list pod list once to avoid timeout
AliceZhang2016 Apr 1, 2021
a399c31
apf: exempt probes /healthz /livez /readyz
tkashem Mar 30, 2021
98d5dc5
Release commit for Kubernetes v1.19.10
Apr 15, 2021
b34e13d
Release commit for Kubernetes v1.19.11-rc.0
Apr 15, 2021
0ffed47
Update CHANGELOG/CHANGELOG-1.19.md for v1.19.10
Apr 15, 2021
88b2892
add duration encoder to structured logger
rphillips Mar 9, 2021
a705141
Update to go1.15.11
cpanato Apr 16, 2021
c1b9ec7
Use go-runner:v2.3.1-go1.15.11-buster.0 image (built on go1.15.11)
cpanato Apr 16, 2021
c52ea10
build: Update to k/[email protected] (supports go1.15.11)
cpanato Apr 16, 2021
8a7e42a
staging/publishing: Set default go version to go1.15.10
cpanato Apr 16, 2021
222612f
Merge pull request #101197 from cpanato/automated-cherry-pick-of-#101…
k8s-ci-robot Apr 17, 2021
13c153e
Fix test
wzshiming Apr 14, 2021
f057575
Fix startupProbe behaviour changed
wzshiming Apr 14, 2021
c8ca35d
Merge pull request #101040 from AliceZhang2016/automated-cherry-pick-…
k8s-ci-robot Apr 19, 2021
474b88b
Additional CVE-2021-3121 fix
joelsmith Apr 21, 2021
3e8d456
Merge pull request #101327 from joelsmith/automated-cherry-pick-of-#1…
k8s-ci-robot Apr 21, 2021
9093601
pkg/kubelet: improve the node informer sync check
neolit123 Feb 23, 2021
66a0b61
fix: azure file namespace issue in csi translation
andyzhangx Apr 19, 2021
404db43
Make parallel build memory threshold configurable
saschagrunert Nov 26, 2020
006614e
Updating EndpointSlice validation to match Endpoints validation
robscott Apr 9, 2021
0ce4313
Merge pull request #101387 from robscott/automated-cherry-pick-of-#10…
k8s-ci-robot Apr 26, 2021
a3f3937
Ensure service deleted when the Azure resource group has been deleted
feiskyer Apr 9, 2021
17aa39a
no watch endpointslice in userpace mode
JornShen Apr 8, 2021
d9839a3
Merge pull request #101365 from xmudrii/automated-cherry-pick-of-#968…
k8s-ci-robot Apr 27, 2021
1c20ab7
Extend pod start timeout to 5min for storage subpath configmap test
verult Apr 22, 2021
1c130f5
Normalize share name to not include capital letters
kassarl Mar 31, 2021
5a5fb3e
Update pkg/volume/azure_file/azure_provision.go
kassarl Apr 1, 2021
264b664
Backport SIG Node approvers to 1.19
ehashman Apr 28, 2021
ecb3ce9
Merge pull request #101344 from neolit123/automated-cherry-pick-of-#9…
k8s-ci-robot Apr 28, 2021
6e99334
Merge pull request #101225 from wzshiming/automated-cherry-pick-of-#1…
k8s-ci-robot Apr 28, 2021
f223625
Merge pull request #101591 from ehashman/node-owners-1.19
k8s-ci-robot Apr 28, 2021
3ed2eb7
Merge pull request #101113 from tkashem/automated-cherry-pick-of-#100…
k8s-ci-robot Apr 30, 2021
c76048f
Merge pull request #101502 from JornShen/cherry-pick-100913-1.19
k8s-ci-robot May 4, 2021
b31ecc8
Merge pull request #101546 from verult/automated-cherry-pick-of-#1013…
k8s-ci-robot May 6, 2021
7b3b4fb
Updating EndpointSlice controllers to avoid duplicate creations
robscott Mar 10, 2021
15fff6a
Merge pull request #101159 from serathius/automated-cherry-pick-of-#1…
k8s-ci-robot May 6, 2021
834f555
Merge pull request #101356 from andyzhangx/automated-cherry-pick-of-#…
k8s-ci-robot May 7, 2021
59dede3
Merge pull request #101499 from ialidzhikov/automated-cherry-pick-of-…
k8s-ci-robot May 7, 2021
365baf0
Merge pull request #101551 from andyzhangx/automated-cherry-pick-of-#…
k8s-ci-robot May 7, 2021
3f263e1
Merge pull request #101764 from aojea/automated-cherry-pick-of-#10176…
k8s-ci-robot May 7, 2021
188ec68
Fix watchForLockfileContention memory leak
wzshiming Mar 17, 2021
cc22cfa
Merge pull request #100953 from saschagrunert/automated-cherry-pick-o…
k8s-ci-robot May 8, 2021
2baad9c
Avoid caching the VMSS instances whose network profile is nil
feiskyer Apr 9, 2021
80ceda8
Update to go1.15.12
cpanato May 9, 2021
28b3f42
Use go-runner:v2.3.1-go1.15.12-buster.0 image (built on go1.15.12)
cpanato May 9, 2021
9cff3bb
build: Update to k/[email protected] (supports go1.15.12)
cpanato May 9, 2021
c5058d5
staging/publishing: Set default go version to go1.15.12
cpanato May 9, 2021
0657e7d
Merge pull request #101846 from cpanato/automated-cherry-pick-of-#101…
k8s-ci-robot May 10, 2021
b51e0ad
Use CSI driver to determine unique name for migrated in-tree plugins
Jiawei0227 May 6, 2021
b434bcf
chunk target operatation for aws targetGroup
M00nF1sh Apr 28, 2021
c6a2f08
Release commit for Kubernetes v1.19.11
May 12, 2021
dae1329
Release commit for Kubernetes v1.19.12-rc.0
May 12, 2021
f1eb4b6
Update CHANGELOG/CHANGELOG-1.19.md for v1.19.11
May 12, 2021
b27bb50
actually retry if we failed to reconcile some objects
roycaihw Nov 11, 2020
410c89f
Make watch order conformance test reliable
liggitt May 12, 2021
b34d486
Ref counting is only applicable to Remote endpoints
sbangari Apr 22, 2021
796ef2b
Merge pull request #100590 from Joseph-Goergen/automated-cherry-pick-…
k8s-ci-robot May 14, 2021
af95c1a
Merge pull request #101804 from Jiawei0227/automated-cherry-pick-of-#…
k8s-ci-robot May 18, 2021
34f9afc
Merge pull request #101983 from liggitt/automated-cherry-pick-of-#101…
k8s-ci-robot May 18, 2021
bf7fbff
Azure: avoid setting cached Sku when updating VMSS and VMSS instances
feiskyer May 19, 2021
6944f3d
fix: delete non existing disk issue
andyzhangx May 18, 2021
401d6d3
Merge pull request #101999 from sbangari/automated-cherry-pick-of-#10…
k8s-ci-robot May 21, 2021
322a3cf
Fix expired unit test certs
liggitt May 23, 2021
805a829
Merge pull request #102227 from liggitt/automated-cherry-pick-of-#102…
k8s-ci-robot May 23, 2021
b60482f
Respect annotation size limit for SSA last-applied.
julianvmodesto May 18, 2021
122e189
Merge pull request #102182 from julianvmodesto/automated-cherry-pick-…
k8s-ci-robot May 25, 2021
4099d69
Merge pull request #101954 from voutcn/automated-cherry-pick-of-#9644…
k8s-ci-robot May 25, 2021
aed1da3
Update debian-iptables to buster-v1.6.1
xmudrii May 25, 2021
3510044
Update debian-base to buster-v1.7.0
xmudrii May 25, 2021
833789b
Update etcd image revision
xmudrii May 25, 2021
e81a6ea
dependencies: update debian-base/debian-iptables regex
cpanato May 26, 2021
27ffcba
Merge pull request #102342 from cpanato/automated-cherry-pick-of-#102…
k8s-ci-robot May 27, 2021
010533d
Speed up PV provisioning for vsphere driver
gnufied Mar 9, 2021
dd181c7
Ignore transient errors when gather stats
jsturtevant Jan 28, 2021
e58f614
Fix VolumeAttachment garbage collection for migrated PVs
timebertt May 20, 2021
21900bc
Revert "Cleanup portforward streams after their usage"
saschagrunert Jun 4, 2021
f1bbe35
Merge pull request #102588 from saschagrunert/release-1.19
k8s-ci-robot Jun 4, 2021
d84eb6c
sched: fix a bug that a preemptor pod exists as a phantom
Huang-Wei Jun 4, 2021
57534d0
Merge pull request #102458 from timebertt/automated-cherry-pick-of-#1…
k8s-ci-robot Jun 8, 2021
20a449f
Merge pull request #102117 from feiskyer/automated-cherry-pick-of-#10…
k8s-ci-robot Jun 8, 2021
3afbb7b
Merge pull request #102165 from andyzhangx/automated-cherry-pick-of-#…
k8s-ci-robot Jun 8, 2021
66fa7b4
Return UnschedulableAndUnresolvable instead of Error when failing to …
ahg-g May 25, 2021
369eafa
Return UnschedulableAndUnresolvable when looking up volume-related re…
ahg-g Jun 1, 2021
3e3f1fb
Merge pull request #102351 from gnufied/speedup-vsphere-pv-provisioni…
k8s-ci-robot Jun 8, 2021
9a6d0c7
Merge pull request #102675 from Huang-Wei/automated-cherry-pick-of-#1…
k8s-ci-robot Jun 8, 2021
13cc921
Merge pull request #101827 from feiskyer/automated-cherry-pick-of-#10…
k8s-ci-robot Jun 8, 2021
67f68f9
Merge pull request #102500 from jsturtevant/automated-cherry-pick-of-…
k8s-ci-robot Jun 8, 2021
f8cc40f
Merge pull request #101814 from melnikalex/automated-cherry-pick-of-#…
k8s-ci-robot Jun 9, 2021
6435032
Update to go1.15.13
thejoycekung Jun 10, 2021
9c5a534
Use go-runner:v2.3.1-go1.15.13-buster.0 image (built on go1.15.13)
thejoycekung Jun 10, 2021
4bf9ec5
build: Update to k/[email protected] (supports go1.15.13)
thejoycekung Jun 10, 2021
5d89439
staging/publishing: Set default go version to go1.15.13
thejoycekung Jun 10, 2021
79a4ef2
Merge pull request #102695 from ahg-g/automated-cherry-pick-of-#10230…
k8s-ci-robot Jun 11, 2021
a793120
Merge pull request #101797 from wzshiming/automated-cherry-pick-of-#1…
k8s-ci-robot Jun 14, 2021
5dd397c
Merge pull request #102809 from thejoycekung/automated-cherry-pick-of…
k8s-ci-robot Jun 15, 2021
2cb4598
Release commit for Kubernetes v1.19.12
Jun 16, 2021
a952d3f
Merge remote-tracking branch 'openshift/release-4.6' into rebase-1.19…
damemi Jul 7, 2021
92e787e
UPSTREAM: 95002: stops puting a stacktrace of aborted requests in the…
p0lyn0mial Sep 24, 2020
4bdb7df
UPSTREAM: 96424: put a message, not a stack, in the log on a timeout
deads2k Nov 10, 2020
9819784
UPSTREAM: 96217: DelegatingAuthenticationOptions TokenReview client t…
p0lyn0mial Dec 7, 2020
380f6b5
UPSTREAM: 96572: kubelet: do not rerun init containers if any main co…
sjenning Nov 13, 2020
deeaaa0
UPSTREAM: 96310: PV e2e: fix race in NFS recycling test
tsmetana Nov 9, 2020
1c655f8
UPSTREAM: <carry>: Override termination grace period on annotation
ehashman Jan 15, 2021
b786ac8
UPSTREAM: 93510: Allow test images to be in a single mirror
smarterclayton Jul 21, 2020
09e2257
UPSTREAM: <carry>: Add DOWNSTREAM_OWNERS
sttts Jan 25, 2021
a46e11d
UPSTREAM: 89885: SQUASH: Fix Cinder provisioning crashing on nil clou…
jsafrane Nov 4, 2020
a57134b
UPSTREAM: 89885: SQUASH: Report OpenStack cloud initialization errors
jsafrane Nov 4, 2020
ff52c5a
UPSTREAM: 98787: Allow zones to be passed to e2e cloud provider
smarterclayton Feb 5, 2021
2b826b3
UPSTREAM: 98781: Allow test invokers to skip test waits before and after
smarterclayton Feb 5, 2021
67de33e
UPSTREAM: revert: 23578: Fix labels of cinder PVs
gnufied Mar 23, 2021
e42f754
UPSTREAM: 92692: fix loop bug for verify attached volume
Pingan2017 Jul 1, 2020
05061db
UPSTREAM: <carry>: Set informer for openstack
mandre Apr 13, 2021
ba9ce41
UPSTREAM: 98521: check externalNameService more time
danwinship May 11, 2021
d3dfa6a
UPSTREAM: 99393: kubelet: reduce configmap and secret watch
chenyw1990 Feb 24, 2021
b0b9a1f
UPSTREAM: 98424: register all pending pod deletions and check for kill
rphillips Feb 4, 2021
4e92042
UPSTREAM: <carry>: kubelet: fix APIs for 4.6 backport
ehashman Jun 1, 2021
2cf64b8
UPSTREAM: 98939: fixes race in TestSyncPodsDeletesWhenSourcesAreReady…
rphillips Feb 10, 2021
bda6919
UPSTREAM: 96048: kubelet/cm/devicemanager: fix race in stub
rphillips Oct 30, 2020
044b528
UPSTREAM: 98956: kubelet: Fix race when KillPod followed by IsPodPend…
gjkim42 Feb 9, 2021
4414ff5
UPSTREAM: 98956: kubelet: Simulate KillPod in TestSyncPodsDeletesWhen…
gjkim42 Feb 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move to cadvisor.MachineInfo
This patch removes GetNUMANodeInfo, cadvisor.MachineInfo will be used
instead of it. GetNUMANodeInfo was introduced due to difference of meaning of
MachineInfo.Topology. On the arm it was NUMA nodes, but on the x86 it
represents sockets (since reading from /proc/cpuinfo). Now it unified
and MachineInfo.Topology represents NUMA node.

Signed-off-by: Alexey Perevalov <[email protected]>
  • Loading branch information
AlexeyPerevalov authored and iwankgb committed Feb 20, 2021
commit 33547e4d2c79a044e5f61c9d0f5954d4bcfb1e1c
2 changes: 0 additions & 2 deletions pkg/kubelet/cm/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ go_library(
"//pkg/apis/core/v1/helper/qos:go_default_library",
"//pkg/kubelet/cadvisor:go_default_library",
"//pkg/kubelet/cm/containermap:go_default_library",
"//pkg/kubelet/cm/cpumanager/topology:go_default_library",
"//pkg/kubelet/cm/devicemanager:go_default_library",
"//pkg/kubelet/cm/util:go_default_library",
"//pkg/kubelet/events:go_default_library",
Expand Down Expand Up @@ -118,7 +117,6 @@ go_library(
"//pkg/apis/core/v1/helper/qos:go_default_library",
"//pkg/kubelet/cadvisor:go_default_library",
"//pkg/kubelet/cm/containermap:go_default_library",
"//pkg/kubelet/cm/cpumanager/topology:go_default_library",
"//pkg/kubelet/cm/devicemanager:go_default_library",
"//pkg/kubelet/cm/util:go_default_library",
"//pkg/kubelet/events:go_default_library",
Expand Down
13 changes: 2 additions & 11 deletions pkg/kubelet/cm/container_manager_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ import (
"k8s.io/kubernetes/pkg/kubelet/cadvisor"
"k8s.io/kubernetes/pkg/kubelet/cm/containermap"
"k8s.io/kubernetes/pkg/kubelet/cm/cpumanager"
cputopology "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/topology"
"k8s.io/kubernetes/pkg/kubelet/cm/devicemanager"
"k8s.io/kubernetes/pkg/kubelet/cm/topologymanager"
cmutil "k8s.io/kubernetes/pkg/kubelet/cm/util"
Expand Down Expand Up @@ -238,13 +237,6 @@ func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.I
if err != nil {
return nil, err
}
// Correct NUMA information is currently missing from cadvisor's
// MachineInfo struct, so we use the CPUManager's internal logic for
// gathering NUMANodeInfo to pass to components that care about it.
numaNodeInfo, err := cputopology.GetNUMANodeInfo()
if err != nil {
return nil, err
}
capacity := cadvisor.CapacityFromMachineInfo(machineInfo)
for k, v := range capacity {
internalCapacity[k] = v
Expand Down Expand Up @@ -300,7 +292,7 @@ func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.I

if utilfeature.DefaultFeatureGate.Enabled(kubefeatures.TopologyManager) {
cm.topologyManager, err = topologymanager.NewManager(
numaNodeInfo,
machineInfo.Topology,
nodeConfig.ExperimentalTopologyManagerPolicy,
)

Expand All @@ -315,7 +307,7 @@ func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.I

klog.Infof("Creating device plugin manager: %t", devicePluginEnabled)
if devicePluginEnabled {
cm.deviceManager, err = devicemanager.NewManagerImpl(numaNodeInfo, cm.topologyManager)
cm.deviceManager, err = devicemanager.NewManagerImpl(machineInfo.Topology, cm.topologyManager)
cm.topologyManager.AddHintProvider(cm.deviceManager)
} else {
cm.deviceManager, err = devicemanager.NewManagerStub()
Expand All @@ -330,7 +322,6 @@ func NewContainerManager(mountUtil mount.Interface, cadvisorInterface cadvisor.I
nodeConfig.ExperimentalCPUManagerPolicy,
nodeConfig.ExperimentalCPUManagerReconcilePeriod,
machineInfo,
numaNodeInfo,
nodeConfig.NodeAllocatableConfig.ReservedSystemCPUs,
cm.GetNodeAllocatableReservation(),
nodeConfig.KubeletRootDir,
Expand Down
4 changes: 2 additions & 2 deletions pkg/kubelet/cm/cpumanager/cpu_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ func (s *sourcesReadyStub) AddSource(source string) {}
func (s *sourcesReadyStub) AllReady() bool { return true }

// NewManager creates new cpu manager based on provided policy
func NewManager(cpuPolicyName string, reconcilePeriod time.Duration, machineInfo *cadvisorapi.MachineInfo, numaNodeInfo topology.NUMANodeInfo, specificCPUs cpuset.CPUSet, nodeAllocatableReservation v1.ResourceList, stateFileDirectory string, affinity topologymanager.Store) (Manager, error) {
func NewManager(cpuPolicyName string, reconcilePeriod time.Duration, machineInfo *cadvisorapi.MachineInfo, specificCPUs cpuset.CPUSet, nodeAllocatableReservation v1.ResourceList, stateFileDirectory string, affinity topologymanager.Store) (Manager, error) {
var topo *topology.CPUTopology
var policy Policy

Expand All @@ -137,7 +137,7 @@ func NewManager(cpuPolicyName string, reconcilePeriod time.Duration, machineInfo

case PolicyStatic:
var err error
topo, err = topology.Discover(machineInfo, numaNodeInfo)
topo, err = topology.Discover(machineInfo)
if err != nil {
return nil, err
}
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubelet/cm/cpumanager/cpu_manager_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ func TestCPUManagerGenerate(t *testing.T) {
}
defer os.RemoveAll(sDir)

mgr, err := NewManager(testCase.cpuPolicyName, 5*time.Second, machineInfo, nil, cpuset.NewCPUSet(), testCase.nodeAllocatableReservation, sDir, topologymanager.NewFakeManager())
mgr, err := NewManager(testCase.cpuPolicyName, 5*time.Second, machineInfo, cpuset.NewCPUSet(), testCase.nodeAllocatableReservation, sDir, topologymanager.NewFakeManager())
if testCase.expectedError != nil {
if !strings.Contains(err.Error(), testCase.expectedError.Error()) {
t.Errorf("Unexpected error message. Have: %s wants %s", err.Error(), testCase.expectedError.Error())
Expand Down
5 changes: 1 addition & 4 deletions pkg/kubelet/cm/cpumanager/topology/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,5 @@ go_test(
name = "go_default_test",
srcs = ["topology_test.go"],
embed = [":go_default_library"],
deps = [
"//pkg/kubelet/cm/cpuset:go_default_library",
"//vendor/github.com/google/cadvisor/info/v1:go_default_library",
],
deps = ["//vendor/github.com/google/cadvisor/info/v1:go_default_library"],
)
68 changes: 7 additions & 61 deletions pkg/kubelet/cm/cpumanager/topology/topology.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ package topology

import (
"fmt"
"io/ioutil"
"strings"

cadvisorapi "github.com/google/cadvisor/info/v1"
"k8s.io/klog/v2"
Expand Down Expand Up @@ -218,34 +216,28 @@ func (d CPUDetails) CPUsInCores(ids ...int) cpuset.CPUSet {
}

// Discover returns CPUTopology based on cadvisor node info
func Discover(machineInfo *cadvisorapi.MachineInfo, numaNodeInfo NUMANodeInfo) (*CPUTopology, error) {
func Discover(machineInfo *cadvisorapi.MachineInfo) (*CPUTopology, error) {
if machineInfo.NumCores == 0 {
return nil, fmt.Errorf("could not detect number of cpus")
}

CPUDetails := CPUDetails{}
numPhysicalCores := 0

for _, socket := range machineInfo.Topology {
numPhysicalCores += len(socket.Cores)
for _, core := range socket.Cores {
for _, node := range machineInfo.Topology {
numPhysicalCores += len(node.Cores)
for _, core := range node.Cores {
if coreID, err := getUniqueCoreID(core.Threads); err == nil {
for _, cpu := range core.Threads {
numaNodeID := 0
for id, cset := range numaNodeInfo {
if cset.Contains(cpu) {
numaNodeID = id
}
}
CPUDetails[cpu] = CPUInfo{
CoreID: coreID,
SocketID: socket.Id,
NUMANodeID: numaNodeID,
SocketID: core.SocketID,
NUMANodeID: node.Id,
}
}
} else {
klog.Errorf("could not get unique coreID for socket: %d core %d threads: %v",
socket.Id, core.Id, core.Threads)
core.SocketID, core.Id, core.Threads)
return nil, err
}
}
Expand Down Expand Up @@ -280,49 +272,3 @@ func getUniqueCoreID(threads []int) (coreID int, err error) {

return min, nil
}

// GetNUMANodeInfo uses sysfs to return a map of NUMANode id to the list of
// CPUs associated with that NUMANode.
//
// TODO: This is a temporary workaround until cadvisor provides this
// information directly in machineInfo. We should remove this once this
// information is available from cadvisor.
func GetNUMANodeInfo() (NUMANodeInfo, error) {
// Get the possible NUMA nodes on this machine. If reading this file
// is not possible, this is not an error. Instead, we just return a
// nil NUMANodeInfo, indicating that no NUMA information is available
// on this machine. This should implicitly be interpreted as having a
// single NUMA node with id 0 for all CPUs.
nodelist, err := ioutil.ReadFile("/sys/devices/system/node/online")
if err != nil {
return nil, nil
}

// Parse the nodelist into a set of Node IDs
nodes, err := cpuset.Parse(strings.TrimSpace(string(nodelist)))
if err != nil {
return nil, err
}

info := make(NUMANodeInfo)

// For each node...
for _, node := range nodes.ToSlice() {
// Read the 'cpulist' of the NUMA node from sysfs.
path := fmt.Sprintf("/sys/devices/system/node/node%d/cpulist", node)
cpulist, err := ioutil.ReadFile(path)
if err != nil {
return nil, err
}

// Convert the 'cpulist' into a set of CPUs.
cpus, err := cpuset.Parse(strings.TrimSpace(string(cpulist)))
if err != nil {
return nil, err
}

info[node] = cpus
}

return info, nil
}
82 changes: 33 additions & 49 deletions pkg/kubelet/cm/cpumanager/topology/topology_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,23 @@ import (
"testing"

cadvisorapi "github.com/google/cadvisor/info/v1"
"k8s.io/kubernetes/pkg/kubelet/cm/cpuset"
)

func Test_Discover(t *testing.T) {

tests := []struct {
name string
machineInfo cadvisorapi.MachineInfo
numaNodeInfo NUMANodeInfo
want *CPUTopology
wantErr bool
name string
machineInfo cadvisorapi.MachineInfo
want *CPUTopology
wantErr bool
}{
{
name: "FailNumCores",
machineInfo: cadvisorapi.MachineInfo{
NumCores: 0,
},
numaNodeInfo: NUMANodeInfo{},
want: &CPUTopology{},
wantErr: true,
want: &CPUTopology{},
wantErr: true,
},
{
name: "OneSocketHT",
Expand All @@ -49,17 +46,14 @@ func Test_Discover(t *testing.T) {
Topology: []cadvisorapi.Node{
{Id: 0,
Cores: []cadvisorapi.Core{
{Id: 0, Threads: []int{0, 4}},
{Id: 1, Threads: []int{1, 5}},
{Id: 2, Threads: []int{2, 6}},
{Id: 3, Threads: []int{3, 7}},
{SocketID: 0, Id: 0, Threads: []int{0, 4}},
{SocketID: 0, Id: 1, Threads: []int{1, 5}},
{SocketID: 0, Id: 2, Threads: []int{2, 6}},
{SocketID: 0, Id: 3, Threads: []int{3, 7}},
},
},
},
},
numaNodeInfo: NUMANodeInfo{
0: cpuset.NewCPUSet(0, 1, 2, 3, 4, 5, 6, 7),
},
want: &CPUTopology{
NumCPUs: 8,
NumSockets: 1,
Expand All @@ -84,22 +78,18 @@ func Test_Discover(t *testing.T) {
Topology: []cadvisorapi.Node{
{Id: 0,
Cores: []cadvisorapi.Core{
{Id: 0, Threads: []int{0}},
{Id: 2, Threads: []int{2}},
{SocketID: 0, Id: 0, Threads: []int{0}},
{SocketID: 0, Id: 2, Threads: []int{2}},
},
},
{Id: 1,
Cores: []cadvisorapi.Core{
{Id: 1, Threads: []int{1}},
{Id: 3, Threads: []int{3}},
{SocketID: 1, Id: 1, Threads: []int{1}},
{SocketID: 1, Id: 3, Threads: []int{3}},
},
},
},
},
numaNodeInfo: NUMANodeInfo{
0: cpuset.NewCPUSet(0, 2),
1: cpuset.NewCPUSet(1, 3),
},
want: &CPUTopology{
NumCPUs: 4,
NumSockets: 2,
Expand All @@ -120,24 +110,20 @@ func Test_Discover(t *testing.T) {
Topology: []cadvisorapi.Node{
{Id: 0,
Cores: []cadvisorapi.Core{
{Id: 0, Threads: []int{0, 6}},
{Id: 1, Threads: []int{1, 7}},
{Id: 2, Threads: []int{2, 8}},
{SocketID: 0, Id: 0, Threads: []int{0, 6}},
{SocketID: 0, Id: 1, Threads: []int{1, 7}},
{SocketID: 0, Id: 2, Threads: []int{2, 8}},
},
},
{Id: 1,
Cores: []cadvisorapi.Core{
{Id: 0, Threads: []int{3, 9}},
{Id: 1, Threads: []int{4, 10}},
{Id: 2, Threads: []int{5, 11}},
{SocketID: 1, Id: 0, Threads: []int{3, 9}},
{SocketID: 1, Id: 1, Threads: []int{4, 10}},
{SocketID: 1, Id: 2, Threads: []int{5, 11}},
},
},
},
},
numaNodeInfo: NUMANodeInfo{
0: cpuset.NewCPUSet(0, 6, 1, 7, 2, 8),
1: cpuset.NewCPUSet(3, 9, 4, 10, 5, 11),
},
want: &CPUTopology{
NumCPUs: 12,
NumSockets: 2,
Expand Down Expand Up @@ -166,17 +152,16 @@ func Test_Discover(t *testing.T) {
Topology: []cadvisorapi.Node{
{Id: 0,
Cores: []cadvisorapi.Core{
{Id: 0, Threads: []int{0, 4}},
{Id: 1, Threads: []int{1, 5}},
{Id: 2, Threads: []int{2, 2}}, // Wrong case - should fail here
{Id: 3, Threads: []int{3, 7}},
{SocketID: 0, Id: 0, Threads: []int{0, 4}},
{SocketID: 0, Id: 1, Threads: []int{1, 5}},
{SocketID: 0, Id: 2, Threads: []int{2, 2}}, // Wrong case - should fail here
{SocketID: 0, Id: 3, Threads: []int{3, 7}},
},
},
},
},
numaNodeInfo: NUMANodeInfo{},
want: &CPUTopology{},
wantErr: true,
want: &CPUTopology{},
wantErr: true,
},
{
name: "OneSocketHT fail",
Expand All @@ -185,22 +170,21 @@ func Test_Discover(t *testing.T) {
Topology: []cadvisorapi.Node{
{Id: 0,
Cores: []cadvisorapi.Core{
{Id: 0, Threads: []int{0, 4}},
{Id: 1, Threads: []int{1, 5}},
{Id: 2, Threads: []int{2, 6}},
{Id: 3, Threads: []int{}}, // Wrong case - should fail here
{SocketID: 0, Id: 0, Threads: []int{0, 4}},
{SocketID: 0, Id: 1, Threads: []int{1, 5}},
{SocketID: 0, Id: 2, Threads: []int{2, 6}},
{SocketID: 0, Id: 3, Threads: []int{}}, // Wrong case - should fail here
},
},
},
},
numaNodeInfo: NUMANodeInfo{},
want: &CPUTopology{},
wantErr: true,
want: &CPUTopology{},
wantErr: true,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got, err := Discover(&tt.machineInfo, tt.numaNodeInfo)
got, err := Discover(&tt.machineInfo)
if err != nil {
if tt.wantErr {
t.Logf("Discover() expected error = %v", err)
Expand Down
Loading