У меня есть следующий etcd.conf, и если я пытаюсь запустить службу etcd с помощью следующей команды, он выдает следующее:etcd неизвестную работу при запуске службы
ubuntu$ service etcd start
start: Unknown job: etcd
etcd.conf
# vim:set ft=upstart ts=2 et:
description "etcd"
author "etcd maintainers"
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
setuid etcd
env ETCD_DATA_DIR=/var/lib/etcd
export ETCD_DATA_DIR
exec /usr/bin/etcd --name="client1"\
--advertise-client-urls="http://172.16.8.244:2379,http://172.16.8.244:4001"\
--listen-client-urls="http://0.0.0.0:2379,http://0.0.0.0:4001"
--listen-peer-urls "http://0.0.0.0:2380"\
--initial-advertise-peer.urls "http://172.16.8.244:2380"\
--initial-cluster-token $(uuidgen)\
--initial-cluster "cient2=http://172.16.8.244:2380"\
--initial-cluster-state "new"
Вы можете показать команду, которую вы использовали для запуска? кажется, что вы строите ProjectCalico? –
Я использую «сервис etcd start» @ sel-fish –