diff --git a/eci.go b/eci.go index e915526..8ba1a37 100644 --- a/eci.go +++ b/eci.go @@ -188,7 +188,7 @@ func (p *ECIProvider) CreatePod(ctx context.Context, pod *v1.Pod) error { // 添加抢占式实例策略配置 request.SpotStrategy = "SpotAsPriceGo" // 设置抢占式实例策略为按价格竞价 request.SpotDuration = 0 // 设置抢占式实例持续时间为0(非定时抢占) - + // get containers containers, err := p.getContainers(pod, false) initContainers, err := p.getContainers(pod, true)