Skip to content

Can't create database in Kubernetes cluster #3

@rgaiacs

Description

@rgaiacs
$ kubectl exec -n cricdatabase -i -t node-6f5d9f66c4-vrl79 -- /bin/bash
root@node-6f5d9f66c4-vrl79:/opt/cric/backend# npx sequelize db:create

Sequelize CLI [Node: 13.10.1, CLI: 5.5.1, ORM: 5.21.2]

Loaded configuration file "src/config/database.js".

ERROR: getaddrinfo ENOTFOUND db

root@node-6f5d9f66c4-vrl79:/opt/cric/backend# less src/config/database.js 

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions