mystack-controller

command module
v0.4.20 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2018 License: MIT Imports: 2 Imported by: 0

README

mystack-controller

Build Status

Mystack creates a personal stack of predefined services on kubernetes for your users

Dependencies

  • Go 1.7
  • Docker
building docker image
make build-docker

Building

Build a linux binary
make cross-build-linux-amd64
Automated tests

To run unit tests:

make unit

To run integration tests:

make int

To run them all:

make test

Running

This controller must run inside Kubernetes cluster. So you need to create a docker image, push it to Dockerhub and run a service using this image. Here is an example of how to do it.

Build a docker image

On project root, run (mind the dot):

docker build -t dockerhub-user/mystack-controller:v1 .
Push it to Dockerhub
docker push dockerhub-user/mystack-controller:v1
Run postgres on Kubernetes
kubectl create -f ./manifests/postgres.yaml
Run controller on Kubernetes
kubectl create -f ./manifests/controller.yaml

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
https://github.com/topfreegames/mystack-controller
https://github.com/topfreegames/mystack-controller

Jump to

Keyboard shortcuts

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