Skip to content

Commit

Permalink
fixing non flex shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-heinzmann-logmein authored and alfredkrohmer committed Feb 10, 2025
1 parent f3bc6a9 commit 5bd7dca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cluster-autoscaler/cloudprovider/oci/common/oci_shape.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func (osf *shapeGetterImpl) GetNodePoolShape(np *oke.NodePool) (*Shape, error) {
// Update the cache based on latest results
for _, s := range resp.Items {
osf.cache[*s.Shape] = &Shape{
Name: shapeName,
CPU: getFloat32(s.Ocpus) * 2, // convert ocpu to vcpu
GPU: getInt(s.Gpus),
MemoryInBytes: getFloat32(s.MemoryInGBs) * 1024 * 1024 * 1024,
Expand Down

0 comments on commit 5bd7dca

Please sign in to comment.