Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

sofib/plonk-bootstrap

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PLONK stack bootstrap

Supports Kubernetes on Docker for Mac and kind.

Before blindly executing any script make sure to look at what they do ;)

Prerequisites:

  • Working docker setup
  • faas-cli
  • kind or enabled Kubernetes on Docker for Mac
  • kubectl
  • helm 2

There are 3 scripts of interest:

  • mac.sh to boot up PLONK stack on the docker for MacOs
  • kind.sh to boot up PLONK stack on the kind (kubernetes in docker)
  • down.sh to remove PLONK stack from the cluster

To get the token to login to the kubernetes dashboard execute kubectl -n kubernetes-dashboard describe secret $(kubectl -n kubernetes-dashboard get secret | grep admin-user | awk '{print $1}')

To access the Dashboard in the browser, exec kubectl port-forward -n kubernetes-dashboard service/kubernetes-dashboard 10443:443 and access https://localhost:10443 afterwards. Alternatively we can use kubectl proxy but the access url is longinsh like http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/

Details here: https://github.com/kubernetes/dashboard/blob/master/docs/user/accessing-dashboard/1.7.x-and-above.md#api-server

Creating basic auth secret manually is necesssary to boot everything up

PASSWORD=$(head -c 12 /dev/urandom | shasum| cut -d' ' -f1) kubectl -n openfaas create secret generic basic-auth --from-literal=basic-auth-user=admin --from-literal=basic-auth-password="$PASSWORD"

About

Bootstrap for the PLONK stack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.