3. 어떻게 배포하나요¶
방법 A — 원커맨드 스크립트¶
git clone https://github.com/daeungo1/Azure-SRE-Agent-Lab.git
cd Azure-SRE-Agent-Lab
bash scripts/setup.sh
Windows(PowerShell):
git clone https://github.com/daeungo1/Azure-SRE-Agent-Lab.git
cd Azure-SRE-Agent-Lab
& "C:\Program Files\Git\bin\bash.exe" scripts/setup.sh
방법 B — 단계별 수동 실행 (E2E 검증에 사용한 절차)¶
az login
azd auth login
az provider register -n Microsoft.App --wait
azd env new sre-lab --location eastus2 --subscription <subscription-id>
# 선택: azd env set GITHUB_USER <your-username>
azd up
bash scripts/post-provision.sh
azd up은 인프라만 만듭니다. 컨테이너 이미지 빌드(ACR Task)와 SRE Agent 구성(Knowledge Base 업로드, Custom Agent · Response Plan 생성)은scripts/post-provision.sh가 담당합니다. 두 단계 모두 실행해야 합니다.
3단계 (선택) — 포털 기능 전체 채우기¶
기본 Lab 은 인시던트 자동 대응 하나만 구성합니다. SRE Agent 를 제품 전체로 보여주려면 features-sre 를 적용해 포털의 빈 섹션을 채우세요.
Skill Builder · Hooks · Agent Canvas · Automation · Knowledge Sources · Response Plans 가 실제 내용으로 채워집니다. 자세한 내용은 features-sre/README.md 참고.