Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codeasashu/k8s-example
A simple REST API microservice example in kubernetes
https://github.com/codeasashu/k8s-example
docker docker-compose flask-application kubernetes
Last synced: 9 days ago
JSON representation
A simple REST API microservice example in kubernetes
- Host: GitHub
- URL: https://github.com/codeasashu/k8s-example
- Owner: codeasashu
- Created: 2019-03-25T22:17:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-03-26T16:18:56.000Z (over 5 years ago)
- Last Synced: 2024-10-06T00:41:16.046Z (3 months ago)
- Topics: docker, docker-compose, flask-application, kubernetes
- Language: HTML
- Size: 6.84 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# K8S Example
This repo serves as a basic todo application in plain HTML and jQuery with a python backend running in flask, storing data on redis.
**NOTE**: This repo is still a work in progress so do not yet deploy on kubernetes.
## Running
```
cp env-example .env
docker-compose -f docker-compose.yml -f docker-compose.dev.yml build
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d
```This will run a basic docker cluster.
To run on k8s, deploy it using
```
kubectl apply -f k8s
```