From 9f454fd8fc2577ffe4b741b3935d780a16cb80b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wolfgang=20Hu=C3=9F?= Date: Tue, 8 Dec 2020 15:43:00 +0100 Subject: [PATCH] Add hints to configure the pod resources --- deployment/ocelot-social/README.md | 1 + deployment/ocelot-social/deployment-neo4j.yaml | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/deployment/ocelot-social/README.md b/deployment/ocelot-social/README.md index a7d7a13c2..29680f0c8 100644 --- a/deployment/ocelot-social/README.md +++ b/deployment/ocelot-social/README.md @@ -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/ diff --git a/deployment/ocelot-social/deployment-neo4j.yaml b/deployment/ocelot-social/deployment-neo4j.yaml index 8ade7325b..aa2c367c6 100644 --- a/deployment/ocelot-social/deployment-neo4j.yaml +++ b/deployment/ocelot-social/deployment-neo4j.yaml @@ -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: