Add hints to configure the pod resources

This commit is contained in:
Wolfgang Huß 2020-12-08 15:43:00 +01:00
parent 332c3f9053
commit 9f454fd8fc
2 changed files with 4 additions and 1 deletions

View File

@ -58,6 +58,7 @@ persistent volumes once before you 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/).
Tips to configure the pod resources you find [here](https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/).
```bash
# in folder deployment/

View File

@ -41,7 +41,9 @@ spec:
protocol: TCP
- containerPort: 7474
protocol: TCP
resources: # see requirements for Neo4j v3.5.14 https://neo4j.com/docs/operations-manual/3.5/installation/requirements/
resources:
# see description and add cpu https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/
# see requirements for Neo4j v3.5.14 https://neo4j.com/docs/operations-manual/3.5/installation/requirements/
limits:
memory: 2G
requests: