Skip to content

Instantly share code, notes, and snippets.

Avatar

Jeff Peeler jpeeler

  • New York, NY
View GitHub Profile
View test lookup
# tested with:
# sudo firewall-cmd --direct --add-rule ipv4 filter OUTPUT 0 -d <IP> -j DROP
package main
import (
"fmt"
"net"
"time"
)
View gist:955619990343ca732fad48ad79080039
=== RUN TestUpdateCSVWithOwnedAPIService
time="2019-03-07T11:55:22-05:00" level=info msg="Loading kube client config from path \"/var/run/kubernetes/admin.kubeconfig\""
time="2019-03-07T11:55:22-05:00" level=info msg="Loading kube client config from path \"/var/run/kubernetes/admin.kubeconfig\""
apiservices.apiregistration.k8s.io "v1alpha1.hats.269fd.redhat.com" not found
apiservices.apiregistration.k8s.io "v1alpha1.hats.269fd.redhat.com" not found
time="2019-03-07T11:55:58-05:00" level=info msg="Loading kube client config from path \"/var/run/kubernetes/admin.kubeconfig\""
time="2019-03-07T11:55:58-05:00" level=info msg="Loading kube client config from path \"/var/run/kubernetes/admin.kubeconfig\""
--- PASS: TestUpdateCSVWithOwnedAPIService (40.12s)
csv_e2e_test.go:226: Pending (RequirementsUnknown): requirements not yet checked
csv_e2e_test.go:226: InstallReady (AllRequirementsMet): all requirements found, attempting install
View keybase.md

Keybase proof

I hereby claim:

  • I am jpeeler on github.
  • I am jpeeler (https://keybase.io/jpeeler) on keybase.
  • I have a public key ASANL8hpujb-_QJNak1UD4iopDx4-wAzL3NcpUvUzjq_4Ao

To claim this, I am signing this object:

View service-catalog.html
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- This file was created with the aha Ansi HTML Adapter. https://github.com/theZiz/aha -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" />
<title>stdin</title>
</head>
<body>
<pre>
View origin-web-console-server.html
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!-- This file was created with the aha Ansi HTML Adapter. https://github.com/theZiz/aha -->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="application/xml+xhtml; charset=UTF-8" />
<title>stdin</title>
</head>
<body>
<pre>
View imports.k8s.uniq
k8s.io/kubernetes/pkg/api
k8s.io/kubernetes/pkg/api/errors
k8s.io/kubernetes/pkg/api/install
k8s.io/kubernetes/pkg/apimachinery/announced
k8s.io/kubernetes/pkg/apimachinery/registered
k8s.io/kubernetes/pkg/api/meta
k8s.io/kubernetes/pkg/api/rest
k8s.io/kubernetes/pkg/apis/componentconfig
k8s.io/kubernetes/pkg/apis/extensions
k8s.io/kubernetes/pkg/apis/extensions/v1beta1
@jpeeler
jpeeler / dmesg.output
Created Mar 4, 2017
dmesg output from raspberry pi
View dmesg.output
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.38+ (dc4@dc4-XPS13-9333) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #938 Thu Dec 15 15:17:54 GMT 2016
[ 0.000000] CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv7), cr=00c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi Model B Rev 1
[ 0.000000] cma: Reserved 8 MiB at 0x07400000
[ 0.000000] Memory policy: Data cache writeback
View gist:a59dd85e52b1a7a9ad9978e382083b0b
go test -v github.com/kubernetes-incubator/service-catalog/pkg/controller/wip
# github.com/kubernetes-incubator/service-catalog/pkg/controller/wip
pkg/controller/wip/controller_test.go:247: cannot use func literal (type func(core.Action) (bool, "github.com/kubernetes-incubator/service-catalog/vendor/k8s.io/kubernetes/pkg/runtime".Object, error)) as type "github.com/kubernetes-incubator/service-catalog/vendor/k8s.io/client-go/1.5/testing".ReactionFunc in argument to fakeKubeClient.Fake.AddReactor
FAIL github.com/kubernetes-incubator/service-catalog/pkg/controller/wip [build failed]
View gist:971915b8a6057b7b0b3bd0c1acb58231
$ ALLOW_SECURITY_CONTEXT=true LOG_LEVEL=5 hack/local-up-cluster.sh -O
WARNING : This script MAY be run as root for docker socket / iptables functionality; if failures occur, retry as root.
skipped the build.
WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
Kubelet cgroup driver defaulted to use: systemd
API SERVER insecure port is free, proceeding...
API SERVER secure port is free, proceeding...
Detected host and ready to start services. Doing some housekeeping first...
Using GO_OUT /home/jpeeler/src/go/src/k8s.io/kubernetes/_output/bin
View *magit: service-catalog.txt
Head: codegen-conversions Merge pull request #2 from pmorie/codegen-conversions
Untracked files (1)
cmd/libs/go2idl/client-gen/
Unstaged changes (6)
modified Makefile
@@ -120,6 +120,7 @@ $(BINDIR)/conversion-gen: cmd/libs/go2idl/conversion-gen
$(SC_PKG)/vendor/k8s.io/kubernetes/pkg/runtime \
-O zz_generated.conversion
You can’t perform that action at this time.