Artyom Lukianov
86df524948
memory manager: provide unittest for the state package
...
The commit includes tests to verify the functionallity:
- to restore state from the file
- to store the state to the file
- to clean the state from old data
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-02-09 00:54:58 +02:00
Artyom Lukianov
48ca6e53e6
memory manager: provide and use the checkpoint manager
...
The checkpoint manager provides a way to save the memory manager
`MemoryTable` both under the memory and under the state file.
Saving the `MemoryTable` under the state file can be useful when kubelet
restarted and you want to restore memory allocations for running containers.
Also, it provides a way to monitor memory allocations done by the memory manager,
and in the future, the state file content can be exposed under the pod metrics.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-02-09 00:54:58 +02:00
Artyom Lukianov
4c75be0604
memory manager: provide the skeleton for the memory manager
...
Provide memory manager struct and methods that should be implemented.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com >
2021-02-09 00:54:58 +02:00
Maciej Szulik
c24b0a2a08
Promote cronjob controller v2 to beta
2021-02-08 14:54:20 +01:00
Dave Chen
06bc3b48af
Improve test coverage for service affinity
...
Pods that are filtered by the plugin should has UID associated, otherwise all those
matching pods will be filtered out, this is the against of the spec of testcases.
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-02-08 17:02:53 +08:00
Kubernetes Prow Robot
97d40890d0
Merge pull request #98802 from dabaooline/fix-ignorederr
...
fix ignored podinfo parserr
2021-02-07 17:53:11 -08:00
Abdullah Gharaibeh
880bbdad23
Graduate TTLAfterFinished to beta
2021-02-07 17:23:14 -05:00
Angela Li
1edb548b09
Use -LiteralPath instead of -Path
2021-02-06 22:45:46 -08:00
Kubernetes Prow Robot
425d29b39a
Merge pull request #98688 from wangkai1994/fix/pvc_protection_controller_log
...
migrate pkg/controller/volume/pvc_protection_controller.go to structured logs
2021-02-06 20:13:11 -08:00
shawnhanx
fa8d07d3e1
Apply suggestions from code review
...
Co-authored-by: bl-ue <54780737+bl-ue@users.noreply.github.com >
2021-02-07 09:23:07 +08:00
dabaooline
7c99f426cd
fix ignored podinfo parserr
...
Co-authored-by: Jie Shen <drfish.me@gmail.com >
2021-02-06 18:59:12 +08:00
Angela Li
0fd36b00bb
Escape the special character in vsphere windows path
2021-02-06 02:13:31 -08:00
Geonju Kim
321ca8af52
kubelet: Sync completed pods until their containers have been terminated
2021-02-06 14:06:50 +09:00
Kubernetes Prow Robot
c15851b777
Merge pull request #98793 from wzshiming/ut/speed-up-endpointslice
...
Speed up pkg/controller/endpointslice unit tests
2021-02-05 17:51:11 -08:00
Kubernetes Prow Robot
0faf096041
Merge pull request #98755 from aojea/hostportdockershim
...
dockershim hostport manager use HostIP
2021-02-05 14:06:42 -08:00
Kubernetes Prow Robot
036cab71a6
Merge pull request #98691 from pacoxu/cronjob-ut
...
run cronjob every 1minute in UT
2021-02-05 11:34:52 -08:00
pacoxu
8946f26769
update pause to 3.4.1 for kubelet/kubeadm
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-02-05 21:33:01 +08:00
Kubernetes Prow Robot
19c9cf7a20
Merge pull request #98717 from mengjiao-liu/subpath-permission
...
fix VolumeMount permissions with subpaths only apply the right permsions to the last directory
2021-02-05 02:48:51 -08:00
Antonio Ojea
ad4776ba54
dockershim hostport respect IPFamily
2021-02-05 08:51:33 +01:00
Antonio Ojea
f7d86e8b1c
dockershim hostport manager use HostIP
...
the hostport manager was not taking into consideration the hostIP
when binding the socket of the hostPort, causing that the same
HostPort can not be used with different IP addresses.
2021-02-05 08:51:33 +01:00
Kubernetes Prow Robot
6dc0047396
Merge pull request #98259 from tanjing2020/taint_manager_log
...
migrate scheduler/taint_manager.go structured logging
2021-02-04 23:50:51 -08:00
wzshiming
98eb869d63
Speed up pkg/controller/endpointslice unit tests
2021-02-05 15:28:37 +08:00
wzshiming
fb518af0fc
Speed up pkg/controller/volume/persistentvolume unit tests
2021-02-05 15:09:36 +08:00
Kubernetes Prow Robot
d3fce91fdc
Merge pull request #96293 from andyzhangx/azurefile-migration
...
azure file migration go beta
2021-02-04 22:32:51 -08:00
Kubernetes Prow Robot
f5fb1c93db
Merge pull request #96021 from huffmanca/dont-remove-volume
...
Dont remove volumes when saveVolumeData fails
2021-02-04 18:20:51 -08:00
Kubernetes Prow Robot
4eb9d825d5
Merge pull request #98489 from alculquicondor/job-testtable
...
Make sync Job test tables more readable
2021-02-04 15:55:16 -08:00
Kubernetes Prow Robot
c14465cafb
Merge pull request #98424 from rphillips/fixes/98142
...
kubelet: Pods created and rapidly terminated get stuck
2021-02-04 15:54:58 -08:00
Kubernetes Prow Robot
c1b3797f4b
Merge pull request #97824 from hanlins/fix/97225/hc-rules
...
Explicitly add iptables rule to allow healthcheck nodeport
2021-02-04 15:54:52 -08:00
Kubernetes Prow Robot
7bbffd1126
Merge pull request #96911 from munnerz/fix-typo-admission-chain
...
Fix typo in API docs for sideEffects field on admission webhook resources
2021-02-04 13:22:52 -08:00
Shihang Zhang
0134846f49
move BoundServiceAccountTokenVolume to beta
2021-02-04 10:34:02 -08:00
Ryan Phillips
f918e11e3a
register all pending pod deletions and check for kill
...
do not delete the cgroup from a pod when it is being killed
2021-02-04 11:45:42 -06:00
Kubernetes Prow Robot
3416b6b0a4
Merge pull request #98715 from carlory/truncate-message
...
fix kube-scheduler cannot send event because the Note field is too large
2021-02-04 08:20:32 -08:00
wzshiming
48eb16797c
Speed up pkg/volume/util/operationexecutor unit tests
2021-02-04 22:14:34 +08:00
andyzhangx
e22efa59da
azure file migration go beta
2021-02-04 12:56:23 +00:00
Carlos Panato
e57ea32158
networking/validation: add endport range validation
2021-02-04 10:28:26 +01:00
Morten Torkildsen
b63342af70
Fix nil pointer dereference in disruption controller
2021-02-03 21:04:29 -08:00
Morten Torkildsen
96ea28aa77
Check if resources implement scale in disruption controller
2021-02-03 20:19:35 -08:00
Kubernetes Prow Robot
ebe7380b38
Merge pull request #98518 from tanjing2020/change-log
...
migrate default_preemption.go to structured logging
2021-02-03 19:54:28 -08:00
carlory
0b730f04ce
fix kube-scheduler cannot send event because the Note field is too large
2021-02-04 10:36:11 +08:00
PingWang
4103ff490f
Extract the const for ContainerStateReason
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
update fmt
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
update test
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
2021-02-04 08:52:13 +08:00
Kubernetes Prow Robot
429eaca536
Merge pull request #98700 from Jiawei0227/update_label
...
Update gce-pd volume topology label to GA
2021-02-03 16:42:28 -08:00
Kubernetes Prow Robot
0083786ca9
Merge pull request #98481 from gavinfish/sched-isstatusequal
...
Scheduler: add StatusEqual func for Status comparer
2021-02-03 13:32:28 -08:00
Matthias Bertschy
e2edd4a055
Stop probing a pod during graceful shutdown
2021-02-03 19:23:21 +01:00
drfish
d15dacb57d
Add Equal func for Status struct
2021-02-04 00:32:01 +08:00
Hanlin Shi
4cd1eacbc1
Add rule to allow healthcheck nodeport traffic in filter table
...
1. For iptables mode, add KUBE-NODEPORTS chain in filter table. Add
rules to allow healthcheck node port traffic.
2. For ipvs mode, add KUBE-NODE-PORT chain in filter table. Add
KUBE-HEALTH-CHECK-NODE-PORT ipset to allow traffic to healthcheck
node port.
2021-02-03 15:20:10 +00:00
shawnhanx
0bee739a2f
Change the upper limit of threshold from 10000% to 100%
2021-02-03 21:55:49 +08:00
wangkai1994
7edf9e0155
change to kref and kobj
2021-02-03 17:45:38 +08:00
mengjiao.liu
d9138069fe
fix VolumeMount permissions with subpaths only apply the right permissions to the last directory
2021-02-03 16:25:47 +08:00
Jiawei Wang
e76f60d2b8
Update gce-pd volume topology label to GA
2021-02-02 19:13:57 -08:00
Kubernetes Prow Robot
686a5cee36
Merge pull request #98696 from gavinfish/sched-ut
...
Scheduler: organize scheduler unit tests into subtests
2021-02-02 14:06:49 -08:00