https://github.com/peterj/hello-kube
An example application for learning basics of Kubernetes
https://github.com/peterj/hello-kube
Last synced: about 1 year ago
JSON representation
An example application for learning basics of Kubernetes
- Host: GitHub
- URL: https://github.com/peterj/hello-kube
- Owner: peterj
- Created: 2019-09-23T23:43:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T06:55:36.000Z (over 3 years ago)
- Last Synced: 2025-03-25T08:01:35.162Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 184 KB
- Stars: 2
- Watchers: 2
- Forks: 4
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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
1. Go through the [exercises](./exercises.md)
## 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
```