Skip to content

GCP: GKE: Price of custom machine types are showing price of predefined machine types. #496

@yz89122

Description

@yz89122

CloudCost Exporter Version

v0.8.2

Cloud Provider

GCP

Affected Modules(s)

GKE

Expected Behavior

Correctly show the price of custom machine types.

Actual Behavior

Price of custom machine types are showing price of predefined machine types.

Steps to Reproduce

  1. Setup a node pool with custom machine types.
  2. Scale out the node pool to at least 1 node.
  3. Find the instance on cloudcost-exporter /metrics.

Important Factoids

  • Some machine families support custom machine types.
  • Spot machine also have different price for custom machine types.

References

https://cloud.google.com/compute/all-pricing
https://cloud.google.com/spot-vms/pricing
https://cloudplatform.googleblog.com/2015/11/introducing-Custom-Machine-Types-the-freedom-to-configure-the-best-VM-shape-for-your-workload.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions