mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-13 07:46:06 +00:00
Add to 'Apply The Configuration'
This commit is contained in:
parent
d23797e83b
commit
eb3eedbab2
@ -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
|
and services. There is a [dedicated section](../volumes/README.md). Create those
|
||||||
persistent volumes once before you apply the configuration.
|
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
|
```bash
|
||||||
# in folder deployment/
|
# in folder deployment/
|
||||||
|
|||||||
@ -31,19 +31,21 @@ spec:
|
|||||||
- envFrom:
|
- envFrom:
|
||||||
- configMapRef:
|
- configMapRef:
|
||||||
name: configmap
|
name: configmap
|
||||||
image: ocelotsocialnetwork/develop-neo4j:latest
|
image: ocelotsocialnetwork/develop-neo4j:latest # for develop
|
||||||
imagePullPolicy: Always
|
# image: ocelotsocialnetwork/develop-neo4j:0.6.3 # for production or staging
|
||||||
|
imagePullPolicy: Always # for develop or staging
|
||||||
|
# imagePullPolicy: IfNotPresent # for production
|
||||||
name: neo4j
|
name: neo4j
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 7687
|
- containerPort: 7687
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
- containerPort: 7474
|
- containerPort: 7474
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
resources:
|
resources: # see requirements for Neo4j v3.5.14 https://neo4j.com/docs/operations-manual/3.5/installation/requirements/
|
||||||
limits:
|
limits:
|
||||||
memory: 2G
|
memory: 2G
|
||||||
requests:
|
requests:
|
||||||
memory: 1G
|
memory: 2G
|
||||||
terminationMessagePath: /dev/termination-log
|
terminationMessagePath: /dev/termination-log
|
||||||
terminationMessagePolicy: File
|
terminationMessagePolicy: File
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
|
|||||||
@ -9,4 +9,4 @@
|
|||||||
- ReadWriteOnce
|
- ReadWriteOnce
|
||||||
resources:
|
resources:
|
||||||
requests:
|
requests:
|
||||||
storage: "5Gi"
|
storage: "10Gi" # see requirements for Neo4j v3.5.14 https://neo4j.com/docs/operations-manual/3.5/installation/requirements/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user