crate.operator.utils.crd module

crate.operator.utils.crd.has_compute_changed(old_spec, new_spec)

Compares the old and new cpu and memory configuration.

Parameters
  • old_spec – The old resource body.

  • new_spec – The new resource body.

Return type

bool