[CKA독학]configmap/secret 사용법
configmap 생성 명령어 # config map생성 kubectl create configmap --from-literal== kubectl create configmap app-config-map --from-literal=APP_ENV=prod --from-literal=APP_CODE=code configmap.yaml 예시 apiVersion: v1 kind: ConfigMap metadata: name: app-config-map data: APP_ENV: prod APP_CODE: code pod에 ENV(환경변수) 적용 yaml 예시 apiVersion: v1 kind: Pod metadata: labels: name: nginx name: nginx namespace: default ..