본문 바로가기
open source/meshery

meshery 프로젝트 설정 - 2 (환경설정 & 설치)

by seohan1010 2026. 1. 29.

 

1. 환경 설정 

#go 소스코드 다운로드  
https://go.dev/dl/go1.25.6.linux-amd64.tar.gz

#go 실행 파일을 명령어로 사용할수 있게 설정 
cd ~/Downloads #다운로드 받은 디렉터리로 이동 

rm -rf /usr/local/go && tar -C /usr/local -xzf go1.25.6.linux-amd64.tar.gz

#PATH 설정 (ubuntu 기준)
sudo vi ~/.bashrc #사용자 설정 파일 열기 

export PATH=$PATH:/usr/local/go/bin #하단에 추가 

source ~/.bashrc # 파일의 내용을 다시 읽어들이기 

go version #정상적으로 설치되었는지 확인



2. meshery를 k8s 클러스터에 설치 

#meshery 프로젝트 폴더의 mesheryctl 폴더로 이동 
cd mesheryctl 

#make 실행 
make #프로젝트의 Makefile안의 내용을 실행 

#meshery를 설치할 클러스터 확인 

kubectl config get-contexts # 컨텍스트 목록 확인 

kubectl config use-context <meshery를 설치할 컨텍스트> # meshery를 설치할 컨텍스트 설정 

#mershery 설치 가능여부 확인 

mesheryctl system check --preflight

#클러스터에 mershery 설치 

mesheryctl system start #처음에는 이미지를 다운로드 받기 때문에 오래 걸릴수 있음

 

 

reference

https://docs.google.com/presentation/d/1lRop7DAAMUBmuFdzZK25LdQrkLG08eVsXEaDrauP3S8/edit?slide=id.p1#slide=id.p1

 

Contributing to Meshery CLI

Contributing to Meshery CLI Golang, Cobra

docs.google.com