Skip to content

Instantly share code, notes, and snippets.

Miguel Ángel Ausó maauso

Block or report user

Report or block maauso

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am maauso on github.
  • I am maauso (https://keybase.io/maauso) on keybase.
  • I have a public key whose fingerprint is 3C31 C5D7 E7ED E2F6 B3AD 6705 88BB 7E50 1F9F 511B

To claim this, I am signing this object:

View keybase.md

Keybase proof

I hereby claim:

  • I am maauso on github.
  • I am maauso (https://keybase.io/maauso) on keybase.
  • I have a public key whose fingerprint is 6CE4 A515 74E8 557C C39C 0696 EFFC DCF7 B82F 81F8

To claim this, I am signing this object:

@maauso
maauso / haproxy.cfg.ctmpl
Created Dec 26, 2016
HaProxy with consul-template
View haproxy.cfg.ctmpl
global
daemon
{{range $index, $element := service (env "CONSUL_SYSLOG_NAME") }}
{{if eq $index 0}}log {{.Address}}:{{.Port}} local0{{ end }}
{{else}}
log {{env "LOCAL_SYSLOG"}} local0
{{ end }}
spread-checks {{env "HAPROXY_SPREAD_CHECKS"}}
max-spread-checks {{env "HAPROXY_MAX_SPREAD_CHECKS"}}
maxconn {{env "HAPROXY_MAXCONN_GLOBAL"}}
View application.conf
vamp {
persistence {
database.type = "elasticsearch"
database.elasticsearch.url = ${vamp.pulse.elasticsearch.url}
key-value-store {
type = "zookeeper"
zookeeper.servers = ${VAMP_PERSISTENCE_KEY_VALUE_STORE_ZOOKEEPER_SERVERS}
}
View Vamp-error-dcos
This file has been truncated, but you can view the full file.
--container="mesos-de9de780-a30c-47d2-aec5-4ef5d2b4dc57-S147.dcf6f424-5e38-4594-bcf0-1b307bdee350" --docker="docker" --docker_socket="/var/run/docker.sock" --help="false" --initialize_driver_logging="true" --launcher_dir="/usr/libexec/mesos" --logbufsecs="0" --logging_level="INFO" --mapped_directory="/mnt/mesos/sandbox" --quiet="false" --sandbox_directory="/var/lib/mesos/slaves/de9de780-a30c-47d2-aec5-4ef5d2b4dc57-S147/frameworks/0dce23c0-1f03-4ea9-bcc3-783eb7643c54-0000/executors/test_vamp-dcos.f7764c93-b6e5-11e6-9aa5-024288e0c130/runs/dcf6f424-5e38-4594-bcf0-1b307bdee350" --stop_timeout="30secs"
View nginx_for_marathon.json
{
"id": "/test/ha/nginx/nginx",
"cmd": null,
"cpus": 0.1,
"mem": 32,
"disk": 0,
"instances": 1,
"container": {
"type": "DOCKER",
"volumes": [],
View Marathon-lb.json
{
"id": "/qa/marathon-lb-test",
"cmd": "/marathon-lb/run sse --marathon http://marathon.company.com:8080 --group test --health-check",
"cpus": 1,
"mem": 1024,
"disk": 0,
"instances": 1,
"ports": [
80, 443, 9090
],
You can’t perform that action at this time.