Skip to content

Instantly share code, notes, and snippets.

Dan Clarke dracan

Block or report user

Report or block dracan

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
@dracan
dracan / InitMaster.sh
Last active May 10, 2019
Install Kubernetes
View InitMaster.sh
#!/bin/bash
# Pre-pull the requisites Docker images needed to run a Kubernetes master
kubeadm config images pull -v3
# Init master node
kubeadm init --token-ttl=0 --pod-network-cidr=10.244.0.0/16 # This uses the Flannel pod network addon
# Setup local access to the cluster via the kubectl command
mkdir -p $HOME/.kube
@dracan
dracan / docker-compose.yaml
Created Dec 25, 2018
Prometheus/Grafana - docker-compose
View docker-compose.yaml
version: '3.1'
services:
prometheus:
image: prom/prometheus:v2.1.0
command:
- '--config.file=/etc/prometheus/prometheus.yml'
ports:
- 9090:9090
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
You can’t perform that action at this time.