herd

command module
v0.0.0-...-38cc709 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 3, 2015 License: Apache-2.0 Imports: 12 Imported by: 0

README

herd

Animals playground.

CGO_ENABLED=0 GOOS=linux go build -a -tags netgo -ldflags '-w' .

sudo docker build -t gosharplite/herd:v9 .

sudo docker push gosharplite/herd:v9

sudo docker run --publish 8090:8090 gosharplite/herd:v9 -etcd_machines="http://192.168.6.2:2379,http://192.168.6.3:2379,http://192.168.6.4:2379" -k8s_host=192.168.6.13:8080


[Unit] Description=K8s auto scale daemon

[Service] ExecStartPre=-/usr/bin/docker kill herd1 ExecStartPre=-/usr/bin/docker rm herd1 ExecStart=/usr/bin/docker run --publish 8090:8090 --name herd1 gosharplite/herd:v9 -etcd_machines="http://192.168.6.2:2379,http://192.168.6.3:2379,http://192.168.6.4:2379" -k8s_host=192.168.6.13:8080 ExecStop=/usr/bin/docker stop herd1 Restart=always RestartSec=10s

[X-Fleet] MachineMetadata=role=service

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL