This file contains hidden or 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
receivers: | |
################################################### | |
## Slack Receivers | |
- name: slack-code-owners | |
slack_configs: | |
- channel: '#{{- template "slack.monzo.code_owner_channel" . -}}' | |
send_resolved: true | |
title: '{{ template "slack.monzo.title" . }}' | |
icon_emoji: '{{ template "slack.monzo.icon_emoji" . }}' | |
color: '{{ template "slack.monzo.color" . }}' |
This file contains hidden or 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
# Refresh kubernetes certs with consul-template | |
vault { | |
address = "https://vault.service.consul:8200" | |
} | |
# ============================================================ | |
# Read etcd CA | |
# /etc/bootkube/assets/tls/etcd-client-ca.crt | |
# ============================================================ |
This file contains hidden or 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
etcdctl --debug -C https://etcd-2.identity.development.eeveebank.internal:2379 --ca-file /etc/ssl/etcd/etcd/ca.pem --cert-file /etc/ssl/etcd/etcd/etcd.pem --key-file /etc/ssl/etcd/etcd/etcd-key.pem member list | |
start to sync cluster using endpoints(https://etcd-2.identity.development.eeveebank.internal:2379) | |
cURL Command: curl -X GET https://etcd-2.identity.development.eeveebank.internal:2379/v2/members | |
got endpoints(https://etcd-1.identity.development.eeveebank.internal:2379,https://etcd-2.identity.development.eeveebank.internal:2379,https://etcd-0.identity.development.eeveebank.internal:2379) after sync | |
Cluster-Endpoints: https://etcd-1.identity.development.eeveebank.internal:2379, https://etcd-2.identity.development.eeveebank.internal:2379, https://etcd-0.identity.development.eeveebank.internal:2379 | |
cURL Command: curl -X GET https://etcd-1.identity.development.eeveebank.internal:2379/v2/members | |
cURL Command: curl -X GET https://etcd-1.identity.development.eeveebank.internal:2379/v2/members/leader | |
eee3f136fa |
This file contains hidden or 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
stream { | |
upstream master { | |
server master1:6443; | |
server master2:6443; | |
} | |
server { | |
listen 6443; | |
proxy_pass master; | |
} |
This file contains hidden or 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
# Interpolate the generate values | |
data "template_file" "kismatic_cluster" { | |
template = "${file("${path.module}/user-data/kismatic-cluster.yaml.tpl")}" | |
vars { | |
etcd1_ip = "${digitalocean_droplet.etcd_nodes.0.ipv4_address}" | |
master_loadbalancer_ip = "${digitalocean_loadbalancer.master_lb.ip}" | |
master1_ip = "${digitalocean_droplet.master_nodes.0.ipv4_address}" | |
master2_ip = "${digitalocean_droplet.master_nodes.1.ipv4_address}" | |
worker1_ip = "${digitalocean_droplet.worker_nodes.0.ipv4_address}" |
This file contains hidden or 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 you don't already have brew installed execute: | |
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
Then execute the following commands: | |
brew tap unofficial-cask/hashicorp-tap https://github.com/unofficial-cask/hashicorp-tap.git | |
brew install cask terraform |
This file contains hidden or 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
at 12:41, Dec 31: | |
You are now chatting with Josh. | |
steve wade | |
at 12:41, Dec 31: | |
what on earth is going on! | |
Josh | |
at 12:41, Dec 31: | |
Good afternoon, I'm Josh. How can I help? | |
steve wade | |
at 12:41, Dec 31: |
This file contains hidden or 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
-----BEGIN PGP MESSAGE----- | |
Version: Keybase OpenPGP v2.0.56 | |
Comment: https://keybase.io/crypto | |
wcBMA8/5IRfZ0ilZAQgA4hEixWWlvV9RO8MgzNK2imq2V/Ba00HbLAO0cPDx+Yym | |
IPo8APv0vvNptmwKMwXVFSiEKk2wGU7yzmgPgEzQ+J41HpDw6zmqbnrhP7onSttp | |
YCcFAASSukI0UfX/qH6xsDCRQLL1zO5YECyTFv1evmBedrU63WIkr2ZOoEw5MWIK | |
qeN7SSC66VpkDLuMma4rcyOo5KUyxzgIP42dxK1c9VrMFGDEPMdw6rzy8WHQukZw | |
p4Fzu7L5RUMMzoNJnIYU4OzI08OPz8MhBrAYsDgwmDxce9Pxi4oRKkNVuQTC+TOm | |
o3ttwuHPDl2u7fwKFrAKM+gSTQjqbBvK+tkU7jQhD8HATAMyqs0UEDz31wEIAInk |
This file contains hidden or 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
### Keybase proof | |
I hereby claim: | |
* I am swade1987 on github. | |
* I am swade1987 (https://keybase.io/swade1987) on keybase. | |
* I have a public key whose fingerprint is BB38 1BB6 5827 9A39 AFE1 C9B1 72F0 E119 72BE 7AF4 | |
To claim this, I am signing this object: |
This file contains hidden or 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
version: '2' | |
services: | |
traefik: | |
image: traefik | |
restart: unless-stopped | |
command: --web --docker --docker.domain=docker.localhost --logLevel=DEBUG | |
ports: | |
- "80:80" |