Skip to content

Latest commit

 

History

History
55 lines (29 loc) · 1.61 KB

README.md

File metadata and controls

55 lines (29 loc) · 1.61 KB

hello-kube

This is a simple demo to run a sample nodejs rest app with data from mysql(maria db).

Prerequisites

  • Make
  • kubectl
  • Kubernetes cluster (using minikube preferably)
  • docker

Getting Started

  1. Install docker from here.

  2. 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

  3. Install make if not installed.

Installing

From the top level project directory, run make start. You can see many deployments, services and configMaps created.

What the project does?

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.

Built With

  • Make - To create the kubernetes resource via yaml file with ease

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments