Skip to content

Commit be0fe3d

Browse files
committed
cpumanager: drop old custom file backend
The cpumanager file-based state backend was obsoleted since few releases, aving the cpumanager moved to the checkpointmanager common infrastructure. The old test checking compatibility to/from the old format is also no longer needed, because the checkpoint format is stable (see https://github.com/kubernetes/kubernetes/tree/master/pkg/kubelet/checkpointmanager). Signed-off-by: Francesco Romani <[email protected]>
1 parent 15bb54c commit be0fe3d

File tree

4 files changed

+1
-907
lines changed

4 files changed

+1
-907
lines changed

pkg/kubelet/cm/cpumanager/state/BUILD

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ go_library(
66
"checkpoint.go",
77
"state.go",
88
"state_checkpoint.go",
9-
"state_file.go",
109
"state_mem.go",
1110
],
1211
importpath = "k8s.io/kubernetes/pkg/kubelet/cm/cpumanager/state",
@@ -24,18 +23,13 @@ go_library(
2423

2524
go_test(
2625
name = "go_default_test",
27-
srcs = [
28-
"state_checkpoint_test.go",
29-
"state_compatibility_test.go",
30-
"state_file_test.go",
31-
],
26+
srcs = ["state_checkpoint_test.go"],
3227
embed = [":go_default_library"],
3328
deps = [
3429
"//pkg/kubelet/checkpointmanager:go_default_library",
3530
"//pkg/kubelet/cm/containermap:go_default_library",
3631
"//pkg/kubelet/cm/cpumanager/state/testing:go_default_library",
3732
"//pkg/kubelet/cm/cpuset:go_default_library",
38-
"//vendor/github.com/stretchr/testify/require:go_default_library",
3933
],
4034
)
4135

pkg/kubelet/cm/cpumanager/state/state_compatibility_test.go

Lines changed: 0 additions & 88 deletions
This file was deleted.

pkg/kubelet/cm/cpumanager/state/state_file.go

Lines changed: 0 additions & 278 deletions
This file was deleted.

0 commit comments

Comments
 (0)