Projected Volumes

Projected Volumes An architecture diagram generated by Archify. Projected Volume · volumes[].projected · all-in-one · Projected Volume 구성 Projected Volume volumes[].projected · all-in-one secret · db-credentials · Projected Volume 구성 secret db-credentials configMap · app-config · Projected Volume 구성 configMap app-config downwardAPI · 파드 메타데이터 · Projected Volume 구성 downwardAPI 파드 메타데이터 serviceAccountToken · expirationSeconds: 3600 · Projected Volume 구성 serviceAccountToken expirationSeconds: 3600 /etc/credentials · mountPath · readOnly: true · Projected Volume 구성 /etc/credentials mountPath · readOnly: true /etc/credentials/ · 결과 디렉토리 · 결과 디렉토리 구조 /etc/credentials/ 결과 디렉토리 db-password · from secret · 결과 디렉토리 구조 db-password from secret app-config.yaml · from configMap · 결과 디렉토리 구조 app-config.yaml from configMap labels · from downwardAPI · 결과 디렉토리 구조 labels from downwardAPI token · from serviceAccountToken · 결과 디렉토리 구조 token from serviceAccountToken 소스 마운트 마운트 결과 Projected Volume 구성 결과 디렉토리 구조 Legend Projected Volume 마운트 경로 구성·메타데이터 소스 자격 증명 소스 결과 파일

예제 설정

  • • volumeMounts: all-in-one → mountPath /etc/credentials (readOnly)
  • • secret db-credentials: username → db-username, password → db-password
  • • configMap app-config: config.yaml → app-config.yaml
  • • downwardAPI: metadata.labels → labels, metadata.namespace → namespace
  • • serviceAccountToken: path token, expirationSeconds 3600, audience api

사용 사례

  • • 통합 자격 증명 관리: 여러 소스의 자격 증명을 단일 디렉토리에 마운트
  • • 애플리케이션 구성: 구성 파일과 시크릿을 함께 제공
  • • 서비스 메시 통합: ServiceAccount 토큰과 인증서를 함께 마운트