This blog post has shared steps for backing up and restoring PostgreSQL running on Microsoft AKS using snapshots as the backup mechanism. Such use cases are described in the K10 documentation. You can also mask data, store it in an object store, and then read it from your local development cluster. K10 can be used to export the entire application stack and its data from production clusters and restore them to a geographically separate DR cluster. The workflow in this blog covers snapshot, backup, and restore in a single AKS cluster. Advanced Use Cases: Disaster Recovery (DR) and Mobility In the screenshot below, we can see that our postgresql application is now compliant with all policies. When a policy that applies to an application successfully executes a backup, the application’s compliance with the policy is reported in the application card. Following the successful install of PostgreSQL, click on the Applications card on the K10 dashboard to see the discovered PostgreSQL instance. K10 automatically discovers the instance of PostgreSQL. To validate the PostgreSQL install, use the command below in the postgresql namespace to confirm that all PostgreSQL pods display a status of Running within a couple of minutes. $ helm install my-release bitnami/postgresql Use the commands below to create a namespace called postgresql and install PostgreSQL into your AKS cluster. $ kubectl -namespace kasten.io port-forward service/gateway 8080:8000 2. You can now access the K10 dashboard at after running the command below. $ kubectl get pods -namespace kasten-io -watch T o validate K10 install, use the command below in K10’s namespace (kasten-io, by default) to confirm that all K10 pods display a status of Running within a couple of minutes. $ helm install k10 kasten/k10 -namespace=kasten-io \ You will need to specify your Azure tenant, service principal client ID, and service principal client secret. The Helm commands use Helm v3, but using Helm v2 is also straightforward.Īdd the Kasten Helm charts repository and create the namespace where K10 will be installed using the commands below. Before proceeding with the install, the install prerequisites (Helm package manager and Kasten Helm charts repository) need to be satisfied. In this example a “happy path” install is used for demo purposes. Installing Kasten K10 on Your AKS Clusterĭetailed instructions for installing K10 are available in the K10 documentation. Backup and restore workflow using Kasten K10ġ.Installing Kasten K10 on your AKS cluster.The instructions in this post are organized in three sections: If not, you can follow instructions here to deploy an AKS cluster using the Azure portal. I assume that you already have an AKS cluster set up. Kasten’s K10 data management platform, it is a secure software-only product that has been purpose-built for Kubernetes and provides operations teams an easy-to-use, scalable, and secure system for backup/restore, disaster recovery, and mobility of Kubernetes applications. PostgreSQL (often referred to as Postgres), is an Open Source relational database, popular in the cloud-native community. The fully managed AKS makes deploying and managing containerized applications easy and offers serverless Kubernetes, an integrated continuous integration and continuous delivery (CI/CD) experience, and enterprise-grade security and governance. There are two primary options for running Kubernetes on Azure: Azure Kubernetes Service (AKS), and Azure Red Hat OpenShift. In this blog post, we will walk through how to use Kasten K10 to backup and restore PostgreSQL databases operating in a Kubernetes environment on Microsoft Azure. PostgreSQL Backup and Restore on Microsoft Azure using Kasten K10 - part 1.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |