LogoLogo
5.0.X
5.0.X
  • About Trilio for Kubernetes
    • Welcome to Trilio For Kubernetes
    • Version 5.0.X Release Highlights
    • Compatibility Matrix
    • Marketplace Support
    • Features
    • Use Cases
  • Getting Started
    • Getting Started with Trilio on Red Hat OpenShift (OCP)
    • Getting Started with Trilio for Upstream Kubernetes (K8S)
    • Getting Started with Trilio for AWS Elastic Kubernetes Service (EKS)
    • Getting Started with Trilio on Google Kubernetes Engine (GKE)
    • Getting Started with Trilio on VMware Tanzu Kubernetes Grid (TKG)
    • More Trilio Supported Kubernetes Distributions
      • General Installation Prerequisites
      • Rancher Deployments
      • Azure Cloud AKS
      • Digital Ocean Cloud
      • Mirantis Kubernetes Engine
      • IBM Cloud
    • Licensing
    • Using Trilio
      • Overview
      • Post-Install Configuration
      • Management Console
        • About the UI
        • Navigating the UI
          • UI Login
          • Cluster Management (Home)
          • Backup & Recovery
            • Namespaces
              • Namespaces - Actions
              • Namespaces - Bulk Actions
            • Applications
              • Applications - Actions
              • Applications - Bulk Actions
            • Virtual Machines
              • Virtual Machine -Actions
              • Virtual Machine - Bulk Actions
            • Backup Plans
              • Create Backup Plans
              • Backup Plans - Actions
            • Targets
              • Create New Target
              • Targets - Actions
            • Hooks
              • Create Hook
              • Hooks - Actions
            • Policies
              • Create Policies
              • Policies - Actions
          • Monitoring
          • Guided Tours
        • UI How-to Guides
          • Multi-Cluster Management
          • Creating Backups
            • Pause Schedule Backups and Snapshots
            • Cancel InProgress Backups
            • Cleanup Failed Backups
          • Restoring Backups & Snapshots
            • Cross-Cluster Restores
            • Namespace & application scoped
            • Cluster scoped
          • Disaster Recovery Plan
          • Continuous Restore
      • Command-Line Interface
        • YAML Examples
        • Trilio Helm Operator Values
    • Upgrade
    • Air-Gapped Installations
    • Uninstall
  • Reference Guides
    • T4K Pod/Job Capabilities
      • Resource Quotas
    • Trilio Operator API Specifications
    • Custom Resource Definition - Application
  • Advanced Configuration
    • AWS S3 Target Permissions
    • Management Console
      • KubeConfig Authenticaton
      • Authentication Methods Via Dex
      • UI Authentication
      • RBAC Authentication
      • Configuring the UI
    • Resource Request Requirements
      • Fine Tuning Resource Requests and Limits
    • Observability
      • Observability of Trilio with Prometheus and Grafana
      • Exported Prometheus Metrics
      • Observability of Trilio with Openshift Monitoring
      • T4K Integration with Observability Stack
    • Modifying Default T4K Configuration
  • T4K Concepts
    • Supported Application Types
    • Support for Helm Releases
    • Support for OpenShift Operators
    • T4K Components
    • Backup and Restore Details
      • Immutable Backups
      • Application Centric Backups
    • Retention Process
      • Retention Use Case
    • Continuous Restore
      • Architecture and Concepts
  • Performance
    • S3 as Backup Target
      • T4K S3 Fuse Plugin performance
    • Measuring Backup Performance
  • Ecosystem
    • T4K Integration with Slack using BotKube
    • Monitoring T4K Logs using ELK Stack
    • Rancher Navigation Links for Trilio Management Console
    • Optimize T4K Backups with StormForge
    • T4K GitHub Runner
    • AWS RDS snapshots using T4K hooks
    • Deploying Trilio For Kubernetes with Openshift ACM Policies
  • Krew Plugins
    • T4K QuickStart Plugin
    • Trilio for Kubernetes Preflight Checks Plugin
    • T4K Log Collector Plugin
    • T4K Cleanup Plugin
  • Support
    • Troubleshooting Guide
    • Known Issues and Workarounds
    • Contacting Support
  • Appendix
    • Ignored Resources
    • OpenSource Software Disclosure
    • CSI Drivers
      • Installing VolumeSnapshot CRDs
      • Install AWS EBS CSI Driver
    • T4K Product Quickview
    • OpenShift OperatorHub Custom CatalogSource
      • Custom CatalogSource in a restricted environment
    • Configure OVH Object Storage as a Target
    • Connect T4K UI hosted with HTTPS to another cluster hosted with HTTP or vice versa
    • Fetch DigitalOcean Kubernetes Cluster kubeconfig for T4K UI Authentication
    • Force Update T4K Operator in Rancher Marketplace
    • Backup and Restore Virtual Machines running on OpenShift
    • T4K For Volumes with Generic Storage
    • T4K Best Practices
