Skip to content

Instantly share code, notes, and snippets.

View JoelSpeed's full-sized avatar

Joel Speed JoelSpeed

  • Red Hat
View GitHub Profile
@JoelSpeed
JoelSpeed / gist:c92cfe9c75dea0b98fae04019ebf7868
Created July 22, 2021 12:04
Bootstrap E2E day 1 vs day 2 test output from 2668 + 2547
jspeed@jspeed-mac machine-config-operator % make bootstrap-e2e-local
go test -v${WHAT:+ -run="$WHAT"} ./test/e2e-bootstrap/
=== RUN TestE2EBootstrap
=== RUN TestE2EBootstrap/With_no_additional_manifests
E0722 12:49:52.227362 6206 template_controller.go:189] couldn't get ControllerConfig on dependency callback &errors.StatusError{ErrStatus:v1.Status{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ListMeta:v1.ListMeta{SelfLink:"", ResourceVersion:"", Continue:"", RemainingItemCount:(*int64)(nil)}, Status:"Failure", Message:"controllerconfig.machineconfiguration.openshift.io \"machine-config-controller\" not found", Reason:"NotFound", Details:(*v1.StatusDetails)(0xc000416420), Code:404}}
E0722 12:49:52.227826 6206 render_controller.go:185] error finding pools for machineconfig: could not find any MachineConfigPool set for MachineConfig 99-master-ssh with labels: map[machineconfiguration.openshift.io/role:master]
utils.go:87: Pool master has rendered configs [99-master-ssh 99-master-generated-registri
@JoelSpeed
JoelSpeed / simulate-termination.yaml
Created June 23, 2020 14:57
Simulate spot termination event
apiVersion: batch/v1
kind: Job
metadata:
name: simulate-termination
spec:
template:
spec:
containers:
- name: iptables
image: alpine
@JoelSpeed
JoelSpeed / keybase.md
Created January 9, 2020 11:45
Keybase

Keybase proof

I hereby claim:

  • I am JoelSpeed on github.
  • I am joelspeed (https://keybase.io/joelspeed) on keybase.
  • I have a public key whose fingerprint is EA84 4355 6866 3D99 CBB8 F32D 6E80 578D 6751 DEFB

To claim this, I am signing this object:

@JoelSpeed
JoelSpeed / kind-docker-proxy.yaml
Last active March 25, 2024 19:06
Expose Kind docker daemon
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: docker-proxy
namespace: kube-system
labels:
app: docker-proxy
spec:
selector:
@JoelSpeed
JoelSpeed / configmap.yaml
Created July 6, 2018 10:22
Nginx caching of upstream OAuth2 Proxy authentication requests
---
apiVersion: v1
kind: ConfigMap
metadata:
name: nginx-ingress-controller
namespace: ingress
data:
http-snippet: |
proxy_cache_path /var/run/cache levels=1:2 keys_zone=authentication:10m inactive=3s;