Skip to content
Manage docker swarm clusters
PHP Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
config_demo
doc/setup
src
www
.env
.gitignore
.kick.yml
.kickstartconfig
README.md
composer.json
config.php.dist
kickstart.sh

README.md

rudl-manager

Manage docker swarm clusters. Instead of offering a complex frontend, ruld-manager will clone a configuration repository and update the cluster configuration along these config-files.

Setting up rudl-manager

  • Development: Setup a docker swarm manager node by running

    sudo docker swarm init
    
  • Production: You must define some Secrets. See our setup-guide Setup Guide for production environments

  • InfraCamp Homepage

  • Configuration stored in git repository

  • Provision services

  • Event Logging and Notification

  • Manage SSL-Certificates

Development

Create a .kickstartconfig inside this project.

## Allow Container to communicate with host docker

KICKSTART_DOCKER_RUN_OPTS="$KICKSTART_DOCKER_RUN_OPTS -v /var/run/docker.sock:/var/run/docker.sock"

Starting

  • Generate a ssh pub/privatekey pair.
  • Run the service and pass the Repository URL and the tag to checkout
  • Pass a SECRET
  • Specify subfolder for cloud config

Generate a Git Repository

It will contain all the config files.



Add the

Config

cluster.json

{
    hostname: "cluster.name.tld",
    host_ips: [
        "183.204.22.13"
    ],
    access_keys: [
        "wurst",
        "rotate_wurst"
    ],
    allow_users: [
        "admin:encryptedPassword:0.0.0.0/0
    ],
    provision_services: {
        
    }
}

Achtung: Access-keys: Es gibt immer mehrere, damit rotiert werden kann. Der erste eintrag ist immer der aktuellste.

Frontend

Für jeden Service wird eine Datei angelegt

conf.d/<serviceA>.yml

service:
    

Letsencrypt integration

Cloudfront-Services must proxy all Requests to /.acme/challange/* to http://rudl-manager/.acme/callange.

Certs can be downloaded

You can’t perform that action at this time.