Skip to content

malathit/hello-kube

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A hello world application of kube with istio

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published