Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```