Переглянути джерело

Merge pull request #625 from kubecost/AjayTripathy-fix-gpu-err

do not pass in a 'cost' value for aws spot nodes
Ajay Tripathy 5 роки тому
батько
коміт
c3d64a7092
1 змінених файлів з 0 додано та 1 видалено
  1. 0 1
      pkg/cloud/awsprovider.go

+ 0 - 1
pkg/cloud/awsprovider.go

@@ -1006,7 +1006,6 @@ func (aws *AWS) createNode(terms *AWSProductTerms, usageType string, k Key) (*No
 			VCPUCost:     aws.BaseSpotCPUPrice,
 			RAM:          terms.Memory,
 			GPU:          terms.GPU,
-			GPUCost:      aws.BaseSpotGPUPrice,
 			RAMCost:      aws.BaseSpotRAMPrice,
 			Storage:      terms.Storage,
 			BaseCPUPrice: aws.BaseCPUPrice,