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

41번째 줄: 41번째 줄:
==참고==
==참고==
* https://kubernetes.io/docs/concepts/storage/volumes/#manually-provisioning-a-regional-pd-persistentvolume
* https://kubernetes.io/docs/concepts/storage/volumes/#manually-provisioning-a-regional-pd-persistentvolume
* https://docs.okd.io/latest/install_config/persistent_storage/persistent_storage_gce.html


[[분류: Kubernetes]]
[[분류: Kubernetes]]
[[분류: GCE]]
[[분류: GCE]]

2019년 9월 23일 (월) 00:29 판

1 개요

쿠버네티스 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 }}