Skip to content

Instantly share code, notes, and snippets.

View bzub's full-sized avatar

bzub bzub

View GitHub Profile
@bzub
bzub / e2e.sh
Last active July 31, 2017 15:43
Bootkube e2e tests with kube-router + kube-metal
#!/usr/bin/env sh
set -e
[ -z "${KUBECONFIG}" ] && KUBECONFIG="${PWD}/assets/auth/kubeconfig"
SUDO="sudo UNIFIED_CGROUP_HIERARCHY=0"
${SUDO} rkt --insecure-options=image run \
--interactive \
@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 / test.json
Created October 5, 2017 14:50
CoreOS Ignition + OEM
{
"ignition": {
"config": {},
"timeouts": {},
"version": "2.1.0"
},
"networkd": {},
"passwd": {},
"storage": {
"files": [{
@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 {
@bzub
bzub / 20180819-crostini_sommelier_fix.md
Last active January 24, 2024 12:15
Fix Crostini Wayland/X (sommelier) service

If you can't get X11 or Wayland GUI Linux apps to start anymore on Chrome OS, try the following.

In the Terminal app, this will show the status of your systemd user services/units:

systemctl --user

If sommelier@0.service and sommelier-x@0.service show a failed status, the following worked for me:

sudo ln -s /opt/google/cros-containers/bin/sommelier.elf /usr/bin/