Robert Schäfer
5d5db1ea47
Use single configmap for simplicity
2019-02-08 11:03:18 +01:00
Robert Schäfer
a25f806d0e
Add missing kubernetes dashboard deployment
2019-02-08 11:03:18 +01:00
Robert Schäfer
066adb9b6e
Bulk rename namespace staging->human-connection
2019-02-08 11:02:19 +01:00
Robert Schäfer
3bbe1f1471
Create ingress server and add documentation
2019-02-08 11:02:19 +01:00
Grzegorz Leoniec
15581de701
Merge pull request #4 from Human-Connection/add_db_migration_worker_deployment
...
Add db migration worker deployment
2019-02-06 22:51:51 +01:00
Robert Schäfer
e1e457abae
Cleanly separate legacy migration part
...
Use `kubectl patch -f ...`
2019-02-05 18:04:56 +01:00
Robert Schäfer
99262a0d4d
Fix README
2019-02-05 17:27:59 +01:00
Robert Schäfer
8c6bc72bd2
Update README
2019-02-04 22:05:24 +01:00
Robert Schäfer
1fbec5f525
Set NEO4J_URI to localhost
...
Apparently, if you have a mult-container setup, the same pod is
accessible via localhost.
2019-02-04 22:00:53 +01:00
Robert Schäfer
d876a3f442
Multiple container per pod setup
2019-02-04 20:44:07 +01:00
Robert Schäfer
81ae557be1
Create a persistent volume claim for uploads
2019-02-04 13:00:00 +01:00
Robert Schäfer
fb929da2cd
Refactor db-migration-worker deployment
...
Instead of creating a deployment with a replica set, we just create the
pod once. Also the pod should have everything in the future to run the
database migration. Ie. have `cypher-shell` to write directly to the
database in the current network. All required configuration is passed
manually to the `db-migration-worker`-pod directly. SSH-keys are copied
through a secrets file. This altogether made many configuration files
obsolete.
2019-02-04 01:37:35 +01:00
Robert Schäfer
246a46c2e8
Remove obsolete volume in deployment
2019-02-03 14:01:19 +01:00
Robert Schäfer
672770ad18
Merge pull request #5 from Human-Connection/digital_ocean
...
Fix certain configuration for Digital Ocean
2019-02-02 21:22:47 +01:00
Robert Schäfer
abf623bd51
Rename .yml to .yaml files for consistency
...
See:
https://stackoverflow.com/a/21059164
@appinteractive
2019-02-02 18:47:17 +01:00
Robert Schäfer
0b075830bc
Put many configuration files in one folder
2019-02-02 13:38:43 +01:00
Robert Schäfer
15f3915394
Adding dashboard deployment for digital ocean
2019-02-02 13:17:23 +01:00
Robert Schäfer
671826e060
Bundle all configuration in one folder staging/
2019-02-02 12:40:29 +01:00
Robert Schäfer
af15ec6393
Fix certain configuration for Digital Ocean
2019-02-02 00:00:29 +01:00
Robert Schäfer
d8c23c3452
Reproduced the whole setup locally with success
2019-02-01 19:53:09 +01:00
Robert Schäfer
6fed4797ed
Add commits to configuration to deploy :latest tag
...
The recommended way to update a kubernetes deployment to a new image is
to change the image tag. However, our build server is configured to push
every commit of the `master` branch to docker hub to the respective
repository and tag `:latest`. So adding some configuration that can be
changed seems to be a trick to re-deploy the `:latest` image.
See here:
https://stackoverflow.com/a/51835397
2019-02-01 19:23:00 +01:00
Robert Schäfer
ad3a974076
Base64 encode default secrets in template
...
The JWT_SECRET is taken from the current default secret in
`Nitro-Backend`, the MONGODB_PASSWORD is just the label encoded.
2019-02-01 01:56:12 +01:00
Robert Schäfer
9b5f88d7ac
Kubernetes best practices:
...
* put many configurations in one file
* expose services before you start pods
See: https://kubernetes.io/docs/concepts/configuration/overview/
2019-02-01 01:25:05 +01:00
Robert Schäfer
e8b212f5cc
Backend is accessible only from internal network
...
I think this is better. For development it might be interesting to have
access to the backend but I think one should do development with
docker-compose not minikube and such.
2019-02-01 01:09:41 +01:00
Robert Schäfer
7b981c06d0
Point web service to backend of internal network
2019-02-01 00:23:53 +01:00
Robert Schäfer
c6661def31
Improve README
2019-01-31 23:52:24 +01:00
Robert Schäfer
bbfe39e076
Use folders for groups of YAML files
...
This keeps our configuration DRY and helps us to save keystrokes.
2019-01-31 23:27:23 +01:00
Robert Schäfer
5cd0485117
Point the backend to the local neo4j service
2019-01-31 18:19:19 +01:00
Robert Schäfer
330fd9a8e9
Enable apoc to run neo4j import
2019-01-30 20:15:40 +01:00
Robert Schäfer
8a74f452a9
Create persistent volumes for minikube
...
Running the import works in minikube!
2019-01-30 19:34:45 +01:00
Robert Schäfer
ad55cc03e5
Remove obsolete deployment files
2019-01-28 18:46:52 +01:00
Robert Schäfer
7d7e34b132
Add deployment for db-migation-worker
2019-01-28 18:33:21 +01:00
Grzegorz Leoniec
4d973ede81
Merge pull request #3 from Human-Connection/add_instructions_for_exposing_services_with_minikube
...
Add instructions to expose/access the services
2019-01-25 21:30:43 +01:00
Robert Schäfer
4f9f26a1da
Add instructions to expose/access the services
2019-01-25 18:26:22 +01:00
Grzegorz Leoniec
687192d521
Added Mapbox token
2019-01-25 15:23:32 +01:00
Grzegorz Leoniec
e74cfd62aa
Merge pull request #2 from Human-Connection/add-documentation-fix-kubectl-commands
...
Add instructions to docs, fix kubectl commands
2019-01-25 08:07:30 +01:00
Matt Rider
1dc8e13dfa
Add instructions to docs, fix kubectl commands
2019-01-22 10:43:26 -02:00
Grzegorz Leoniec
81e211f6fb
Initial commit
2019-01-17 14:10:38 +01:00