Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
iPPIDB
ippidb-web
Commits
be8ca8f9
Commit
be8ca8f9
authored
Jun 21, 2022
by
Bryan BRANCOTTE
Browse files
more help on zalando
parent
94348c0a
Changes
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
be8ca8f9
...
...
@@ -46,7 +46,7 @@ kubectl exec -it $POD -- bash
date
```
### Copy the db into
zolando bitnami
### Copy the db into
postgresql zalando
```
shell
kubectl config use-context ippidb-dev
POD
=
$(
kubectl get po
-lapplication
=
spilo,cluster-name
=
$(
git branch
--show
)
-postgresql
--output
jsonpath
=
'{.items[0].metadata.name}'
)
;
echo
$POD
...
...
@@ -55,3 +55,14 @@ date
gzip
-d
-c
ippisite/db-django-4.0.sql.gz | kubectl
exec
--stdin
--tty
$POD
--
psql
date
```
ou
```
shell
kubectl config use-context ippidb-dev
POD
=
$(
kubectl get po
-lapplication
=
spilo,cluster-name
=
$(
git branch
--show
)
-postgresql
--output
jsonpath
=
'{.items[0].metadata.name}'
)
;
echo
$POD
date
kubectl
cp
ippisite/db.sql.gz
$POD
:/home/postgres/pgdata/tmp/
# 1 minutes
# once in the pod run
# gzip -d -c /home/postgres/pgdata/tmp/db.sql.gz | psql
date
kubectl
exec
-it
$POD
--
bash
```
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment