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
[[local|localrc]] | |
IP_VERSION=4 | |
SERVICE_IP_VERSION=4 | |
PUBLIC_INTERFACE=em1 | |
USE_PYTHON3="True" | |
VERBOSE="True" | |
DATABASE_PASSWORD=password | |
RABBIT_PASSWORD=password |
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
runtime: goroutine stack exceeds 1000000000-byte limit | |
runtime: sp=0xc027f10330 stack=[0xc027f10000, 0xc047f10000] | |
fatal error: stack overflow | |
runtime stack: | |
runtime.throw(0x17d9d83, 0xe) | |
/usr/local/go/src/runtime/panic.go:1116 +0x72 | |
runtime.newstack() | |
/usr/local/go/src/runtime/stack.go:1060 +0x78d | |
runtime.morestack() |
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
controller: | |
affinity: {} | |
autoscaling: | |
enabled: false | |
config: | |
log-format-stream: '"$remote_addr [$time_local] $protocol $status $bytes_sent $bytes_received $session_time"' | |
#use-proxy-protocol: "true" | |
#use-forwarded-headers: "true" | |
#compute-full-forwarded-for: "true" | |
daemonset: |
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
#CERTS_DIR="./certs" | |
#mkdir -p "${CERTS_DIR}" | |
#rm -rf ${CERTS_DIR}/* | |
## https port ssl passthrough | |
#suffix="https-p-sp" | |
# | |
## Private CA key | |
#openssl genrsa -out "${CERTS_DIR}/ca.key.pem" 4096 | |
# | |
## CA public cert |
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
// This will open up a prompt for text to send to a console session on digital ocean | |
// Useful for long passwords | |
(function () { | |
window.sendString = function (str) { | |
f(str.split("")); | |
function f(t) { | |
var character = t.shift(); | |
var i=[]; | |
var code = character.charCodeAt(); | |
var needs_shift = character.match(/[A-Z!@#$%^&*()_+{}:\"<>?~|]/); |
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
#!/bin/bash | |
set -x | |
set -e | |
sudo apt update | |
#sudo apt upgrade -y | |
sudo apt install -y vim git bash-completion | |
#git clone https://github.com/kubernetes/kubernetes | |
#sudo apt-get remove docker docker-engine docker.io containerd runc |
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
--- | |
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: debug-app | |
namespace: kube-system | |
labels: | |
k8s-app: debug-app | |
spec: | |
selector: |
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
# To be used with | |
# https://raw.githubusercontent.com/dmwm/CMSKubernetes/3c153baebfa10f790569dd1347048e2db1cfca2a/kubernetes/cmsweb/storages/cephfs-storage-couchdb.yaml | |
--- | |
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
name: nginx-deployment | |
namespace: couchdb | |
spec: | |
selector: |
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
{ | |
"dashboard": | |
{ | |
"__inputs": [ | |
{ | |
"name": "DS_PROMETHEUS", | |
"label": "prometheus", | |
"description": "Prometheus data source", | |
"type": "datasource", | |
"pluginId": "prometheus", |
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 | |
root = "/var/lib/containerd" | |
state = "/run/containerd" | |
plugin_dir = "/opt/containerd/plugins" | |
disabled_plugins = [] | |
required_plugins = [] | |
oom_score = 0 | |
imports = ["/etc/containerd/config.toml"] | |
[grpc] |
NewerOlder