wget https://raw.githubusercontent.com/poetic/loku/master/loku -O loku && chmod +x loku && mv loku /usr/local/bin/
- First run
loku start
, that will initiate,configure, and build your kubernetes cluster real quick. - Next run
loku dashboard
, which will pull up your dashboard. There's so much goodness in and around the dashboard I don't want to spoil your journey going trough all that.
After all that you're ready to rock.
Cluster Management:
install Install loku and dependencies
start Start kubernetes cluster
stop Stop kubernetes cluster
dashboard Open kubernetes dashboard
destroy Destroy and remove kubernetes cluster
Apps:
drupal Install drupal on cluster
jenkins Install jenkins app
url [app-name-type] Get App URL, ex: loku url app-name-drupal
delete [app-name] Delete App, ex: loku delete app-name
After installing and starting your cluster, you can quickly install a drupal site on it. Just run:
loku drupal
Watch the logs in your dashboard as the drupal site builds, when the drupal pod is completed you can retrieve the url to the site with:
loku url [app_name-type]
The app_name portion will be the app name assigned to it, the type will be the kind of service that the app is. For example a drupal app named green-cat would use loku url green-cat-drupal
Quickly install Jenkins with 'loku jenkins'. After the app is initialized there will be instructions in the output to get the admin password.