Skip to content

topfreegames/mystack-controller

Repository files navigation

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

About

Mystack creates a personal stack of predefined services on kubernetes

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages