https://github.com/topfreegames/mystack-controller
Mystack creates a personal stack of predefined services on kubernetes
https://github.com/topfreegames/mystack-controller
devops kubernetes microservice mystack
Last synced: 8 months ago
JSON representation
Mystack creates a personal stack of predefined services on kubernetes
- Host: GitHub
- URL: https://github.com/topfreegames/mystack-controller
- Owner: topfreegames
- License: mit
- Created: 2017-03-24T16:44:09.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-10-07T18:23:57.000Z (over 7 years ago)
- Last Synced: 2025-07-27T23:47:32.802Z (8 months ago)
- Topics: devops, kubernetes, microservice, mystack
- Language: Go
- Homepage:
- Size: 251 KB
- Stars: 3
- Watchers: 14
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
mystack-controller
=================
[](https://travis-ci.org/topfreegames/mystack-controller)
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
```shell
make cross-build-linux-amd64
```
#### Automated tests
To run unit tests:
```shell
make unit
```
To run integration tests:
```shell
make int
```
To run them all:
```shell
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):
```shell
docker build -t dockerhub-user/mystack-controller:v1 .
```
#### Push it to Dockerhub
```shell
docker push dockerhub-user/mystack-controller:v1
```
#### Run postgres on Kubernetes
```shell
kubectl create -f ./manifests/postgres.yaml
```
#### Run controller on Kubernetes
```shell
kubectl create -f ./manifests/controller.yaml
```