Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 프라이빗 EC2 접속
- 벨로그
- java s3 400
- Encapsulation
- Terrafrom GCP
- 문과남자의 과학공부
- Terraform GKE
- client vpn 인증서
- aws
- s3 upload 400
- Decapsulation
- ACM
- 티스토리
- 비공개 GKE autorized
- AWS session manager
- client vpn
- 테라폼 private GKE
- 비공개 GKE
- Session Manager
- 독서노트
- S3
- Terraform GCP GKE
- ACM 도메인
- velog
- 엔지니어블로그
- AWS private EC2
- TCP/IP
- AWS client VPN 인증서
Archives
- Today
- Total
망지로그
CKA - secrets;private registry 본문
https://kubernetes.io/docs/concepts/configuration/secret/
Secrets
A Secret is an object that contains a small amount of sensitive data such as a password, a token, or a key. Such information might otherwise be put in a Pod specification or in a container image. Using a Secret means that you don't need to include confiden
kubernetes.io
private registry접근용 Secret
kubectl create secret docker-registry private-reg-cred --docker-server=myprivateregistry.com:5000 --docker-username=dock_user --docker-password=dock_password --docker-email=dock_user@myprivateregistry.com
정보 꺼내보기 ( data)
kubectl get secret secret-tiger-docker -o jsonpath='{.data.*}' | base64 -d
pod에 적용
https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
기존 자원에 k get pod podname -o yaml > yamlfilename.yaml 로 수정 후 apply 안 될 경우 edit으로 진행
'Kubernetes' 카테고리의 다른 글
CKA - networkpolicy (0) | 2024.07.02 |
---|---|
CKA - security context (0) | 2024.07.01 |
CKA- service account (0) | 2024.07.01 |
CKA - RBAC; Cluster Role, cluster role binding (0) | 2024.07.01 |
CKA- RBAC ; role, rolebinding (0) | 2024.06.26 |