From 0450a2f5a66bedc25a7355c1baf0bb05a41d2dc3 Mon Sep 17 00:00:00 2001 From: Frank Kloeker Date: Wed, 15 May 2019 19:50:46 +0200 Subject: [PATCH] ARM support for etcd in install-guide Change-Id: Iddba4ef625eee59303bdef9d3434524807bd2c01 Closes-bug: #1721678 --- .../source/environment-etcd-obs.rst | 24 ++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/doc/install-guide/source/environment-etcd-obs.rst b/doc/install-guide/source/environment-etcd-obs.rst index 3709428cad..8c18adc7dc 100644 --- a/doc/install-guide/source/environment-etcd-obs.rst +++ b/doc/install-guide/source/environment-etcd-obs.rst @@ -33,7 +33,13 @@ Install and configure components # mkdir -p /var/lib/etcd # chown etcd:etcd /var/lib/etcd - - Download and install the etcd tarball: + - Determine your system architecture: + + .. code-block:: console + + # uname -m + + - Download and install the etcd tarball for x86_64/amd64: .. code-block:: console @@ -47,6 +53,20 @@ Install and configure components # cp /tmp/etcd/etcd /usr/bin/etcd # cp /tmp/etcd/etcdctl /usr/bin/etcdctl + Or download and install the etcd tarball for arm64: + + .. code-block:: console + + # ETCD_VER=v3.2.7 + # rm -rf /tmp/etcd && mkdir -p /tmp/etcd + # curl -L \ + https://github.com/coreos/etcd/releases/download/${ETCD_VER}/etcd-${ETCD_VER}-linux-arm64.tar.gz \ + -o /tmp/etcd-${ETCD_VER}-linux-arm64.tar.gz + # tar xzvf /tmp/etcd-${ETCD_VER}-linux-arm64.tar.gz \ + -C /tmp/etcd --strip-components=1 + # cp /tmp/etcd/etcd /usr/bin/etcd + # cp /tmp/etcd/etcdctl /usr/bin/etcdctl + 2. Create and edit the ``/etc/etcd/etcd.conf.yml`` file and set the ``initial-cluster``, ``initial-advertise-peer-urls``, ``advertise-client-urls``, ``listen-client-urls`` to the management @@ -74,6 +94,8 @@ Install and configure components Description=etcd - highly-available key value store [Service] + # Uncomment this on ARM64. + # Environment="ETCD_UNSUPPORTED_ARCH=arm64" LimitNOFILE=65536 Restart=on-failure Type=notify