【问题标题】:Azure Spot VM average up timeAzure Spot VM 平均正常运行时间
【发布时间】:2023-01-13 00:29:03
【问题描述】:
标签:
azure
kubernetes
azure-virtual-machine
preemptive
【解决方案1】:
当您的工作负载可以处理突然中断而不会过多损坏进程时,主要使用 Azure 点 VM。
说到百分比,公式如下所示:
(total_evictions * time_lost) / total_runtime = eviction rate
因此,例如,假设您要运行 VM 100 小时,并且逐出率为 5%,逐出的次数很难说,但可能类似于以下示例:
// 50 evictions, each removed 0.1h of computation time.
(50 * 0.1) / 100 = 0.05 = 5%
// 10 evictions, each removed 1h of computation time.
(10 * 1) / 100 = 0.05 = 5%
// 2 evictions, each removed 5h of computation time.
(2 * 5) / 100 = 0.05 = 5%
所以你的问题没有确切的答案,也没有平均值,只有猜测和数学:)