Skip to content

An example application for learning basics of Kubernetes

Notifications You must be signed in to change notification settings

peterj/hello-kube

Repository files navigation

hello-kube

An example application used for learning basics of Kubernetes (deployments, config maps and secrets).

Getting Started

  1. Fork this repo under your username
  2. Go through the exercises

Prerequisites

  • Docker
  • Docker Hub account (or other Docker registry)
  • Kubernetes
  • NodeJS, if you want to run the app locally

Development

To start the application using nodemon run:

npm start dev

Build the image

From the root folder, run:

docker build -t hello-kube .

Run the application

To run the application on a host machine:

npm install && npm start

To run the application using Docker, after you've built the image:

docker run -it -p 3000:3000 hello-kube 

About

An example application for learning basics of Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published