Skip to content

Commit 5eecad2

Browse files
committed
Remove deprecated --cluster-concurrency flag in CABPK
Signed-off-by: Stefan Büringer [email protected]
1 parent f7006de commit 5eecad2

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

bootstrap/kubeadm/main.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ var (
8787
managerOptions = flags.ManagerOptions{}
8888
logOptions = logs.NewOptions()
8989
// CABPK specific flags.
90-
clusterConcurrency int
9190
clusterCacheConcurrency int
9291
kubeadmConfigConcurrency int
9392
skipCRDMigrationPhases []string
@@ -130,10 +129,6 @@ func InitFlags(fs *pflag.FlagSet) {
130129
fs.BoolVar(&enableContentionProfiling, "contention-profiling", false,
131130
"Enable block profiling")
132131

133-
fs.IntVar(&clusterConcurrency, "cluster-concurrency", 10,
134-
"Number of clusters to process simultaneously")
135-
_ = fs.MarkDeprecated("cluster-concurrency", "This flag has no function anymore and is going to be removed in a next release. Use \"--clustercachetracker-concurrency\" instead.")
136-
137132
fs.IntVar(&clusterCacheConcurrency, "clustercache-concurrency", 100,
138133
"Number of clusters to process simultaneously")
139134

docs/book/src/developer/providers/migrations/v1.12-to-v1.13.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ Any feedback or contributions to improve following documentation is welcome!
5252
## Removals
5353

5454
- The deprecated `ClusterCache.GetClientCertificatePrivateKey` method has been removed.
55+
- The deprecated `--cluster-concurrency` CABPK command-line flag has been removed
5556

5657
## Suggested changes for providers
5758

0 commit comments

Comments
 (0)