summaryrefslogtreecommitdiff
path: root/common/constants
diff options
context:
space:
mode:
authorShelley-BaoYue <baoyue2@huawei.com>2022-06-15 11:18:53 +0800
committerShelley-BaoYue <baoyue2@huawei.com>2022-09-18 15:29:52 +0800
commitc5b53f2b5af30e91c371c27bc321d27b6d248a81 (patch)
tree3d75f03db44880e5451cf18c307186578123a3b5 /common/constants
parentMerge pull request #4112 from Shelley-BaoYue/feature-new-edged-stage2 (diff)
downloadkubeedge-c5b53f2b5af30e91c371c27bc321d27b6d248a81.tar.gz
add node-lease resource
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
Diffstat (limited to 'common/constants')
-rw-r--r--common/constants/default.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/constants/default.go b/common/constants/default.go
index 75d686849..bfec31f46 100644
--- a/common/constants/default.go
+++ b/common/constants/default.go
@@ -91,6 +91,8 @@ const (
DefaultUpdateNodeWorkers = 4
DefaultDeletePodWorkers = 4
DefaultUpdateRuleStatusWorkers = 4
+ DefaultCreateLeaseWorkers = 4
+ DefaultQueryLeaseWorkers = 4
DefaultServiceAccountTokenWorkers = 4
DefaultUpdatePodStatusBuffer = 1024
@@ -105,6 +107,8 @@ const (
DefaultQueryNodeBuffer = 1024
DefaultUpdateNodeBuffer = 1024
DefaultDeletePodBuffer = 1024
+ DefaultCreateLeaseBuffer = 1024
+ DefaultQueryLeaseBuffer = 1024
DefaultServiceAccountTokenBuffer = 1024
DefaultPodEventBuffer = 1