컨피그맵 사용 방법

컨피그맵 사용 방법 An architecture diagram generated by Archify. key1: value1 · 단순 키-값 · 컨피그맵 데이터 key1: value1 단순 키-값 key2: value2 · 단순 키-값 · 컨피그맵 데이터 key2: value2 단순 키-값 config.properties · 파일 내용 · 컨피그맵 데이터 config.properties 파일 내용 ConfigMap · my-config · Architecture component ConfigMap my-config Pod · 환경 변수 · Architecture component Pod 환경 변수 Pod · 볼륨 마운트 · Architecture component Pod 볼륨 마운트 Pod · 명령줄 인수 · Architecture component Pod 명령줄 인수 env.key1 = value1 · 환경 변수 사용 env.key1 = value1 env.key2 = value2 · 환경 변수 사용 env.key2 = value2 /etc/config/key1 · 볼륨 마운트 사용 /etc/config/key1 /etc/config/key2 · 볼륨 마운트 사용 /etc/config/key2 /etc/config/config.properties · 볼륨 마운트 사용 /etc/config/config.properties 환경 변수 볼륨 마운트 명령줄 인수 컨피그맵 데이터 환경 변수 사용 볼륨 마운트 사용 Legend Pod (소비 방식) ConfigMap과 데이터 컨테이너 안에서 보이는 값