openebs - deptno/deptno.github.io GitHub Wiki
openebs
- https://openebs.io local node λ₯Ό νμ©νλ storage class
install
kubectl apply -f https://raw.githubusercontent.com/openebs/charts/gh-pages/openebs-operator.yaml
kubectl apply -f https://github.com/openebs/charts/blob/gh-pages/openebs-operator-lite.yaml
kubectl get sc
λ‘ storage class μμ± νμΈ κ°λ₯ openebs namespace κ° ν¨κ» μμ±λ¨
μ΄ν pv μμ±
usage
- pvc μμ± ν
Pending
μνλ μ μμ΄λ©° μ΄λ₯Ό μλΉν νλκ° λ§μ΄νΈ ν΄μΌμ§Bound
μνκ° λλ€ - μ΄ λκ° λλ©΄
kubectl get pv
λ‘ persistent volume μ νμΈ κ°λ₯ - pvc λ₯Ό μμ νλ©΄ pv λ ν¨κ² μμ λλ€. κΈ°λ³Έ reclaim μ μ± μ΄ delete μ΄κΈ° λλ¬ΈμΈλ° λ°κΎΈλ©΄ μλ pv μμ κ°λ₯
- openebs λ host node μ pv κ° μ‘΄μ¬νκΈ° λλ¬Έμ bound λ pvc κ° μλ pod λ λ€λ₯Έ λ Έλμμ λ° μ μλ€
- mount path λ /var/openebs/local λ‘ λ³΄μ
option
- openebs-device - mount λμ§ μμ device λ₯Ό μ¬μ©
- openebs-hostpath - νΉμ hostpath λ₯Ό μ¬μ©
μ°Έκ³
- capacity μ μν μ©λ μ ν μ΄μμΌλ‘ κ³μ λ°μ΄ν°κ° μμ 20M μ€μ ν 34M νμΈ
error
pod has unbound immediate PersistentVolumeClaims. preemption: 0/1 nodes are available: 1 No preemption victims found for incoming pod..
volumeName
μ μ§μ νλ©΄ νλμ λΆμ§ λͺ»νλ€. μλμΌλ‘ ν λΉνλ룩 λμ