|
|
|
@ -19,15 +19,15 @@ Tal y como está la estructura de directorios, deberia detectar automáticamente |
|
|
|
## asignación de los volúmenes |
|
|
|
### Si la pvc no está creada |
|
|
|
|
|
|
|
oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-riesgos-migrations --claim-name='riesgos-riesgos-migrations' --mount-path='/app/riesgos/migrations' |
|
|
|
oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-riesgos-migrations --claim-name='riesgos-riesgos-migrations' --claim-class='lvms-vg1' --mount-path='/app/riesgos/migrations' |
|
|
|
|
|
|
|
oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-media --claim-name='riesgos-media' --mount-path='/app/mediafiles' |
|
|
|
oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-media --claim-name='riesgos-media' --claim-class='lvms-vg1' --mount-path='/app/mediafiles' |
|
|
|
|
|
|
|
oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-gestion-migrations --claim-name='riesgos-gestion-migrations' --mount-path='/app/gestion/migrations' |
|
|
|
oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-gestion-migrations --claim-name='riesgos-gestion-migrations' --claim-class='lvms-vg1' --mount-path='/app/gestion/migrations' |
|
|
|
|
|
|
|
oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-usuarios-migrations --claim-name='riesgos-usuarios-migrations' --mount-path='/app/riesgos/migrations' |
|
|
|
oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-usuarios-migrations --claim-name='riesgos-usuarios-migrations' --claim-class='lvms-vg1' --mount-path='/app/riesgos/migrations' |
|
|
|
|
|
|
|
oc set volume deployment.apps/riesgos --add -t pvc --claim-size=50G --name=static-volume --claim-name='static-volume' --mount-path='/app/staticfiles' |
|
|
|
oc set volume deployment.apps/riesgos --add -t pvc --claim-size=50G --name=static-volume --claim-name='static-volume' --claim-class='lvms-vg1' --mount-path='/app/staticfiles' |
|
|
|
|
|
|
|
|
|
|
|
### Si la pvc ya está creada |
|
|
|
|