summaryrefslogtreecommitdiff
path: root/common/constants
diff options
context:
space:
mode:
authorShelley-BaoYue <baoyue2@huawei.com>2022-09-15 17:41:45 +0800
committerShelley-BaoYue <baoyue2@huawei.com>2022-09-24 19:36:31 +0800
commitc85b7fe1f3fa34d486cd22b10b0dc55439f48b81 (patch)
treed2ab411d27186d83ee2186021b883f4783c86f22 /common/constants
parentremove old edged (diff)
downloadkubeedge-c85b7fe1f3fa34d486cd22b10b0dc55439f48b81.tar.gz
integrate Kubelet in egded
Signed-off-by: Shelley-BaoYue <baoyue2@huawei.com>
Diffstat (limited to 'common/constants')
-rw-r--r--common/constants/default.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/common/constants/default.go b/common/constants/default.go
index 8ef4bac13..0febf9285 100644
--- a/common/constants/default.go
+++ b/common/constants/default.go
@@ -48,9 +48,9 @@ const (
DefaultRemoteRuntimeEndpoint = "unix:///var/run/dockershim.sock"
DefaultRemoteImageEndpoint = "unix:///var/run/dockershim.sock"
DefaultPodSandboxImage = "kubeedge/pause:3.1"
- DefaultNodeStatusUpdateFrequency = 10
- DefaultImagePullProgressDeadline = 60
- DefaultRuntimeRequestTimeout = 2
+ DefaultNodeStatusUpdateFrequency = 10 * time.Second
+ DefaultImagePullProgressDeadline = time.Minute
+ DefaultRuntimeRequestTimeout = 2 * time.Second
DefaultImageGCHighThreshold = 80
DefaultImageGCLowThreshold = 40
DefaultMaximumDeadContainersPerPod = 1