This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: extensions/v1beta1 | |
kind: Deployment | |
metadata: | |
name: redis-master | |
spec: | |
replicas: 1 | |
template: | |
metadata: | |
labels: | |
app: redis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this is fine | |
icoffey@icoffey-ltm some-project (master)*$ GOOS=linux govendor update github.com/somerepo/some-project/mocks | |
icoffey@icoffey-ltm some-project (master)*$ echo $? | |
0 | |
// doesnt exist, also fine | |
icoffey@icoffey-ltm some-project (master)*$ GOOS=linux govendor update github.com/somerepo/some-project/doesnt-exist | |
Error: Package "github.com/somerepo/some-project/doesnt-exist" not a go package or not in GOPATH. | |
// boom |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fetching: thor-0.18.1.gem (100%) | |
Fetching: busser-0.4.1.gem (100%) | |
Successfully installed thor-0.18.1 | |
Successfully installed busser-0.4.1 | |
2 gems installed | |
-----> Setting up Busser | |
Creating BUSSER_ROOT in /opt/busser | |
Creating busser binstub | |
Plugin bats installed (version 0.1.0) | |
-----> Running postinstall for bats plugin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Before relabeling: {__address__="deis-monitor-exporter.default.svc", __meta_kubernetes_role="service", __meta_kubernetes_service_annotation_prometheus_io_port="9100", __meta_kubernetes_service_annotation_prometheus_io_scrape="true", __meta_kubernetes_service_label_heritage="deis", __meta_kubernetes_service_name="deis-monitor-exporter", __meta_kubernetes_service_namespace="default", __metrics_path__="/metrics", __scheme__="http", job="kubernetes-service-endpoints"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
monitor (master) $ k exec deis-monitor-prometheus-r3x12 -- /bin/prometheus -version | |
prometheus, version 0.16.1 (branch: master, revision: 5f52ed3) | |
build user: @afbbf75ae75d | |
build date: 20151118-16:06:23 | |
go version: 1.5.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"alert": { | |
"version": null, | |
"createdOn": 0, | |
"modifiedOn": 0, | |
"name": "DeleteME", | |
"description": "", | |
"enabled": true, | |
"filter": "agent.tag.account_id = null", | |
"type": "MANUAL", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (!empty($id)) { | |
$group_name = h($metagroup['name']); | |
} else { | |
$group_name = h($metagroup['name']); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if (!extension_loaded('pcntl')) { | |
print 'no pcntl'; | |
} | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
$(function() { | |
$(".tree_node").click(function(e) { | |
e.preventDefault(); | |
id = $(this).attr("id"); | |
vis = $("#details_" + id).is(":visible"); | |
$(this).toggleClass("tree_closed",vis); | |
$(this).toggleClass("tree_open",!vis); | |
$("#details_" + id).toggle(!vis); | |
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Graceful Deis node clean up | |
DefaultDependencies=no | |
After=fleet.service etcd2.service docker.service docker.socket | |
Requires=fleet.service etcd2.service docker.service docker.socket | |
Wants=graceful-ceph-shutdown.service | |
RefuseManualStop=true | |
[Install] | |
WantedBy=shutdown.target halt.target reboot.target |
NewerOlder