microscopic-river-74022
09/15/2023, 2:43 PMmicroscopic-river-74022
09/15/2023, 2:43 PMDeploy
configuration in Garden to deploy a Neo4j pod. Here's an equivalent configuration:
yaml
kind: Deploy
type: container
name: neo4j
spec:
image: neo4j:5.6.0
ports:
- name: neo4j-http
containerPort: 7474
- name: neo4j-bolt
containerPort: 7687
env:
NEO4J_AUTH: "neo4j/test1234"
NEO4JLABS_PLUGINS: "[\"apoc\"]"
This configuration will create a container deployment with the specified image, ports, and environment variables. Please note that the image
field is required if no build
is specified (source ()).
Also, remember to replace type: container
with the appropriate module type for your specific use case. The container
module type is used here as an example, but Garden supports other module types like helm
, kubernetes
, etc. (source ()).
Please note that this is a simplified example and you might need to adjust it according to your specific needs and environment. For example, you might need to specify volumes for data persistence, or configure health checks for your service.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------