Building Good Containers

Nodejs 프로세스로 이루어진 Kubernetes Container를 만들기 위한 가이드 입니다.
아래 내용들로 작성되어 있습니다.

- Build non-root containers
- Use multi-stage builds
- Use a process manager
- 특히 Tini 라는 Process Mnager 를 추천하네요.
- Manage scaling outside of the container
-> 그러기 위해서 Memory Limit을 셋팅하고
-> Application 시작에 npm을 사용하지 말라고 추천하네요.

https://github.com/nodeshift/nodejs-reference-architecture/blob/main/docs/development/building-good-containers.md

nodejs-reference-architecture/docs/development/building-good-containers.md at main · nodeshift/nodejs-reference-architecture

GitHub

nodejs-reference-architecture/docs/development/building-good-containers.md at main · nodeshift/nodejs-reference-architecture

더 많은 콘텐츠를 보고 싶다면?

또는

이미 회원이신가요?

2024년 1월 12일 오전 9:45

 • 

저장 5조회 1,672

댓글 0