Commit sets in a Kubernetes environment
AssigneeMicrosoft Technology Licensing, LLC
InventorsMark Gordon Libby, Ronald Mark Parker
Life of this patent
Estimating the term…
Abstract
Techniques are disclosed for performing operations in a distributed computing environment comprising a plurality of computing devices implementing a Kubernetes environment. An indication is received of one or more custom resources of the Kubernetes environment. The custom resources are grouped into a commit set. The commit set is defined as an atomic unit which either succeeds or fails atomically. It is determined that at least one of the custom resources has failed to complete. In response to the determination, the custom resources of the commit set are reverted to a previous consistent state.
Claims20
A method for performing operations in a distributed computing environment comprising a plurality of computing devices implementing a Kubernetes environment, the method comprising:
- grouping custom resources into a commit set, wherein the commit set is defined as an atomic unit which either succeeds or fails atomically;
- preserving previously saved states for the custom resources of the commit set;
- determining that at least one of the custom resources has failed to complete;
- and
- in response to the determination:
- discarding pending state data for the custom resources of the commit set;
- and
- restoring the previously saved states for the custom resources of the commit set.
A method for performing operations in a 5G network comprising a plurality of computing devices hosting a plurality of container clusters executing one or more network functions of the 5G network, the method comprising:
- grouping custom resources into a commit set, wherein the commit set is defined as an atomic unit which either succeeds or fails atomically;
- preserving previously saved states for the custom resources of the commit set;
- determining that at least one of the custom resources has failed to complete;
- and
- in response to the determination:
- discarding pending state data for the custom resources of the commit set;
- and
- restoring the previously saved states for the custom resources of the commit set.
A non-transitory computer-readable storage medium having computer-executable instructions stored thereupon which, when executed by one or more processors of a computing device, cause the computing device to perform operations comprising:
- grouping custom resources of a Kubernetes environment into a commit set, wherein the commit set is defined as an atomic unit which either succeeds or fails atomically;
- preserving previously saved states for the custom resources of the commit set;
- determining that at least one of the custom resources has failed to complete;
- and
- in response to the determination:
- discarding pending state data for the custom resources of the commit set;
- and
- restoring the previously saved states for the custom resources of the commit set.
Dependencies are inferred from the claim text.