데이터세이커는 쿠버네티스에 기본 에이전트를를 설치할 수 있는 헬름 차트를 제공합니다. 차트를 설치하기 전에 유저 테넌트 정보를 등록해야 합니다.
데이터세이커 디렉토리 생성 및 권한 설정
mkdir -p ~/datasaker
chmod 755 ~/datasaker/
데이터세이커 유저 정보 등록
cat << EOF > ~/datasaker/config.yaml
userInfo:
clusterName: ${VAR_CLUSTER_NAME}
apiKey: ${VAR_GLOBAL_APIKEY}
runtimeType: ${VAR_RUNTIME_TYPE}
runtimeSock: ${VAR_RUNTIME_SOCK}
EOF
데이터세이커 헬름 레포지토리 추가
helm repo add datasaker https://datasaker.github.io/agent-helm/
데이터세이커 헬름 pull
helm pull datasaker/agent-helm
압축 해제
tar -zxvf agent-helm-0.1.0.tgz -C ~/datasaker
기본 에이전트 설치
helm install datasaker ~/datasaker/agent-helm -n datasaker --create-namespace \
-f ~/datasaker/config.yaml