This is a simple demo to run a sample nodejs rest app with data from mysql(maria db).
- Make
- kubectl
- Kubernetes cluster (using minikube preferably)
- docker
-
Install docker from here.
-
Setup kubernetes cluster
There are multiple ways to create kubernetes cluster. Minikube is used to create a local single node kubernetes cluster, useful for development and testing.
To bring up minikube cluster, run
minikube start
-
Install make if not installed.
From the top level project directory, run make start
. You can see many deployments, services and configMaps created.
This project deploys a nodejs rest service supported by mariadb service.
The file app.yaml has the service, deployment to bring the node rest service.
Similarly the file db.yaml has the service, deployment to create the maria db service.
- Make - To create the kubernetes resource via yaml file with ease
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Malathi - Initial work - malathit90
This project is licensed under the MIT License - see the LICENSE.md file for details