An example application used for learning basics of Kubernetes (deployments, config maps and secrets).
- Fork this repo under your username
- Go through the exercises
- Docker
- Docker Hub account (or other Docker registry)
- Kubernetes
- NodeJS, if you want to run the app locally
To start the application using nodemon
run:
npm start dev
From the root folder, run:
docker build -t hello-kube .
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