homepage

module
v0.3.10 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2017 License: MIT

README

Homepage

This repo holds a number of apps that run in my personal Kubernetes cluster.

Apps

  • Homepage - My homepage/blog (www.ianlewis.org)
  • API Server - API that serves personal data (api.ianlewis.org)
  • Camlistore - Camlistore to manage personal data
  • MySQL - MySQL database.
  • Backup - MySQL database backups.
  • Cron - A simple cron controller that can run Kubernetes Jobs
  • nginx - Nginx frontend for the homepage/blog
  • kube-lego - A controller for renewing certificates automatically.

Creating a Cluster

My cluster is deployed on Google Container Engine, however, any Kubernetes cluster would do.

Create and Setup a Cloud Platform Project

  1. Install the Google Cloud Platform SDK.

  2. Create a project in the Google Cloud Platform console.

  3. Authenticate the Google Cloud Platform SDK:

    $ gcloud auth login
    
  4. Set the id of your new project:

    $ gcloud config set project <PROJECT>
    
  5. Set the zone you want the app to run in:

    $ gcloud config set compute/zone asia-east1-b
    
  6. Create a Container Engine Cluster. You may need to specify other options, such as the size of the cluster, VM type etc.

    $ gcloud container clusters create homepage-cluster
    

Directories

Path Synopsis
api
Command simple-crontab-controller implements a crontab controller that watches for CronTab third party resources and runs a cron control loop for each.
Command simple-crontab-controller implements a crontab controller that watches for CronTab third party resources and runs a cron control loop for each.
scripts command

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL