From 57aecf9ab2317fc9602e882c199de22754b8bc1b Mon Sep 17 00:00:00 2001 From: Yadong Ding Date: Wed, 5 Jun 2024 17:19:50 +0800 Subject: [PATCH] fix: config error for test env Signed-off-by: Yadong Ding --- misc/performance/containerd_config.toml | 8 ++++---- misc/performance/nydusd_config.json | 6 +++++- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/misc/performance/containerd_config.toml b/misc/performance/containerd_config.toml index e2bc6705352..129a0e6a539 100644 --- a/misc/performance/containerd_config.toml +++ b/misc/performance/containerd_config.toml @@ -6,10 +6,10 @@ oom_score = 0 [debug] level = "debug" -[plugins."io.containerd.grpc.v1.cri"] - [plugins."io.containerd.grpc.v1.cri".containerd] - snapshotter = "nydus" - disable_snapshot_annotations = false +[plugins."io.containerd.grpc.v1.cri".containerd] + snapshotter = "nydus" + disable_snapshot_annotations = false + discard_unpacked_layers = false [proxy_plugins] [proxy_plugins.nydus] diff --git a/misc/performance/nydusd_config.json b/misc/performance/nydusd_config.json index e3691c38400..1f7fd38927b 100644 --- a/misc/performance/nydusd_config.json +++ b/misc/performance/nydusd_config.json @@ -4,7 +4,11 @@ "type": "registry", "config": { "scheme": "http", - "host": "localhost:5000" + "host": "localhost:5077", + "skip_verify": true, + "timeout": 5, + "connect_timeout": 5, + "retry_limit": 4 } }, "cache": {