GitXplorerGitXplorer
j

fl2k8s

public
1 stars
0 forks
0 issues

Commits

List of commits on branch main.
Verified
25acbfeda2a8b2627132ba087fb82ba69b8a26f8

Update README.md

jjmeridth committed 2 years ago
Verified
685f90a4778726cf5de7dc4d0c51d9bd26235cac

rename fl8 to fl2k8s - flaskubernetes

jjmeridth committed 2 years ago
Verified
868ef48adbc5d7333462146be824328703144d95

handle ARM image building and usage

jjmeridth committed 6 years ago
Verified
90f009b6349b9a65857562c694f9de80e58cadd6

Add teeardown script

jjmeridth committed 6 years ago
Verified
95500b40ae6cc997ec397f903e8df8fb73e7389e

add shebang to entry point file app.py

jjmeridth committed 6 years ago
Verified
1c504278bc7c49565668b01dd7abff2cb62909b9

update flask and add docker-compose file

jjmeridth committed 6 years ago

README

The README file for this repository.

fl2k8s

fl2k8s = Flaskubernetes = Flask on Kubernetes

Prerequisites

For OSX

  • minikube
  • hyperkit
brew update && brew cask install minikube hyperkit

For Ubuntu/Linux

  • minikube
  • virtualbox

Installation instructions for minikube here

For ARM (raspberry pi) deployment

Reference post here

To add QEMU in the build agent there is a specific Docker Image performing what we need, so just run in your command line:

docker run --rm --privileged multiarch/qemu-user-static:register --reset

For non-ARM deployment

./run.sh

For ARM (raspberry pi) deployment

./run-rpi.sh

View

alias k="kubectl" k get all

Look for the target port on the Nodeport (source:target/TCP)

Example:

NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE

service/fl2k8s NodePort 10.102.88.231 8080:31659/TCP 16m

For OSX with Docker for Mac w/ Kubernetes

go to http://127.0.0.1:31659 to view the app

For Ubunutu/Linux with minikube

get the node IP from minikube first:

$ minikube ip

192.168.99.101

go to http://192.168.99.101:31659 to view the app

For regular Kubernetes cluster

Coming soon