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:
Common pre-requisites for the T4K installation can be found here.
Install S3cmd from here.
yq must be version 4 or above. Refer to here for further information.
oc is required if running against OCP cluster - Install oc from here.
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:\
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
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:
Interactive
Non-interactive
Interactive
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]
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:
Create an
input_config
file, using the sample input_config file as a template. The non-interactive mode leverages values in theinput_config
file.Edit any variables in the configuration file. Each variable description and the possible values of the variable is described in the following table.
Run the following command to execute the plugin in a non-interactive method:
kubectl tvk-quickstart -n
The user is now prompted to provide the path of the
input_config
file.
Parameters For input_config
input_config
Last updated