개발툴 팁

cf cli ( 툴 사용법 정리 ) sap hana cloud

nayha 2020. 2. 11. 11:17


클라우드 파운더리 접속 / 배포 등을 커맨드 라인에서 처리한다.

GUI 툴은 왜 없나 ㅠ_ㅠ

cf cli 툴 다운로드
https://tools.hana.ondemand.com/#cloud

https://github.com/cloudfoundry/cli#downloads

 

cloudfoundry/cli

The official command line client for Cloud Foundry - cloudfoundry/cli

github.com

난 윈도우니께 윈도로 다운

 

테스트..

접속된 api 가 없으면 

https://cockpit.hanatrial.ondemand.com/cockpit/#/home/trial

 

https://cockpit.hanatrial.ondemand.com/cockpit/#/home/trial

 

cockpit.hanatrial.ondemand.com

에서 API 주소 확인후 

cf api http://주소 추가 하면 됨

 

 

 

cf 설정 참고 유투브 링크

cf 자주 쓰는 명령어 정리 중..

cf version ( cf cli 설치 확인)
cf l ( 가지고 있는 계정으로 로그인 login )

cf t 
현재 cf 가 보고 있는곳 target..

cf 로 로그 보는법 
cf logs 보려고 하는 앱이름(myapp) | grep -v RTR
cf logs myapp | findstr /V RTR

http://cli.cloudfoundry.org/en-US/cf/

반응형