Docker Cookbook



Download 6,31 Mb.
Pdf ko'rish
bet145/260
Sana21.04.2022
Hajmi6,31 Mb.
#570749
1   ...   141   142   143   144   145   146   147   148   ...   260
Bog'liq
Docker Cookbook

"expiration"
:
"2015-01-19T17:50:15.797821504Z"
,
"key"
:
"/_etcd/registry/61297b379e5024f33b57bd7.../e4c0..."
,
"modifiedIndex"
:
279744808
,
"ttl"
:
599113
,
"value"
:
"http://172.17.8.101:7001"
},
{
"createdIndex"
:
279745601
,
"expiration"_:_"2015-01-19T17:59:49.196184481Z"_,_"key"_:_"/_etcd/registry/61297b379e5024f33b57bd7.../01ef..."_,_"modifiedIndex"'>"expiration"
:
"2015-01-19T17:59:49.196184481Z"
,
"key"
:
"/_etcd/registry/61297b379e5024f33b57bd7.../01ef..."
,
"modifiedIndex"
:
279745601
,
"ttl"
:
599687
,
"value"
:
"http://172.17.8.102:7001"
},
{
"createdIndex"
:
279746380
,
"expiration"
:
"2015-01-19T17:51:41.963086657Z"
,
"key"
:
"/_etcd/registry/61297b379e5024f33b57bd7.../cd3d..."
,
"modifiedIndex"
:
279746380
,
"ttl"
:
599199
,
"value"
:
"http://172.17.8.103:7001"
},
{
"createdIndex"
:
279747319
,
"expiration"
:
"2015-01-19T17:52:33.315082679Z"
,
"key"
:
"/_etcd/registry/61297b379e5024f33b57bd7.../3602..."
,
"modifiedIndex"
:
279747319
,
6.3 Starting a CoreOS Cluster via Vagrant to Run Containers on Multiple Hosts | 177


"ttl"
:
599251
,
"value"
:
"http://172.17.8.104:7001"
}
]
}
}
Your nodes have now formed an 
etcd
cluster that can be used as a fully working
highly available key-value store. Using the 
etcdctl
command, you can set and get
keys:
core@core-01 ~ $ etcdctl set foobar "Docker"
Docker
core@core-01 ~ $ etcdctl get foobar
Docker
core@core-01 ~ $ etcdctl ls
/foobar
/coreos.com
To launch containers on the cluster, you can define 
systemd
units as you did in
Recipe 6.2
 and start them with the 
fleetctl
 CLI (see 
Recipe 6.4
).
See Also
• CoreOS clustering with 
Vagrant
• Introduction to 
etcd
• Getting started with 
fleet

Download 6,31 Mb.

Do'stlaringiz bilan baham:
1   ...   141   142   143   144   145   146   147   148   ...   260




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish