Quick Start

This page describes how to install and use the T4K Quick Start Plugin.

Deprecated Documentation

This document is deprecated and no longer supported. For accurate, up-to-date information, please refer to the documentation for the latest version of Trilio.

Quick Start

Introduction

T4K Quick Start is designed especially to help first-time users to evaluate, learn, and use Trilio for Kubernetes (T4K). The T4K Quick Start process uses tvk-quickstart kubectl plugin to get users up and running quickly. So if you are new to T4K and want to try it out, then T4K Quick Start is a perfect option for you. It is tested with OCP, RKE, GKE, DO, Mirantis, and upstream Kubernetes clusters.

What Does the Plugin Achieve?

  • Preflight check: Performs prerequisite checks for all T4K requirements.

  • T4K Installation: Installs T4K, TVM (UI), and free trial license.

  • T4K Management Console Configuration: Configures control access to the UI. Users can choose either Loadbalancer, Nodeport, or PortForwarding.

  • Target Creation: Creates and validates the target storage for storing backup images. Users can create an S3 (DigitalOCean Spaces / AWS S3) or an NFS-based target.

  • Run Backup and Restore of Sample Applications: Run sample tests for a label, namespace, operator, and helm-based applications. By default, these are performed against:

    • Label-based: MySQL Database application

    • Namespace-based: WordPress application

    • Operator-based: MySQL Database

    • Helm-based: MongoDB based application

QuickStart Pre-requisites:

  1. Common pre-requisites for the T4K installation can be found here.

  2. Install S3cmd from here.

  3. yq must be version 4 or above. Refer to here for further information.

  4. oc is required if running against OCP cluster - Install oc from here.

  5. Linux or macOS are supported. Windows is not supported at this time.

Installation, Upgrade, and Removal of tvk-quickstart kubectl Plugin

Krew is the plugin manager for kubectl command-line tool. The T4K Quick Start installation with krew is highly recommended, especially for first-time users. However, if there are any issues with your krew installation, then you may still install the T4K Quick Start kubectl plugin without krew.

To perform the T4K Quick Start installation executed with krew:\

  1. Add the T4K custom plugin index of krew, by using this command: kubectl krew index add tvk-interop-plugin https://github.com/trilioData/tvk-interop-plugins.git

  2. Perform the installation using this command: kubectl krew install tvk-interop-plugin/tvk-quickstart

Modes of Operation

There are two modes to use the T4K Quick Start plugin:

  1. Interactive

  2. Non-interactive

Interactive

  1. For interactive installation of T4K operator and manager, configure the T4K UI, create a target and run a sample backup restore, using the command: kubectl tvk-quickstart [options]

  2. During interactive execution, the user is prompted for input for various options that enable the plugin to perform installation and deployment operations. Use the information provided in the following table to guide you in these options:

A user may specify more than one option with each tvk-quickstart execution. For example, to install, configure, create a target and run samples quickly, execute the following single command:_ kubectl tvk-quickstart -i -c -t -s

Non-interactive

In non-interactive mode, tvk-quickstart performs all operations; preflight checks, installation, UI configuration, and runs sample backup and restore tests. However, all the user input is provided in a configuration file. Use the following steps to invoke tvk-quickstart in the non-interactive mode:

  1. Create an input_config file, using the sample input_config file as a template. The non-interactive mode leverages values in the input_config file.

  2. Edit any variables in the configuration file. Each variable description and the possible values of the variable is described in the following table.

  3. Run the following command to execute the plugin in a non-interactive method: kubectl tvk-quickstart -n

  4. The user is now prompted to provide the path of the input_config file.

Parameters For input_config

Last updated