Add basic info

This commit is contained in:
Marsel Ibraev
2021-09-24 11:51:02 +03:00
parent 40b04340dd
commit f44beb51a9
197 changed files with 12740 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
# PV/PVC
1) Применяем манифест pvc.yml
```bash
kubectl apply -f ~/slurm/practice/4.saving-data/3.pvc/pvc.yaml
kubectl get pvc
kubectl get pv
```
2) Запустим приложение, использующее PV
```bash
kubectl apply -f ~/slurm/practice/4.saving-data/3.pvc/
```
3) Посмотрим describe и смонтированные тома в контейнере
```bash
kubectl describe pod fileshare-<TAB>
kubectl exec -it fileshare-<TAB> -- df -h
```
4) Очищаем
```bash
kubectl delete -f ~/slurm/practice/4.saving-data/3.pvc/
```