Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
ci
 
 
 
 
 
 
 
 
 
 
 
 
pkg
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Stout Build Status codecov.io

Stout is external isolation plugin for Cocaine Cloud.

Configuration file

See configuration example:

{
    "version": 2,
    "metrics": {
        "type": "graphite",
        "period": "10s",
        "args": {
            "prefix": "cloud.env.{{hostname}}.cocaine_isolate_daemon",
            "addr": ":12345"
        }
    },
    "logger": {
        "level": "debug",
        "output": "/dev/stdout"
    },
    "endpoints": ["0.0.0.0:29042"],
    "debugserver": "127.0.0.1:9000",
    "mtn": {
        "enable": false,
        "allocbuffer": 4,
        "label": "somelabelforallocation",
        "ident": "someidentforallocation",
        "url": "http://net.allocator.service.local/api",
        "headers": {
          "Authorization": "OAuth youroauthkeyfornetallocator"
        },
        "dbpath": "/path/to/state/db",
        "allowlocalstate": false
    },
    "isolate": {
        "porto": {
            "type": "porto",
            "args": {
                "layers": "/tmp",
                "cleanupenabled": true,
                "setimgurl": false,
                "weakenabled": false,
                "gc": true,
                "waitloopstepsec": 5,
                "journal": "/tmp/portojournal.jrnl",
                "containers": "/tmp",
                "registryauth": {
                    "registry.your.domain": "OAuth youroauthkeyforregistry"
                }
            }
        },
        "docker": {
            "type": "docker",
            "args": {
                "registryauth": {
                    "registry.your.domain": "authdatafordockerdaemon"
                }
            }
        },
        "process": {
            "type": "process"
        }
    }
}

Build

go get -u github.com/noxiouz/stout/cmd/stout
cd $GOPATH/src/github.com/noxiouz/stout
go build -o cocaine-isolate-daemon cmd/stout/main.go

if $GOPATH/bin is added to $PATH, you can use:

go install github.com/noxiouz/stout/cmd/stout

Run it

cocaine-isolate-daemon -config=path/to/config.conf

About

External isolation daemon for Cocaine Cloud

Topics

Resources

License

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

You can’t perform that action at this time.