Merge "ARM support for etcd in install-guide"
This commit is contained in:
commit
a3a64b54da
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user