Kubernetes on gcp for Nodejs and Mongo

2/21/2018

I want to deploy cluster of nodejs with mongodb replication set on gcp with the help of kubernetes, till now I am able to deploy nodejs cluster on gcp with kubernetes and mongodb replication set separately with the help of this pkdone/gke-mongodb.

Can anyone help me or provide me a link of any tutorial or documentation.

-- yousuf iqbal
google-cloud-platform
kubernetes
mongodb
node.js

1 Answer

4/24/2019

This example here on Kubernete's official Github account shows in details how to create your cluster on GCP with a NodeJS web service and a MongoDB instance.

https://github.com/kubernetes/examples/tree/master/staging/nodesjs-mongodb

This other post by @jaydestro was very helpful for me. It covers in details the whole process using MongoDB Atlas.

https://medium.com/google-cloud/modern-distributed-application-deployment-with-kubernetes-and-mongodb-atlas-4ec9eff5bab2

-- Alejandro Junco
Source: StackOverflow