Powered by GitBook
On this page
  • Cloud Native Backup and Restore of OpenShift Operators
  • Best Practice for OLM Dependencies
  • Backup Plan for OLM operator

Was this helpful?

  1. T4K Concepts

Support for OpenShift Operators

Learn about the backup and restore of OpenShift operators with Trilio for Kubernetes.

PreviousSupport for Helm ReleasesNextT4K Components

Was this helpful?

Operator Lifecycle Manager (OLM) helps users install, update, and manage the lifecycle of Kubernetes native applications (Operators) and their associated services running across their OpenShift Container Platform clusters. The OpenShift Container Platform web console provides management screens for cluster administrators to install Operators and grant specific projects access to the catalog of Operators available on the cluster.

Please review the official documentation for more information about OLM operators and their concepts.

Cloud Native Backup and Restore of OpenShift Operators

OLM efficiently installs and upgrades cloud-native applications on the OpenShift cluster via its web console, and the OpenShift UI provides visibility into your deployed applications.

Traditional methods, such as namespace-based backup, fall short in recognizing OLM operators. The namespace approach may miss certain operators and their associated custom resources if they exist in a different namespace. Consequently, a restore done using this method might be incomplete, and the restored applications may not appear as they did before the backup.

Trilio, on the other hand, excels at restoring OpenShift operators seamlessly. Recovering directly from your backup target, Trilio replaces the application in a way that maintains its continuous life cycle, as if no interruption occurred. Trilio ensures the preservation of OLM operators in their original forms, allowing them to be viewed seamlessly on the OpenShift UI. These operators can seamlessly resume their life cycles, receiving upgrades and updates akin to operators installed from the operator hub.

Best Practice for OLM Dependencies

Trilio adeptly recognizes all dependent operators linked to any operator and ensures their inclusion in the backup, along with their respective custom resources.

During the restoration process, Trilio follows a reverse sequence, starting with the restoration of dependent operators and their custom resources before moving on to the parent operator for which the backup was initiated.

In cases where a particular operator is already present in the cluster, Trilio detects this presence, skips those operators, and focuses on restoring their custom resources, which seamlessly align with the existing operators.

Backup Plan for OLM operator

To create a backup for an OLM operator, generate a Backup Plan at the application level and pick the operator along with its custom resources. In the Backup Plan's operator section, locate the OLM operators segment. By selecting this, you'll access a list of OLM operators present in the cluster, enabling you to choose the specific operator for backup.

After choosing the operator, it will display both the custom resources associated with it and any dependent operators it installs. Now, pick the custom resources you wish to incorporate into your backup. A sample Backup Plan will appear like this:

Click on Next and create the backupplan, which backups the OLM operators in its native form.

Note: Namespace backup doesn't support the OLM backups in its native form, so to backup OLM operators user has to define application level backupplan.

OLM operators may rely on other OLM operators designated as dependent operators. When installing an operator with dependencies, the associated dependent operators are automatically included. For detailed insights into OLM dependency resolution, refer to the .

official documentation