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
*.lof | |
*.lol | |
*.ilg | |
*.nls | |
*.log | |
*.lot | |
*.nlo | |
*.out | |
*.toc |
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
openssl pkcs12 -inkey credentials/admin-key.pem -in credentials/admin.pem -export -out certandkey.pfx |
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
AWS_REGION="us-east-1" lego --path=/Users/fredericbranczyk/.lego --dns route53 --accept-tos [email protected] --domains=brancz.com run |
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: v1 | |
kind: Service | |
metadata: | |
labels: | |
app: alertmanager-cluster | |
name: alertmanager-cluster-client | |
spec: | |
ports: | |
- name: alertmanager-web | |
nodePort: 30900 |
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
#!/bin/bash -e | |
db=/srv/prometheus/alertmanager/data/am.db | |
backup="${db}-$(date +%s)" | |
convert=/srv/prometheus/alertmanager/csv2json.rb | |
# block outgoing pagerduty requests | |
iptables -A OUTPUT -p tcp --dport 443 -j REJECT | |
sv stop alertmanager |
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: storage.k8s.io/v1beta1 | |
kind: StorageClass | |
metadata: | |
name: gce-ssd-storage | |
parameters: | |
type: pd-ssd | |
provisioner: kubernetes.io/gce-pd | |
--- | |
apiVersion: v1 | |
kind: PersistentVolumeClaim |
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
#!/bin/bash | |
# First git clone [email protected]:kubernetes-incubator/bootkube | |
# cd bootkube/hack/quickstart | |
# | |
# Then start executing these commands | |
gcloud compute instances create k8s-core1 \ | |
--image https://www.googleapis.com/compute/v1/projects/coreos-cloud/global/images/coreos-stable-1122-3-0-v20161021 \ | |
--zone us-east1-c --machine-type n1-standard-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
apiVersion: v1 | |
kind: List | |
items: | |
- apiVersion: v1 | |
data: | |
alertmanager.yaml: |- | |
global: | |
resolve_timeout: 5m | |
route: | |
group_by: ['job'] |
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
global: | |
resolve_timeout: 5m | |
route: | |
group_by: ['job'] | |
group_wait: 30s | |
group_interval: 5m | |
repeat_interval: 12h | |
receiver: 'webhook' | |
receivers: | |
- name: 'webhook' |
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
fredericbranczyk at Frederics-MBP in ~/git/coreos/coreos-vagrant on master | |
○ vagrant up | |
Bringing machine 'core-01' up with 'virtualbox' provider... | |
==> core-01: Importing base box 'coreos-alpha'... | |
==> core-01: Matching MAC address for NAT networking... | |
==> core-01: Checking if box 'coreos-alpha' is up to date... | |
==> core-01: A newer version of the box 'coreos-alpha' is available! You currently | |
==> core-01: have version '1221.0.0'. The latest is version '1248.1.0'. Run | |
==> core-01: `vagrant box update` to update. | |
==> core-01: Setting the name of the VM: coreos-vagrant_core-01_1481751747919_2287 |