CPC G06F 11/1464 (2013.01) [G06F 11/1451 (2013.01); G06F 21/6218 (2013.01); G06F 2201/84 (2013.01)] | 20 Claims |
1. A computer-implemented method comprising:
by a first data agent that operates outside of a first Kubernetes cluster, causing a data transfer agent to be deployed as a containerized application in a first pod executing within the first Kubernetes cluster, wherein the first data agent executes on a computing device that comprises one or more hardware processors, and wherein the first pod executes on a computing device within the first Kubernetes cluster that comprises one or more hardware processors;
by the data transfer agent, causing a hostPath volume to be created within the first Kubernetes cluster, and causing a first directory to be created within the hostPath volume;
by the first data agent, instructing the first Kubernetes cluster to generate a first snapshot of an etcd data store of the first Kubernetes cluster, and to store the first snapshot in the first directory of the hostPath volume, wherein the etcd data store, which is part of a control plane of the first Kubernetes cluster, comprises information that describes objects deployed in the first Kubernetes cluster;
by the data transfer agent, transmitting contents of the first snapshot in the first directory to the first data agent, as instructed by the first data agent;
by the first data agent, in conjunction with a media agent, generating a secondary copy of the etcd data store, and storing the secondary copy of the etcd data store at a data storage that is outside of the first Kubernetes cluster, wherein the secondary copy of the etcd data store is based on the contents of the first snapshot transmitted by the data transfer agent, wherein the secondary copy is in a backup format that is different from a native format of the etcd data store, and wherein the data storage comprises one or more data storage devices;
by the first data agent, based on the first data agent determining that the secondary copy of the etcd data store has been successfully stored at the data storage, causing the first Kubernetes cluster to tear down the first pod within the first Kubernetes cluster; and
wherein after the first snapshot, further comprising: by the first data agent, instructing the first Kubernetes cluster to generate subsequent snapshots of the etcd data store, and to store the subsequent snapshots of the etcd data store in the first directory of the hostPath volume without causing the hostPath volume and the first directory to be created again.
|