DEV Community

Deploying a Prisma cluster to Kubernetes

André König on February 13, 2018

This post was originally written as a tutorial for the official Prisma documentation. Motivation In this tutorial, you will learn how t...
Collapse
 
donedgardo profile image
Edgardo Carreras

Thank you for your post, we got our Prisma production server up in a kubernetes cluster, thanks to you.

I'm very new to kubernetes, but I ended up figuring it out.
I followed the guide with Google Cloud Platform, and ended up with the questions of how many virtual machines does this actually create?
To my surprise, I found my self with three of them and 4 persistent volumes 1 of 100g per each VM and one 20gb which is the one I was expecting from the guide.

If this is the case why 3 VMS? what's going on here?
Thanks again!

Collapse
 
leopsidom profile image
LeoPsidom • Edited

Hey. Thanks for the really nice post. All the steps went through smoothly when I follow your steps, except the port-forwarding; After I execute the command kubectl port-forward --namespace prisma my pod 4467:4466, it seems to hang there and nothing happens: Forwarding from 127.0.0.1:4467 -> 4466. Do you have any idea what could be the issue?

Also if I put localhost:4667 in the browser, it returns The requested resource could not be found.

Collapse
 
andre profile image
André König

You’re welcome 🙂

Hm, strange. Just to make sure, could you try:

kubectl port-forward -n prisma yourpod 4466:4466

Collapse
 
sandrayin profile image
sandrayin • Edited

hi, what is the best way to link to a react front end if i create an individual prisma container just like your tutorial? Can i create a react front end container then connect the dots via its clusterIP port?

Collapse
 
alexg0g profile image
𝗔𝗹𝘅

thanks for the post!