Skip to content

Instantly share code, notes, and snippets.

apiVersion: extensions/v1beta1
kind: Ingress
metadata:
name: example-ingress1
labels:
ingress.kubernetes.io/rewrite-target: /
keep: me
foo: bar
---
apiVersion: extensions/v1beta1
@KauzClay
KauzClay / failing_app.go
Created June 30, 2020 19:01
failing app that will cause 502 bad gateway on gorouter
package main
import (
"fmt"
"net/http"
"os"
"time"
)
func main() {
@KauzClay
KauzClay / test_backend.go
Created October 14, 2019 18:20
Testing components for panic reproduction
package main
import (
"fmt"
"log"
"net/http"
"os"
)
func main() {
@KauzClay
KauzClay / dumped_goroutines.log
Created October 29, 2018 23:39
Logs from Istio-control VM after receiving a bosh restart
SIGQUIT: quit
PC=0x45fd70 m=0 sigcode=0
goroutine 0 [idle]:
runtime.epollwait(0x7ffc00000004, 0x7ffc6d33cd88, 0xffffffff00000080, 0x7ffc00000000, 0xffffffff09210f01, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
/var/vcap/data/packages/golang-1-linux/a0842fa118715b1a2a6a187f7ce4fba9e75db6d2/src/runtime/sys_linux_amd64.s:671 +0x20
runtime.netpoll(0xc000040f01, 0x1)
/var/vcap/data/packages/golang-1-linux/a0842fa118715b1a2a6a187f7ce4fba9e75db6d2/src/runtime/netpoll_epoll.go:71 +0x132
runtime.findrunnable(0xc00003a000, 0x0)
/var/vcap/data/packages/golang-1-linux/a0842fa118715b1a2a6a187f7ce4fba9e75db6d2/src/runtime/proc.go:2469 +0x51c