Skip to content

Instantly share code, notes, and snippets.

View detiber's full-sized avatar
🐢
Cuddling all the Koobs

Jason DeTiberus detiber

🐢
Cuddling all the Koobs
View GitHub Profile
@thebsdbox
thebsdbox / bgp.go
Created August 27, 2020 13:43
This CLI will advertise a packet EIP through BGP
package main
import (
"context"
"flag"
"fmt"
"net"
"os"
"strconv"
"strings"
@hoegaarden
hoegaarden / README.md
Last active August 7, 2019 16:18
screenshot & upload failing testgrid boards

Running

# using defaults:
#   BOARDS: sig-release-master-blocking sig-release-master-upgrade
#   STATES: FAILING
./shot.sh

The goal here is to create a local mirror of the upstream OSTree repository.

Log into a shell on the host, and run the tools container. This isn't strictly necessary right now as we could use the host's ostree binary too, but in the future the tools container might contain more scripts for things like this. Once we're inside the tools container, we make an unprivileged user, as general best practice. It also shows that OSTree is perfectly happy to mirror/manipulate content as non-root.

@fatherlinux
fatherlinux / gist:18a57d5ccc530218216c
Created February 3, 2016 23:11
Metrics Mangement
== Deploy and Test Cluster Metrics ==
=== Deploy Cluster Metrics ===
Instructions developed from the [https://docs.openshift.org/latest/install_config/cluster_metrics.html Origin Docs]. First enter the project. Then, create the metrics-deployer service account. Then, add the heapster account permissions. Then, set up secrets.
oc new-project openshift-infra
oc project openshift-infra
oc create -f - <<API
apiVersion: v1
kind: ServiceAccount
metadata:
name: metrics-deployer