Using noSQl Database for creating cluster of mongoDB and python Flask(backend services) for managing the website.
You can connect to nodes, pods, and services from outside the cluster using one of several methods:
- I used bash to run the pods and services.Access is provided by a cluster node or pod.
- Run a pod and then use kubectl exec to connect to a shell within it.
- From that shell, you can connect to other nodes, pods, and services.
The pod status command is used to check the status of Kubernetes pods. If the status.phase of a pod is Succeeded or Running, it returns OK.
To see if the Deployment was created, used kubectl get deployments.
-
All activities on website are done by sending requests On Flask api and getting the output, which are then executed on the MongoDB database.
-
Included Database Is running on kubernetes.