Skip to content

An example for Kubernetes #6241

@danielpaz6

Description

@danielpaz6

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions