Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ippidb-web
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
iPPIDB
ippidb-web
Commits
be8ca8f9
Commit
be8ca8f9
authored
2 years ago
by
Bryan BRANCOTTE
Browse files
Options
Downloads
Patches
Plain Diff
more help on zalando
parent
94348c0a
No related branches found
No related tags found
1 merge request
!43
K8S deployments of release branche, and other updates
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+12
-1
12 additions, 1 deletion
README.md
with
12 additions
and
1 deletion
README.md
+
12
−
1
View file @
be8ca8f9
...
@@ -46,7 +46,7 @@ kubectl exec -it $POD -- bash
...
@@ -46,7 +46,7 @@ kubectl exec -it $POD -- bash
date
date
```
```
### Copy the db into
zolando bitnami
### Copy the db into
postgresql zalando
```
shell
```
shell
kubectl config use-context ippidb-dev
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
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
...
@@ -55,3 +55,14 @@ date
gzip
-d
-c
ippisite/db-django-4.0.sql.gz | kubectl
exec
--stdin
--tty
$POD
--
psql
gzip
-d
-c
ippisite/db-django-4.0.sql.gz | kubectl
exec
--stdin
--tty
$POD
--
psql
date
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
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment