Only Oteemo transforms business through acceleration, enablement, and adoption
Oteemo uniquely transforms teams and processes too
Why we’re different
Get to know us
Work with us
by Rob Kernick | Apr 27, 2018
Ark is an open source, kubernetes disaster recovery solution from Heptio. It allows you to backup all or part of your kubernetes cluster. It backs up all tags, deployments, persistent volumes, and more. I am going to walk through how to install and configure ark and then simulate a disaster recovery scenario.
The project can be found on github at https://github.com/heptio/ark . I am going to walk through some basic steps to get started using minio(https://github.com/minio/minio) as the storage for ark for simplicity. If you get stuck, just reach out on the #ark-dr channel in the Kubernetes Slack organization (http://slack.k8s.io/). People are usually pretty quick to respond.
I am going to use minio as the storage backend for simplicity. Minio is an S3 compatible object storage solution that runs inside a container. This allows ark to run all components within the cluster. This is not recommended for production backups. For production S3 is used on AWS, GCS Bucket on Google Cloud, etc.
Cloud provider specifics can be found here: https://git.io/vx4ZH
I am now going to simulate a real-world scenario of deploying an application. Then I will use ark to backup the namespace. Finally I will simulate a disaster and show how we can use ark to bring back resources.
Using kubectl, create an example deployment:
Now that we have a deployment, use ark to backup the namespace:
Next we will simulate a disaster: “Someone deleted the nginx namespace”:
Finally, we will use ark to restore the namespace:
As you can see, this makes it simple to backup and restore. You can take this a step further by automating backups using ark’s scheduler(https://git.io/vpk1x).
Here are some features to look for in the future:
More upcoming features can be found at: https://github.com/heptio/ark/blob/master/ROADMAP.md
Ark is a great project with many use cases and great potential for growth in the future. It has a solid community around it already eager to help out the newcomers using their project. If you are looking for a backup solution for your cluster, it seems like Ark has it figured out.
Kubernetes Tooling For TechOps And Support (Local Kubernetes Clusters)
Kubernetes tooling for TechOps and Support
Ingress 102: Kubernetes Ingress Implementation Options
As passionate technologists, we love to push the envelope. We act as strategists, practitioners and coaches to enable enterprises to adopt modern technology and accelerate innovation.
We help customers win by meeting their business objectives efficiently and effectively.
Join tens of thousands of your peers and sign-up for our best technology content curated by our experts. We never share or sell your email address!
© 2021 Oteemo Inc. All rights reserved