seulcoding

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

configmap 2

[kubernetes in action] 7. Configmaps and Secrets - 2

7.3. Setting environment variables for a container Kubernetes에서는 각각의 컨테이너에 환경변수를 지정해 줄 수 있다. 다만 아직 pod레벨에서 지정하는 방법은 없다. 환경변수로 위에서 만든 fortune image의 interval을 설정해보자. fortune-env/fortuneloop.sh #!/bin/bash trap "exit" SIGINT echo Configured to generate new fortune every $INTERVAL seconds mkdir -p /var/htdocs while : do echo $(date) Writing fortune to /var/htdocs/index.html /usr/games/fortune > /va..

backend/kubernetes in action 2020.06.18

[kubernetes in action] 7. Configmaps and Secrets - 1

7. ConfigMaps and Secrets configuring applications Changing the main process of a container Passing command-line options to the app Setting environment variables exposed to the app Configuring apps through ConfigMaps Passing sensitive information through Secrets 거의 모든 app이 configuration을 필요로 하고 이를 app 자체에 담을 수 없으므로 kubernetes에서 어떻게 configuration option을 넘겨줄 수 있음 7.1. Configuring containerized ap..

backend/kubernetes in action 2020.06.16
이전
1
다음
더보기
프로필사진

seulcoding

  • 분류 전체보기 (594)
    • backend (269)
      • computer science (5)
      • django (80)
      • django-rest-framework (2)
      • python (41)
      • ubuntu (29)
      • sql (postgres) (21)
      • R (2)
      • 데이터분석 (6)
      • docker (21)
      • blockchain (7)
      • rust (2)
      • kubernetes (5)
      • kubernetes in action (18)
      • kubernetes docs (10)
    • frontend (38)
      • html & css (13)
      • javascript (6)
      • React (0)
      • react.js (0)
      • vue.js (14)
      • node.js (2)
    • tools (185)
      • aws (9)
      • linux (22)
      • git (8)
      • vim (92)
      • vimscript (0)
      • mac (28)
      • terminal (8)
      • jekyll blog (5)
      • apis (3)
    • etc (48)
      • 안드로이드 (1)
      • 02_1.오늘의인턴 (25)
      • 생활코딩-웹프로그래밍 (9)
      • introducing python: 처음 시작하는.. (6)
    • Life & Idea (24)
      • 도쿄,하코네 (7)
      • 비계 (2)
      • 행복 (8)
    • Toy Project (1)

Tag

configmap, backend, Shell Script, external command, Service, vimscript, section, Docker, fold, POD, Mac, Folding, k8s, kubernetes in action, vim, Kubernetes, Shell, django, Linux, helm,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바