Documentation Index
Fetch the complete documentation index at: https://docs.ale.run/llms.txt
Use this file to discover all available pages before exploring further.
서비스 배포
배포하고자 하는 서비스의 YAML 파일 경로를 파라미터로 넘겨 명령어를 실행합니다.
ale apply -f <YAML파일 경로>
# apply -f ./node-express.yaml
프로젝트 배포가 시작되면 다음과 같이 메세지가 출력됩니다.
1 apps deployed to @admin/test
└ app "node-express" deployed to stage main
서비스 업데이트
업데이트 할 대상 서비스의 YAML 파일 경로를 파라미터로 넘겨 명령어를 실행합니다.
ale apply -f <YAML파일 경로>
# ale apply -f ./node-express.yaml
업데이트된 내용으로 배포가 시작되면 다음과 같이 메세지가 출력됩니다.
1 apps deployed to @admin/test
└ app "node-express" deployed to stage main
서비스 삭제
삭제하고자 하는 서비스명을 파라미터로 넘겨 명령어를 실행합니다.
ale remove <서비스명>
# ale remove node-express
서비스가 정상적으로 삭제되면 다음과 같이 결과가 출력됩니다.
deployment "node-express" removed from @admin/test:main.
1 deployments removed
서비스 정보 및 접근
서비스 로그 조회
로그를 조회하고자 하는 서비스명을 파라미터로 넘겨 다음의 명령어를 실행합니다.
ale logs <서비스명>
# ale logs node-express
정상적으로 서비스가 실행 중인 경우 로그가 표시됩니다.
> myapp@0.0.0 start
> node ./bin/www
서비스 터미널 접속
터미널로 접근하고자 하는 서비스명을 파라미터로 넘겨 다음의 명령어를 실행합니다.
ale logs <서비스명>
# ale terminal node-express
정상적으로 서비스가 실행 중인 경우 터미널을 통해 서비스에 접속됩니다.