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

Sign up
Appearance settings

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

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /