resourceVersion

  • resourceVersion is a sort of numerical hash that is changed each time the resource is changed.
    • The kubernetes api server uses that to determine if your request should be accepted or not.
  • It’s part of the metadata stanza
  • It is important to note that while the generation is modified only on spec changes, the resourceVersion is modified always.