본문 바로가기

Node3

Swarm mode overview and concepts - 출처: https://docs.docker.com/engine/swarm/ Swarm mode overview Docker Engine swarm mode overview docs.docker.com 개요 Docker를 swarm mode로 사용하기 위해서 docker를 설치하면 된다. Docker는 swarm 이라고 하는 Docker engine 클러스터를 기본적으로 관리하는 swarm mode가 포함하고 있다. Docker CLI를 사용하여 swarm을 생성하고, app 서비스를 swarm에 배포하며 swarm을 관리할 수 있다. 주요 기능 Docker Engine과 통합된 cluster 관리: App service 를 배포할 수 있는 Docker Engine swarm을 생성하기 위해 Docke.. 2023. 9. 17.
Node exporter - 출처: https://prometheus.io/docs/guides/node-exporter/ Goal - localhost 에서 Node exporter 시작 - Node exporter로 부터 metric을 수집하도록 Prometheus instance 를 설정하고 시작 Overview 아래 Architecture 에서 exporter로 부터 metric을 수집해보고 prometheus instance 에서 제대로 수집했는지 확인해본다. Node exporter 설치 Prometheus Node Exporter는 하나의 바이너리 파일이다. download page(https://prometheus.io/download/#node_exporter) 에서 받은 후 압축을 풀어준다. tar xvfz n.. 2023. 4. 22.
UML - 배치 다이어그램 - 이 글은 UML Distilled (마틴 파울러)책을 기반으로 작성하였습니다. - 배치 다이어그램(Deployment Diagrams) 여기서 말하는 배치는 Batch가 아닌 Deployment 이다. 시스템의 물리적인 구조를 보여주며, 어떤 소프트웨어가 어떤 하드웨어에서 동작하고 있는지를 보여준다. 우선 배치다이어그램의 요소에 대해서 알아보자. 노드(node): 소프트웨어를 실행할 수 있는 어떤 것. 노드에는 두 가지 형태가 있는데 장치(device)는 하드웨어이며, 컴퓨터나 시스템과 연결된 더 단순한 하드웨어들이 있다. 실행 환경(execution environment): 스스로 실행하거나 다른 소프트웨어를 포함하는 소프트웨어이다. (ex - 운영체제, 컨테이너 프로세스) 아티팩트(artifact.. 2021. 2. 10.