Skip to content

jmeridth/fl2k8s

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published