##DevOps stack on k8s
Simple stack in kubernetes cluster deploy with form builder application when run setup mongodb statefulset complete when you create statefulset of MongoDB already , you need to initilize mongodb replication with
kubectl exec mongo-0 mongo
>
rs.initiate({_id: "rs0", version: 1, members: [
{ _id: 0, host : "mongo-0.mongo.default.svc.cluster.local:27017" },
{ _id: 1, host : "mongo-1.mongo.default.svc.cluster.local:27017" },
]});
- add your domain into /etc/hosts same line as localhost