"쿠버네티스 PV - GCE PersistentDisk 예시"의 두 판 사이의 차이

잔글 (봇: Kubernetes을(를) K8s(으)로 분류 대체함)
잔글 (봇: 자동으로 텍스트 교체 (-<source +<syntaxhighlight , -</source> +</syntaxhighlight>))
 
(다른 사용자 한 명의 중간 판 하나는 보이지 않습니다)
3번째 줄: 3번째 줄:
;쿠버네티스 PV - GCE PersistentDisk 예시
;쿠버네티스 PV - GCE PersistentDisk 예시


<source lang='yaml'>
<syntaxhighlight lang='yaml'>
apiVersion: v1
apiVersion: v1
kind: PersistentVolume
kind: PersistentVolume
18번째 줄: 18번째 줄:
     pdName: my-data-disk
     pdName: my-data-disk
     fsType: ext4
     fsType: ext4
</source>
</syntaxhighlight>
<source lang='yaml'>
<syntaxhighlight lang='yaml'>
apiVersion: "v1"
apiVersion: "v1"
kind: "PersistentVolume"
kind: "PersistentVolume"
32번째 줄: 32번째 줄:
     fsType: "ext4"  
     fsType: "ext4"  
     pdName: "pd-disk-1"  
     pdName: "pd-disk-1"  
</source>
</syntaxhighlight>


==같이 보기==
==같이 보기==
44번째 줄: 44번째 줄:
* https://docs.okd.io/latest/install_config/persistent_storage/persistent_storage_gce.html
* https://docs.okd.io/latest/install_config/persistent_storage/persistent_storage_gce.html


[[분류:K8s]]
[[분류:K8s PV]]
[[분류:GCE]]
[[분류:GCE]]

2021년 10월 29일 (금) 20:11 기준 최신판

1 개요[ | ]

Persistent Volume Using GCE Persistent Disk
쿠버네티스 PV - GCE PersistentDisk 예시
apiVersion: v1
kind: PersistentVolume
metadata:
  name: test-volume
  labels:
    failure-domain.beta.kubernetes.io/zone: us-central1-a__us-central1-b
spec:
  capacity:
    storage: 400Gi
  accessModes:
  - ReadWriteOnce
  gcePersistentDisk:
    pdName: my-data-disk
    fsType: ext4
apiVersion: "v1"
kind: "PersistentVolume"
metadata:
  name: "pv0001" 
spec:
  capacity:
    storage: "5Gi" 
  accessModes:
    - "ReadWriteOnce"
  gcePersistentDisk: 
    fsType: "ext4" 
    pdName: "pd-disk-1"

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}