Add to 'Apply The Configuration'

This commit is contained in:
Wolfgang Huß 2020-12-08 13:28:41 +01:00
parent d23797e83b
commit eb3eedbab2
3 changed files with 11 additions and 6 deletions

View File

@ -54,7 +54,10 @@ easily recovered. Therefore we separated persistent volumes from deployments
and services. There is a [dedicated section](../volumes/README.md). Create those
persistent volumes once before you apply the configuration.
## Apply the Configuration
## Apply The Configuration
Before you apply you should think about the size of the droplet(s) you need.
For example, the requirements for Neo4j v3.5.14 are [here](https://neo4j.com/docs/operations-manual/3.5/installation/requirements/).
```bash
# in folder deployment/

View File

@ -31,19 +31,21 @@ spec:
- envFrom:
- configMapRef:
name: configmap
image: ocelotsocialnetwork/develop-neo4j:latest
imagePullPolicy: Always
image: ocelotsocialnetwork/develop-neo4j:latest # for develop
# image: ocelotsocialnetwork/develop-neo4j:0.6.3 # for production or staging
imagePullPolicy: Always # for develop or staging
# imagePullPolicy: IfNotPresent # for production
name: neo4j
ports:
- containerPort: 7687
protocol: TCP
- containerPort: 7474
protocol: TCP
resources:
resources: # see requirements for Neo4j v3.5.14 https://neo4j.com/docs/operations-manual/3.5/installation/requirements/
limits:
memory: 2G
requests:
memory: 1G
memory: 2G
terminationMessagePath: /dev/termination-log
terminationMessagePolicy: File
volumeMounts:

View File

@ -9,4 +9,4 @@
- ReadWriteOnce
resources:
requests:
storage: "5Gi"
storage: "10Gi" # see requirements for Neo4j v3.5.14 https://neo4j.com/docs/operations-manual/3.5/installation/requirements/