Hi friends any one here can guide me on how to use...
# orm-help
f
Hi friends any one here can guide me on how to use Prisma with kubernetes?
n
Hey Fenibo 👋 Do you have any specific questions or queries regarding Prisma’s usage?
f
Ya, I am struggling to deploy it for usage in a kubernetes environment. Will be glad if I can be hellped
n
Just to clarify, you aren’t talking about Palo Alto Networks Prisma Cloud for Kubernetes - https://www.paloaltonetworks.com/prisma/environments/kubernetes, right? People usually confuses us with them
f
I mean the standard prisma.io orm with standard kubernetes.io . Preferred database is MySQL.
👍 1
n
Cool, you are in the right slack! 😃
f
😇
n
I assume you are looking for tutorials or guides on how can you use Prisma with Kubernetes?
f
Ya. Good ones, possibly more than just an option
n
I was able to find this recent guide on using Prisma with MySQL and Docker. Once the docker image is created you could use this official docker guide to deploy on Kubernetes
j
There is nothing special about using Prisma on Kubernetes - you just add it to your application, use that, and then deploy your application how you would deploy it via Kubernetes without Prisma.
f
@Nurul Thanks. Will check. Will get back to u if needed
@Nurul I couldn't find anything regarding Prisma on the link you sent. https://docs.docker.com/get-started/kube-deploy/ Can you pls recheck. @janpio could you pls offer some guide on setting up kubernetes with Prisma running MySQL?
j
No. There is nothing special you need to do about Prisma in Kubernetes, as it is just like any other Node package that is used in your application. Any deployment tutorial for a Node application will work with Prisma.
f
Owk, I just need to know how the .yaml config file for Prisma should be. It's content. That's my challenge
@janpio Owk, I just need to know how the .yaml config file for Prisma should be. It's content. That's my challenge
j
Prisma has no yaml config file, so I do not know what you are referring to.
Again, Prisma is not a "thing" you need to handle in any way on deployment.
You really just deploy your application.
f
https://v1.prisma.io/tutorials/deploy-prisma-to-kubernetes-ct13 That's the kind of setup am asking about. Just that for me, the Prisma/deployment.yaml file is crashing when it's been applied like: kubectl apply -f Prisma/deployment.yml
@janpio https://v1.prisma.io/tutorials/deploy-prisma-to-kubernetes-ct13 That's the kind of setup am asking about. Just that for me, the Prisma/deployment.yaml file is crashing when it's been applied like: kubectl apply -f Prisma/deployment.yml
j
Are you trying to use Prisma 1.x?
Then you need to ask in #prisma1 - all questions here are for versions 2.x and newer.
But I can already tell you, we can not give more information than what is in that old documentation.