DEV Community

Discussion on: Learn Kubernetes, part II, Pods, Nodes and Services

Collapse
 
dhaneshkhot profile image
dhaneshkhot

Hi Chris, nicely explained! Thank you.
I've one question, if I were to create a node with 2 pods viz one for my nodejs app and another for mongodb with say 2 replicas, is it advisable?

Collapse
 
softchris profile image
Chris Noring

Hi
So what you would do is to tell Kubernetes that you want a certain state of 2 nodejs app pods and 3 pods for MongoDB. You wouldn't actually create the Nodes or Pods yourself. I'll be covering this in part III :)

Collapse
 
dhaneshkhot profile image
dhaneshkhot

I hold myself until next part then :)
Thanks a lot!