Katrina Verey, Shopify
Visit Sched for the talk description, feedback form and slides.
# Change these variables as necessary. | |
main_package_path = ./cmd/example | |
binary_name = example | |
# ==================================================================================== # | |
# HELPERS | |
# ==================================================================================== # | |
## help: print this help message | |
.PHONY: help |
Katrina Verey, Shopify
Visit Sched for the talk description, feedback form and slides.
First of we need the registry and mysql server installed so we can keep track on which services are available, download new services and also run the actual database.
sudo apt install -y default-mysql-server default-mysql-client etcd curl
Before we start this POC we disable the default services as we will be setting up our own.
- name: custom_certmanager_monitoring | |
rules: | |
- alert: CertManagerAbsent | |
expr: absent(up{job="cert-manager"}) | |
for: 1h | |
annotations: | |
message: "Cert Manager has dissapeared from Prometheus service discovery." | |
labels: | |
severity: critical | |
- alert: CertManagerACMEProxyReachability |
Maintainer: Keil Miller Jr
How to create and manage an AUR package.
The following link should be read:
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# After loading this | |
# Install a pod network | |
# $ kubectl apply -f https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n') | |
# Allow pods to run on the master node | |
# $ kubectl taint nodes --all node-role.kubernetes.io/master- |
package main | |
import ( | |
"fmt" | |
"log" | |
"math/rand" | |
"net/http" | |
"time" | |
"github.com/prometheus/client_golang/prometheus" |
[[constraint]] | |
name = "k8s.io/api" | |
version = "kubernetes-1.11.0" | |
[[constraint]] | |
name = "k8s.io/apimachinery" | |
version = "kubernetes-1.11.0" | |
[[constraint]] | |
name = "k8s.io/client-go" |
i3-gaps has some packages that are required for it to work so install these things:
sudo apt install libxcb1-dev libxcb-keysyms1-dev libpango1.0-dev libxcb-util0-dev libxcb-icccm4-dev libyajl-dev libstartup-notification0-dev libxcb-randr0-dev libev-dev libxcb-cursor-dev libxcb-xinerama0-dev libxcb-xkb-dev libxkbcommon-dev libxkbcommon-x11-dev autoconf xutils-dev libtool automake
You also need to install libxcb-xrm-dev
, but I got Unable to locate package libxcb-xrm-dev
when trying to install from the apt repositories on Ubuntu 16.04. If this happens to you, just install it from source using these commands:
mkdir tmp