How To Enable/Disable ETCD Backup Using Qbert API

Problem

You would like to enable/disable ETCD backup on an existing cluster using Qbert API.

Environment

  • Platform9 Managed Kubernetes - All versions
  • Qbert
  • ETCD

Procedure

  1. Obtain a token for authentication purposes. Keystone Identity API: This link describes the process for getting a Keystone authentication token in order to access the PMK REST APIs.
Command
Copy
  1. Run the following command to query the current ETCD Backup configuration.
Bash
Copy
Sample output
Copy
  1. Configure the ETCD Backup by running the following command.
Bash
Copy
Sample Output
Copy
Sample Output
Copy

Please configure the intervalInMins, storageType, and localPath properties as per your requirement.

  1. Validate if the ETCD Backup properties were updated in the Qbert DB.
Bash
Copy
Sample output
Copy

ETCD backup has been successfully enabled on your cluster.

  1. Disable the ETCD Backup by running the following command.
Bash
Copy
  1. Validate if the ETCD Backup properties were updated in the Qbert DB.
Bash
Copy
Sample Output
Copy
Sample Output
Copy

ETCD backup has been successfully disabled on the cluster.

Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard