I want to go from docker-compose to kubernetes. I already have a docker-compose, and docker images that work perfectly fine. Now I have difficulty deploying it to kubernetes, specifically with neo4j...
This is my docker-compose.yaml
:
version: '3'
services:
neo4j:
image: neo4j
ports:
- '7474:7474'
- '7687:7687'
environment:
- NEO4J_AUTH=${NEO4J_USERNAME}/${NEO4J_PASSWORD}
volumes:
- neo4j_data:/data
overseen:
image: cryxnet/crawnet-overseen
ports:
- '5000:5000'
environment:
- NEO4J_USERNAME=${NEO4J_USERNAME}
- NEO4J_PASSWORD=${NEO4J_PASSWORD}
- NEO4J_CONNECTION_URI=${NEO4J_CONNECTION_URI}
- FLASK_APP=${FLASK_APP}
- FLASK_DEBUG=${FLASK_DEBUG}
depends_on:
- neo4j
dashboard:
image: cryxnet/crawnet-dashboard
ports:
- '3000:3000'
environment:
- FLASK_APP_URL=${FLASK_APP_URL}
depends_on:
- overseen
volumes:
neo4j_data:
I converted the above compose with kompose.
The api and the dashboard work perfectly fine but neo4j always fails.
I did kubectl logs neo4j
and this was what i got:
Failed to read config: Unrecognized setting. No declared setting with name: PORT.7687.TCP.PORT. Cleanup the config or disable 'server.config.strict_validation.enabled' to continue.
Run with '--verbose' for a more detailed error message.