Browse Source

Añado información sobre PVC

main
creylopez 9 months ago
parent
commit
d9ab49fa51
1 changed files with 29 additions and 3 deletions
  1. +29
    -3
      README.md

+ 29
- 3
README.md View File

@ -65,7 +65,7 @@ ALTER SEQUENCE tablename_id_seq RESTART WITH nn;
esto se hace cuando restauro un volcado de la bd sobre una instalación nueva. Si hay índices ya creados, hay que reinciar a partir del último.
<<<<<<< HEAD
## Copiar ficheros al contenedor
Copy local directory to a pod directory
@ -73,7 +73,7 @@ oc rsync /home/user/source devpod1234:/src
# Copy pod directory to a local directory
oc rsync devpod1234:/src /home/user/source
=======
## Para que git no pida credenciales
git config --global credential.helper store
@ -81,4 +81,30 @@ git config --global credential.helper store
la siguiente vez que se haga el push nos la pedirá una última vez
>>>>>>> c04abab64cc16d19cf44b2b6e95eb68cccfb37b5
## Persistent Volume Claims y sus rutas de montaje
volumeMounts:
- mountPath: /app/gestion_reservas/mediafiles
name: jugaralpadel-media
- mountPath: /app/gestion_reservas/eventos/migrations
name: jugaralpadel-eventos-migrations
- mountPath: /app/gestion_reservas/reymotausers/migrations
name: jugaralpadel-reymotausers-migrations
- mountPath: /app/gestion_reservas/staticfiles
name: static-volume
imagePullSecrets:
- name: myregistrykey
restartPolicy: Always
volumes:
- name: jugaralpadel-media
persistentVolumeClaim:
claimName: jugaralpadel-media
- name: jugaralpadel-eventos-migrations
persistentVolumeClaim:
claimName: jugaralpadel-eventos-migrations
- name: jugaralpadel-reymotausers-migrations
persistentVolumeClaim:
claimName: jugaralpadel-reymotausers-migrations
- name: static-volume
persistentVolumeClaim:
claimName: static-volume

Loading…
Cancel
Save