본문 바로가기

반응형

hashicorp

[리눅스] consul 보안(security credentials) 설정 consul 보안(security credentials) 설정 consul 컨테이너 실행 docker run -it --rm -v ${PWD}/consul/certs:/consul/config/certs/ consul:latest /bin/sh --- docker container start cd /consul/config/certs consul gossip 암호화 키 생성 consul keygen $ consul keygen ozAzxQlvUHL3Qr0hhW2ibUxSa4B+M6RDz2bTC8OOsN0= consul.hcl 설정 vim /etc/consul.d/consul.hcl ... # bootstrap_expect bootstrap_expect = 3 # encrypt # Specifies the.. 더보기
[리눅스] nomad cluster 구성(install nomad cluster) nomad cluster 구성 테스트 환경 호스트 이름 서버 아이피 Type 비고 control1 192.168.0.51 server node1 192.168.0.61 server node2 192.168.0.62 server node3 192.168.0.63 client nomad 설치 - nomad 설치 : https://scbyun.com/1494 nomad cluster 구성 nomad.hcl 설정(/etc/nomad.d/nomad.hcl) vim /etc/nomad.d/nomad.hcl [control1-nomad.hcl] data_dir = "/opt/nomad/data" bind_addr = "0.0.0.0" server { # license_path is required as of Noma.. 더보기
[리눅스] nomad 설치(install nomad) nomad 설치(install nomad) - install nomad server on ubuntu sudo apt-get update && sudo apt-get install -y wget gpg coreutils wget -q -O- https://apt.releases.hashicorp.com/gpg | gpg --dearmor | sudo tee /usr/share/keyrings/hashicorp-archive-keyring.gpg >/dev/null echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | su.. 더보기
[리눅스] consul cluster 구성 consul cluster 구성 테스트 환경 호스트 이름 서버 아이피 Type 비고 control1 192.168.0.51 server node1 192.168.0.61 server node2 192.168.0.62 server node3 192.168.0.63 client consul 설치 - consul 설치 : https://scbyun.com/1490 consul cluster 구성 consul.hcl 설정(/etc/consul.d/consul.hcl) vim /etc/consul.d/consul.hcl [control1-consul.hcl] datacenter = "my-dc-1" data_dir = "/opt/consul" client_addr = "0.0.0.0" ui_config{ enab.. 더보기
[리눅스] consul 설치(install consul) consul 설치(install consul) consul ports table Use Default Ports DNS: The DNS server (TCP and UDP) 8600 HTTP: The HTTP API (TCP Only) 8500 HTTPS: The HTTPs API disabled (8501)* gRPC: The gRPC API disabled (8502)* LAN Serf: The Serf LAN port (TCP and UDP) 8301 Wan Serf: The Serf WAN port (TCP and UDP) 8302 server: Server RPC address (TCP Only) 8300 Sidecar Proxy Min: 자동으로 할당된 사이드카 서비스 등록에 사용할 포함된 최.. 더보기
CentOS 7에서 HashiCorp Vault를 설치하는 방법 CentOS 7에서 HashiCorp Vault를 설치하는 방법 Vault Release https://releases.hashicorp.com/vault/ prerequirement yum -y -q install curl unzip openssh openssh-server openssh-clients yum -y -q install epel-release yum -y -q install sshpass Vault 설치 export VAULT_VERSION=1.3.4 cd /usr/local/src/ curl -fsSLO https://releases.hashicorp.com/vault/${VAULT_VERSION}/vault_${VAULT_VERSION}_linux_amd64.zip curl -fsSL.. 더보기

728x90
반응형