Comment

Comment by vbezhenar

All you need exists on kubernetes.io.

Start with https://kubernetes.io/docs/tutorials/hello-minikube/ and proceed.

Read reference documentation on the same site whenever you need to dig somewhere.

It's awesome. You don't need any other websites. I was able to build a kubernetes cluster and right now deploying multi-service application and I have had enough technical information on this website alone.

As to answer your questions:

You can start with DB as an ordinary container in a statefulset deployment. It's similar to docker. You configure it with environment variables. Advanced approach is operators, but you don't need those for simple start.

Connection to DB is the same like docker. You use Kubernetes secrets instead of docker secrets and that's about it.

My message assumes that you're proficient with docker. If you're not, I suggest to first learning docker. May be you don't need Kubernetes for your scale at all. And if you do, most docker concepts make sense in Kubernetes anyway.

parent vbezhenar 4 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton