티스토리 뷰
문제
|
문제 풀이
# 1. context 변경
kubectl config use-context k8s
# 2. PV 템플릿 생성
vim pv-hostpath.yaml
....
apiVersion: v1
kind: PersistentVolume
metadata:
name: app-config
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteMany
storageClassName: az-c
hostPath:
path: /srv/app-config
- k8s Persistent Volumes: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
Persistent Volumes
This document describes persistent volumes in Kubernetes. Familiarity with volumes, StorageClasses and VolumeAttributesClasses is suggested. Introduction Managing storage is a distinct problem from managing compute instances. The PersistentVolume subsystem
kubernetes.io
'공부자료 > CKA(K8S)' 카테고리의 다른 글
| [CKA] 따배씨 - 21. Check Resource Information (0) | 2026.01.18 |
|---|---|
| [CKA] 따배씨 - 20. Persistent Volume Claim을 사용하는 Pod 운영 (0) | 2026.01.11 |
| [CKA] 따배씨 - 18. Ingress 구성 (0) | 2026.01.03 |
| [CKA] 따배씨 - 17. Secret 운영 (0) | 2026.01.03 |
| [CKA] 따배씨 - 16. ConfigMap 운영 (0) | 2026.01.03 |
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- namenode
- nifi
- flink
- OOM
- hdfs
- k8s
- openjdk1.8
- Dataflow
- 빅데이터
- Apache Nifi
- 실시간처리
- bigdata #data_mesh
- Bigdata
- Apache
- zabbix
- CKA
- lld
- java8
- flow.xml.gz
- 설정에러
- 따배씨
- Nifi Service
- spark driver
- Item Prototypes
- Nifi Architecture
- exporter
- MAT
- Discovery Rule
- error
- nifi.flowcontroller.autoResumeState
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함