in

KubuntuKubuntu

How to Install ETCD for Linux Kubuntu 19.10?

A key-value store for distributed systems!!

Install ETCD for Kubuntu

Installation techniques – ETCD for Kubuntu 19.10:

This article will help you to Install the ETCD for Kubuntu 19.10. Make use of the installation steps to install it on your system.

Jump To:

Why ETCD for Kubuntu?

E

TCD: It is a well-built and compatible key-value store for the distributed systems or a cluster of machines. It provides a reliable way to store data. It elegantly handles the network partitions. ETCD implemented using the RAFT Algorithm to deal with the failovers on clusters.

Different Ways to Install ETCD for Kubuntu:

These are different techniques to install ETCD for Kubuntu. Make use of any one of these methods and start using it.

Install using Konsole command (Technique 1):

  • Launch the Konsole on your system by using the Application Launcher. Instead of it use the shortcut cut key CTRL+ALT+T to open Konsole.
  • Copy the below-mentioned command and execute it.
  • Now, you are required to enter your system password to confirm the installation.
$
sudo snap install etcd
Install ETCD using Konsole
Install ETCD using Konsole

Install using the Discover Software Center:

  • Launch the Discover Software Center on your system.
  • In the search bar, search the “etcd” application.
  • Click on the “Install” button to install it on your system.
Install Using Discover
Install Using Discover

Remove/Uninstall ETCD on Kubuntu:

  • Press the shortcut cut key CTRL+ALT+T to open Konsole.
  • Copy the following command and execute it.
  • Now, you are required to enter your system password to confirm the removal process.
$
sudo snap remove etcd
Remove ETCD
Remove ETCD

ETCD Available Command and Options:

Execute the following command on your Konsole to get the available Commands, Options, Version details.

$
etcdctl
COMMANDS:
backup          backup an etcd directory
cluster-health  check the health of the etcd cluster
mk              make a new key with a given value
mkdir           make a new directory
rm              remove a key or a directory
rmdir           removes the key if it is an empty directory or a key-value pair
get             retrieve the value of a key
ls              retrieve a directory
set             set the value of a key
setdir          create a new directory or update an existing directory TTL
update          update an existing key with a given value
updatedir       update an existing directory
watch           watch a key for changes
exec-watch      watch a key for changes and exec an executable
member          member add, remove and list subcommands
user            user add, grant and revoke subcommands
role            role add, grant and revoke subcommands
auth            overall auth controls
help, h         Shows a list of commands or help for one command
GLOBAL OPTIONS:
--debug                          output cURL commands which can be used to reproduce the request
--no-sync                        don't synchronize cluster information before sending request
--output simple, -o simple       output response in the given format (simple, `extended` or `json`) (defaul
t: "simple")
--discovery-srv value, -D value  domain name to query for SRV records describing cluster endpoints
--insecure-discovery             accept insecure SRV records describing cluster endpoints
--peers value, -C value          DEPRECATED - "--endpoints" should be used instead
--endpoint value                 DEPRECATED - "--endpoints" should be used instead
--endpoints value                a comma-delimited list of machine addresses in the cluster (default: "http
://127.0.0.1:2379,http://127.0.0.1:4001")
--cert-file value                identify HTTPS client using this SSL certificate file
--key-file value                 identify HTTPS client using this SSL key file
--ca-file value                  verify certificates of HTTPS-enabled servers using this CA bundle
--username value, -u value       provide username[:password] and prompt if password is not supplied.
--timeout value                  connection timeout per request (default: 2s)
--total-timeout value            timeout for the command execution (except watch) (default: 5s)
--help, -h                       show help
--version, -v                    print the version

Features of ETCD:

  • Simple interface: ETCD uses standard HTTP tools like curl to read and write the values.
  • Key-value storage: ETCD uses the standard file system, where all the data stored in hierarchically organized directories.
  • Watch for changes: ETCD  Watch every change in the directories or specific keys and immediately reacts to the changes in values.
  • Optional SSL client certificate authentication.
  • Benchmarked at 1000s of writes/s per instance.
  • Optional TTLs for keys expiration.
  • Properly distributed via Raft protocol.
Check this too  How to install Okteta on Ubuntu 20.04 LTS ?

Get in Touch with Us:

We hope that the above article portrays the simple installation steps for you to Install and Remove ETCD for Kubuntu 19.10. Please mention your queries in the comment section and your valued suggestions are always welcome. Keep learning with us. Thank you for visiting our website Tec Robust!!

Leave a Reply

Your email address will not be published. Required fields are marked *

Install UFW for Kubuntu

Install the UFW (Stable) on Linux Kubuntu 19.10!!

Install Termius Application for Kubuntu

How to Install Termius Application for Kubuntu 19.10?