mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-18 16:08:25 +00:00
clh: Increase the timeouts when using Conf Guests
Launching a pod with measured boot enabled seems to be taking longer than expected with Cloud Hypervisor, which leads to hitting a timeout limit. Let's double those timeout limits for now. Fixes: #5576 Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
parent
5f5b4f7da9
commit
76ef07a22d
@ -68,12 +68,12 @@ const (
|
|||||||
// Values based on:
|
// Values based on:
|
||||||
clhTimeout = 10
|
clhTimeout = 10
|
||||||
clhAPITimeout = 1
|
clhAPITimeout = 1
|
||||||
clhAPITimeoutConfidentialGuest = 10
|
clhAPITimeoutConfidentialGuest = 20
|
||||||
// Timeout for hot-plug - hotplug devices can take more time, than usual API calls
|
// Timeout for hot-plug - hotplug devices can take more time, than usual API calls
|
||||||
// Use longer time timeout for it.
|
// Use longer time timeout for it.
|
||||||
clhHotPlugAPITimeout = 5
|
clhHotPlugAPITimeout = 5
|
||||||
clhStopSandboxTimeout = 3
|
clhStopSandboxTimeout = 3
|
||||||
clhStopSandboxTimeoutConfidentialGuest = 5
|
clhStopSandboxTimeoutConfidentialGuest = 10
|
||||||
clhSocket = "clh.sock"
|
clhSocket = "clh.sock"
|
||||||
clhAPISocket = "clh-api.sock"
|
clhAPISocket = "clh-api.sock"
|
||||||
virtioFsSocket = "virtiofsd.sock"
|
virtioFsSocket = "virtiofsd.sock"
|
||||||
|
Loading…
Reference in New Issue
Block a user