Skip to Content
쿠버네티스를 활용한 클라우드 네이티브 데브옵스
book

쿠버네티스를 활용한 클라우드 네이티브 데브옵스

by 최경현, 저스틴 도밍거스, 존 어런들
December 2019
Beginner to intermediate
420 pages
8h 34m
Korean
Hanbit Media, Inc.
Content preview from 쿠버네티스를 활용한 클라우드 네이티브 데브옵스
316
쿠버네티스를 활용한 클라우드 네이티브 데브옵스
더 좋은 방법은 하나의 변숫값만 포함한 추가
YAML
파일을 생성하는 것이다.
environment:
staging
이 값은 헬름 차트 외부의
k8s
/
demo
/
staging
-
values
.
yaml
파일에서 찾을 수 있다.
12.2.2
특정 값을 가진 헬름 릴리스
helm
install
명령어에 추가 값을 포함한 파일을 지정하려면 다음과 같이
--
values
플래그
를 사용하면 된다.
helm install --name demo-staging --values=./k8s/demo/staging-values.yaml
./k8s/demo ...
새로운 이름 (
demo
-
staging
)의 릴리스가 생성되며 실행 중인 컨테이너의
ENVIRONMENT
수는
development
대신에
staging
이 된다.
--
values
에 지정한 추가 값 파일의 변수 목록은
기본값 파일 (
values
.
yaml
)과 결합된다. 예제에서는
staging
-
values
.
yaml
파일에서 지정한
하나의 변수 (
environment
)만 기본값 파일을 덮어쓴다.
또는
--
setflag
플래그를 사용하여
helm
install
명령줄에서 직접 값을 지정할 수 있다. 하
지만 이러한 방식은 코드형 인프라 철학에 맞지 않는다. 헬름 차트를 사용자 정의하기 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

쿼커스 쿡북: 쿠버네티스를 위한 네이티브 자바 솔루션

쿼커스 쿡북: 쿠버네티스를 위한 네이티브 자바 솔루션

유동환, 알렉스 소토 부에노, 제이슨 포터

Publisher Resources

ISBN: 9791162248249