- The DevOps 2.2 Toolkit
- Viktor Farcic
- 151字
- 2021-06-24 18:46:23
Creating the cluster and deploying services
We'll start by recreating the cluster and deploying the stacks that we used in the previous chapter.
All the commands from this chapter are available in the 04-exporters.sh Gist at https://gist.github.com/vfarcic/955690ba490ce4464fab11823eb61d97.
chmod +x scripts/dm-swarm-04.sh./scripts/dm-swarm-04.sheval $(docker-machine env swarm-1)
We executed the dm-swarm-04.sh script which, in turn, created a Swarm cluster composed of Docker Machines, created the networks and deployed the stacks. Now we should wait a few moments until all the services in the monitor stack are up and running. Please use docker stack ps monitor command to confirm that the status of all the services in the stack is Running.
Finally, we'll confirm that everything is deployed correctly by opening Prometheus in a browser.
open "http://$(docker-machine ip swarm-1)/monitor"
Now the state of our cluster is the same as it was at the end of the previous chapter and we can proceed towards deploying exporters.
推薦閱讀
- 地位競爭導(dǎo)致的團(tuán)隊斷裂研究
- MBA、EMBA、MPA面試高分指導(dǎo)
- 統(tǒng)計學(xué)原理(第3版)
- 中國哲學(xué)社會科學(xué)發(fā)展歷程回憶·政法社會卷
- 道德新風(fēng)拂塞上:寧夏道德模范事跡選編
- SPSS統(tǒng)計分析從入門到精通(第四版)
- Stata統(tǒng)計分析與實(shí)驗指導(dǎo)(視頻教學(xué)版)
- 老夫子詮解《紅樓夢》
- 美好生活視域下的鄉(xiāng)村民生改善研究
- 文明的和諧與共同繁榮:北京論壇二十周年精華集
- 農(nóng)村社會治理新理念研究
- “四化兩型”的知識產(chǎn)權(quán)戰(zhàn)略:構(gòu)建“創(chuàng)新型湖南”的必由之路
- 鄉(xiāng)土文化遺產(chǎn)保護(hù)與鄉(xiāng)村旅游的可持續(xù)發(fā)展研究
- 社會網(wǎng)絡(luò)視角下的沖突化解策略研究
- 感知渠道整合與消費(fèi)者行為研究