FreeBSD
etcd deployments using FreeBSD
Starting with version 0.1.2 both etcd and etcdctl have been ported to FreeBSD and can be installed either via packages or ports system. Their versions have been recently updated to 0.2.0 so now etcd and etcdctl can be enjoyed on FreeBSD 10.0 (RC4 as of now) and 9.x, where they have been tested. They might also work when installed from ports on earlier versions of FreeBSD, but it is untested; caveat emptor.
Installation
Using pkgng package system
If pkgng is not installed, install it with command
pkg
and answering ‘Y’ when asked.Update the repository data with
pkg update
.Install etcd with
pkg install coreos-etcd coreos-etcdctl
.Verify successful installation by confirming
pkg info | grep etcd
matches:
r@fbsd10:/ # pkg info | grep etcd
coreosetcd0.2.0 Highlyavailable key value store and service discovery
coreosetcdctl0.2.0 Simple commandline client for etcd
r@fbsd10:/ #
- etcd and etcdctl are ready to use! For more information about using pkgng, please see: http://www.freebsd.org/doc/handbook/pkgngintro.html
Using ports system
If ports is not installed, install with
portsnap fetch extract
(it may take some time depending on hardware and network connection).Build etcd with
cd /usr/ports/devel/etcd && make install clean
. There will be an option to build and install documentation and etcdctl with it.If etcd wasn’t installed with etcdctl, it can be built later with
cd /usr/ports/devel/etcdctl && make install clean
.Verify successful installation by confirming
pkg info | grep etcd
matches:
r@fbsd10:/ # pkg info | grep etcd
coreosetcd0.2.0 Highlyavailable key value store and service discovery
coreosetcdctl0.2.0 Simple commandline client for etcd
r@fbsd10:/ #
- etcd and etcdctl are ready to use! For more information about using ports system, please see: https://www.freebsd.org/doc/handbook/portsusing.html
Issues
If there are any issues with the build/install procedure or there’s a problem that is local to FreeBSD only (for example, by not being able to reproduce it on any other platform, like OSX or Linux), please send a problem report using this page for more information: http://www.freebsd.org/sendpr.html
Last modified June 14, 2021: Renaming content/en/next folder to content/en/v3.5. Updating redirects, links, and config as needed. (#363) (138926b)