Skip to content

Instantly share code, notes, and snippets.

View bzub's full-sized avatar

bzub bzub

View GitHub Profile
@bzub
bzub / Notes.md
Created August 6, 2017 20:35
kube-router - Watcher Refactoring
@bzub
bzub / NOTES.md
Last active August 6, 2017 22:29
kubernetes test suite notes for kube-router
@bzub
bzub / README.md
Created August 11, 2017 05:17
kube-router with kubeadm - kube-proxy replacement procedure

kube-router with kubeadm

kube-proxy replacement procedure

On the controller node after kubeadm init is complete:

KUBECONFIG=/etc/kubernetes/admin.conf kubectl apply -f kube-router-kubeadm-all-features.yaml
KUBECONFIG=/etc/kubernetes/admin.conf kubectl -n kube-system delete ds kube-proxy
docker run --privileged --net=host gcr.io/google_containers/kube-proxy-amd64:v1.7.3 kube-proxy --cleanup-iptables
@bzub
bzub / terraform-apply-output.log
Created September 1, 2017 02:52
user_data in terraform apply output with packet provider
packet_device.worker: Creating...
always_pxe: "" => "true"
billing_cycle: "" => "hourly"
created: "" => "<computed>"
facility: "" => "nrt1"
hostname: "" => "worker-01.test.kube-router.io"
ipxe_script_url: "" => "https://raw.githubusercontent.com/cloudnativelabs/pxe/master/packet/coreos-alpha-packet.ipxe"
locked: "" => "<computed>"
network.#: "" => "<computed>"
operating_system: "" => "custom_ipxe"
@bzub
bzub / vecty-panic-list-child.go
Last active March 7, 2018 15:08
vecty panic with list child
package main
import (
"github.com/gopherjs/vecty"
"github.com/gopherjs/vecty/elem"
"github.com/gopherjs/vecty/event"
"github.com/gopherjs/vecty/prop"
)
type PageView struct {
@bzub
bzub / vecty-panic-list-child-2.go
Created March 7, 2018 15:15
vecty panic with list child (with *HTML workaround)
package main
import (
"github.com/gopherjs/vecty"
"github.com/gopherjs/vecty/elem"
"github.com/gopherjs/vecty/event"
"github.com/gopherjs/vecty/prop"
)
type PageView struct {
@bzub
bzub / vecty-panic-list-child-3.go
Last active March 7, 2018 18:20
vecty panic with list child (with RenderSkipper workaround)
package main
import (
"github.com/gopherjs/vecty"
"github.com/gopherjs/vecty/elem"
"github.com/gopherjs/vecty/event"
"github.com/gopherjs/vecty/prop"
)
type PageView struct {

Keybase proof

I hereby claim:

  • I am bzub on github.
  • I am bzub (https://keybase.io/bzub) on keybase.
  • I have a public key whose fingerprint is 52BC 5ECE 98CE 58D2 2FC4 EB5D 22EB A7E1 5614 2976

To claim this, I am signing this object:

@bzub
bzub / test_log.txt
Created January 14, 2019 01:25
terraform-provider-acme PR#18 test results
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -timeout 240m
=== RUN TestPluginVersion
--- PASS: TestPluginVersion (0.00s)
PASS
ok github.com/terraform-providers/terraform-provider-acme (cached)
=== RUN TestResourceACMERegistrationMigrateState
2019/01/14 00:21:28 [DEBUG] Migrating acme_registration state: old v0 state: &terraform.InstanceState{ID:"regurl", Attributes:map[string]string{"account_key_pem":"key", "email_address":"nobody@example.com", "registration_body":"regbody", "registration_url":"https://acme-staging.api.letsencrypt.org/acme/reg/123456789", "registration_new_authz_url":"https://acme-staging.api.letsencrypt.org/acme/new-authz", "registration_tos_url":"https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf", "server_url":"https://acme-staging.api.letsencrypt.org/directory"}, Ephemeral:terraform.EphemeralState{ConnInfo:map[string]string(nil), Type:""}, Meta:map[string]interface {}(nil), Tainted:false, mu:sync.Mute
@bzub
bzub / test_log.txt
Created January 14, 2019 02:09
terraform-provider-acme PR#17 test results
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test $(go list ./... |grep -v 'vendor') -v -timeout 240m
=== RUN TestPluginVersion
--- PASS: TestPluginVersion (0.00s)
PASS
ok github.com/terraform-providers/terraform-provider-acme 0.013s
=== RUN TestResourceACMERegistrationMigrateState
2019/01/14 01:48:06 [DEBUG] Migrating acme_registration state: old v0 state: &terraform.InstanceState{ID:"regurl", Attributes:map[string]string{"registration_tos_url":"https://letsencrypt.org/documents/LE-SA-v1.0.1-July-27-2015.pdf", "server_url":"https://acme-staging.api.letsencrypt.org/directory", "account_key_pem":"key", "email_address":"nobody@example.com", "registration_body":"regbody", "registration_url":"https://acme-staging.api.letsencrypt.org/acme/reg/123456789", "registration_new_authz_url":"https://acme-staging.api.letsencrypt.org/acme/new-authz"}, Ephemeral:terraform.EphemeralState{ConnInfo:map[string]string(nil), Type:""}, Meta:map[string]interface {}(nil), Tainted:false, mu:sync.Mutex{