An example for Kubernetes
danielpaz6 opened this issue · 0 comments
danielpaz6 commented
Hi,
It would be nice to know how exactly to deploy Prisma to a local Kubernetes development cluster (it's Docker k8s or KinD) in here:
https://www.prisma.io/docs/orm/prisma-client/deployment/deploy-prisma
I honestly not sure how to do so,
I should execute npx prisma generate
and npx prisma db push
before starting my server right? where should I do that? as part of my Kubernetes manifest? or Dockerfile? I should also have another service for the database, and how can I guarantee that my database service has executed before my server?