42 Commits

Author SHA1 Message Date
mattwr18
17941678b1 Update export syntax, update maintenance worker/neo4j config
- I was getting an error locally  Failed: error parsing query as Extended JSON: invalid JSON input
- updating the syntax to wrap the json in single quotes, and key/values
in double quotes fixed the issue
- update memory limits
2019-09-04 16:53:13 +02:00
roschaefer
4ea47eafab Move Neo4j configuration in configmap
I think it's beneficial to have these settings in a central location.
That way, we're not running into the danger of overwriting the
`nitro-deployment` by accident with a `kubectl apply -f ...`.
2019-08-30 22:11:12 +02:00
roschaefer
f206d40e86 Add memory limits to neo4j deployment
I cannot increase the memory above "2G" without getting an error that no
node has capacity for it. So I believe we have to change the kubernetes
cluster if we want to assign more memory to neo4j.

The other settings were suggested to me by neo4j-admin memrec:
https://neo4j.com/docs/operations-manual/current/tools/neo4j-admin-memrec/
2019-08-26 13:03:48 +02:00
Robert Schäfer
89b377fee1
Merge pull request #1281 from Human-Connection/272-add_error_reporting
272 add error reporting
2019-08-20 19:07:49 +02:00
roschaefer
175b187f69 Update the COMMIT env var on every deployment
This should do the trick: First update the configmap, then trigger a
rollout. The new pods should have the update environment variables.
2019-08-20 11:28:41 +02:00
roschaefer
df2949a6ca Configure dbms.security.procedures
Bug:
> apoc.cluster.graph is unavailable because it is sandboxed and has dependencies
> outside of the sandbox. Sandboxing is controlled by the
> dbms.security.procedures.unrestricted setting

See: https://stackoverflow.com/a/48773575
2019-08-19 22:08:53 +02:00
roschaefer
fcb944b7c4 Add documentation to setup error reporting 2019-08-19 21:21:51 +02:00
Robert Schäfer
ff7143dcb1 Remove obsolete "MOCKS"
It's unused code after all and I think we can improve the code base by
removing confusing code.
2019-08-08 20:18:32 +02:00
Matt Rider
6ba550f198 Make page mobile responsive, use styleguide font 2019-07-29 09:13:38 +02:00
Matt Rider
733d3333c9 Merge branch 'master' of github.com:Human-Connection/Human-Connection into 906-maintenace-mode 2019-07-29 08:52:10 +02:00
Robert Schäfer
db84afa20b Move secrets into secrets kubernetes template 2019-07-15 23:15:20 +02:00
Matt Rider
3d487757bc Improve maintenance.html
- add image, basic styling
2019-07-12 07:31:25 -03:00
Robert Schäfer
2e9c4ad40a Add documentation how to enable maintenance mode 2019-07-10 10:51:40 +02:00
Robert Schäfer
97aaff92a5 Remove unnecessary config 2019-07-10 10:50:39 +02:00
Matt Rider
6d5ffc0464 Rename labels, decrease replicas to 1 2019-07-10 10:50:39 +02:00
Matt Rider
c79ec1f6fe Add nginx maintenance and test locally 2019-07-10 10:50:39 +02:00
Matt Rider
2a76e9b18a Add service yaml for nginx(maintenance) service 2019-07-10 10:50:39 +02:00
Robert Schäfer
66740b0f55 Neo4j uses a different name for its env vars 2019-07-05 15:57:38 +02:00
Robert Schäfer
91e7e2adaf The protocol is not supposed to go into SMTP_HOST 2019-06-24 14:49:45 +02:00
Robert Schäfer
6ce96d906b Fix configmap template 2019-06-24 13:31:13 +02:00
Robert Schäfer
ce0e3cb520 Write documentation for mailserver deployment 2019-06-24 13:24:56 +02:00
Robert Schäfer
dd1d77f2bb Add env to configmap 2019-06-24 13:24:56 +02:00
Robert Schäfer
a2d99c9831 Write kubernetes deployment for dummy mailserver 2019-06-24 13:24:56 +02:00
Robert Schäfer
6e1d334671 Add env to deployment 2019-06-21 14:06:20 +02:00
f78c54a3e8
refactored backend structure 2019-05-31 19:31:39 +02:00
Robert Schäfer
5622b1aa30 Avoid deletion of entire namespace by accident
Yep, that happened to me. I did

```
kubectl delete -f deployment/human-connection
```

 and I forgot about the namespace in that folder. Now everything is gone.
2019-05-29 14:22:49 +02:00
340a26fc5d
Merge pull request #585 from Human-Connection/doc-update-minikube-setup-documentation
More descriptive minikube setup instructions
2019-05-27 15:20:19 +02:00
Robert Schäfer
5881a7d5df
Merge pull request #573 from Human-Connection/docs-354-kubernetes_cron_job_for_backups
Docs 354 kubernetes cron job for backups
2019-05-15 18:52:53 +02:00
Robert Schäfer
0ef2c26f03 Clean up and add a content warning 2019-05-15 16:25:01 +02:00
Robert Schäfer
018dd89797 Followed docs for heptio-ark and DO plugin v0.11.0 2019-05-15 16:24:05 +02:00
Robert Schäfer
49e6457cfd Setup relevant annotations 2019-05-15 16:24:05 +02:00
Robert Schäfer
d70719040e Consequently create another template folder
... in human-connection/ where we store our specific kubernetes
configuraitons.
2019-05-15 14:01:07 +02:00
Dominic Motuka
3e2b9666ca
More descriptive minikube setup instructions 2019-05-09 16:27:27 +03:00
Robert Schäfer
c350fb37a9 Fine tuning documentation 2019-04-24 23:55:49 +02:00
Robert Schäfer
3edb590849 Dedicate extra chapter to volumes 2019-04-24 22:48:39 +02:00
Robert Schäfer
7f2df14ef3 Update human connection specific configuration 2019-04-24 12:52:10 +02:00
Robert Schäfer
f1c28ee0cc Further structuring in https + dashboard chapters 2019-04-24 00:15:08 +02:00
Robert Schäfer
543b7c6888 Configure neo4j deployment to have 1 pod max 2019-04-23 23:12:16 +02:00
Robert Schäfer
5ec77f3cc1 Put PRIVATE_KEY_PASSPHRASE in kubernetes config 2019-03-27 01:19:04 +01:00
Robert Schäfer
09b6cbaba5 Trigger rollout with a change to spec.template
The documentation clearly says:
```
Note: A Deployment’s rollout is triggered if and only if the
Deployment’s pod template (that is, .spec.template) is changed, for
example if the labels or container images of the template are updated.
Other updates, such as scaling the Deployment, do not trigger a
rollout.
```

Read: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#updating-a-deployment
2019-03-25 16:47:08 +01:00
Robert Schäfer
c6d9ea052f Rollout deployment
* Replace BACKEND_URL with GRAPHQL_URI environment (DRY)
* Trigger rollout deployments by a simple label update
* DRY configmap and secret configuration
2019-03-21 21:42:20 +01:00
Robert Schäfer
4fe89e88ac Merging deployment to master 2019-03-20 21:07:57 +01:00