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
{ | |
"cniVersion": "0.4.0", | |
"name": "podman", | |
"plugins": [ | |
{ | |
"type": "bridge", | |
"bridge": "cni-podman0", | |
"isGateway": true, | |
"ipMasq": false, | |
"ipam": { |
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
#!/usr/bin/env bash | |
EL_VERSION=7 | |
LOG=/tmp/.sync-attempt-out.$$ | |
TIMESTAMP_FILE=/var/tmp/.sync-newer.$$ | |
YUM_BASE=/data/yum${EL_VERSION} | |
YUM_REPOS_DIR=/etc/yum${EL_VERSION}.repos.d | |
YUM_CONF=/etc/yum_${EL_VERSION}.conf |
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
--- | |
# Source: fluentd-elasticsearch/templates/service-account.yaml | |
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: es-fluentd | |
namespace: monitoring | |
labels: | |
app: fluentd | |
kubernetes.io/cluster-service: "true" |
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/sh | |
INTERFACE=eth0 | |
NETMASK_CIDR='/24' # 255.255.255.0 | |
LOAD_BALANCER_IP=192.168.1.100 | |
LOAD_BALANCER_DNS=api-k8s-lab | |
LOAD_BALANCER_PORT=6443 | |
CP_PORT=6443 | |
CP0_HOSTNAME=k8s-lab1 |
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
#!/usr/bin/env python | |
import atexit | |
import functools | |
import gzip | |
import itertools | |
import logging | |
import os | |
import socket | |
import sys |
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
#!/usr/bin/python | |
import optparse # argparse not available since most systems still have python 2.6 (argparse is in 2.7) | |
import os | |
import sys | |
import time | |
# helper function to return the parent dir given a dir | |
parent_of = lambda p: os.path.sep.join( p.split( os.path.sep )[:-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
#!/bin/bash | |
if [[ $1 -ne 0 ]]; then | |
echo "ERROR: failed install, backing out changes" | |
mdadm --stop /dev/md{0,1,2,3} | |
mdadm --zero-superblock /dev/sd{a,b}{1,4,5,6} | |
sgdisk --zap /dev/sdb | |
exit | |
fi |
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
install | |
skipx | |
text | |
eula --agreed | |
lang en_US.UTF-8 | |
keyboard us | |
timezone Europe/London | |
# Use network installation |
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
#!/usr/bin/env python | |
import hashlib | |
import hmac | |
import random | |
import sqlite3 | |
import string | |
from base64 import b64encode | |
from itertools import izip, starmap |
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
#!/usr/bin/env python | |
import argparse | |
import itertools | |
import json | |
import math | |
import os | |
import re | |
import sys | |
import urllib2 |
NewerOlder