Skip to content

Instantly share code, notes, and snippets.

Studying at Aalto University; I'm not working at the moment

Lucas Käldström luxas

Studying at Aalto University; I'm not working at the moment
View GitHub Profile

Keybase proof

I hereby claim:

  • I am luxas on github.
  • I am luxask ( on keybase.
  • I have a public key ASCGt9MLBAzT7LqgmStD7d_lQp1a5LUu-1egJkJ2Yf8PWQo

To claim this, I am signing this object:

luxas / Makefile
Created Mar 6, 2019
Firecracker in containerd and Docker
View Makefile
all: build-docker
go build -o fcd -mod=vendor .
docker run -it -v $(shell pwd):/build -w /build golang:1.11
docker run -it -v $(shell pwd):/build -w /build golang:1.11 make build
luxas / arm64.txt
Created Sep 3, 2017
e2e Conformance Results
View arm64.txt
Summarizing 10 Failures:
[Fail] [] Pods [It] should allow activeDeadlineSeconds to be updated [Conformance]
[Fail] [] Pods [It] should be submitted and removed [Conformance]
[Fail] [sig-cli] Kubectl client [] Kubectl replace [It] should update a single-container pod's image [Conformance]
luxas /
Created Jun 17, 2017
A script that is able to fetch the latest docker images from the Kubernetes CI uploads
if [[ ${CI_COMMIT} == "latest" ]]; then
CI_COMMIT=$(curl -sSL
View kubernetes-go1.8.log
root@test-go18-k8s:~/kubernetes# time make release
+++ [0219 10:51:34] Verifying Prerequisites....
+++ [0219 10:51:34] Building Docker image kube-build:build-97f2054073-5-v1.8.0-1
+++ [0219 10:51:46] Creating data container kube-build-data-97f2054073-5-v1.8.0-1
+++ [0219 10:51:47] Syncing sources to container
+++ [0219 10:51:49] Running build command...
+++ [0219 10:52:02] Multiple platforms requested and available 28G >= threshold 11G, building platforms in parallel
+++ [0219 10:52:02] Building the toolchain targets:
View ingress-arm.log
# Copy the whole directory to a temporary dir and set the base image
cp -r ./* /tmp/tmp.Wr0YMHGbex
cd /tmp/tmp.Wr0YMHGbex && sed -i "s|BASEIMAGE||g" Dockerfile
cd /tmp/tmp.Wr0YMHGbex && sed -i "s|ARCH|arm|g" Dockerfile
# When cross-building, only the placeholder "CROSS_BUILD_" should be removed
# Register /usr/bin/qemu-ARCH-static as the handler for ARM binaries in the kernel
docker run --rm --privileged multiarch/qemu-user-static:register --reset
curl -sSL | tar -xz -C /tmp/tmp.Wr0YMHGbex
cd /tmp/tmp.Wr0YMHGbex && sed -i "s/CROSS_BUILD_//g" Dockerfile
docker build -t /tmp/tmp.Wr0YMHGbex
View Kubernetes Conformance For ARM
Summarizing 68 Failures:
[Fail] [] Kubectl client [] Kubectl label [BeforeEach] should update the label on a resource [Conformance]
[Fail] [] EmptyDir volumes [It] should support (root,0644,tmpfs) [Conformance]
[Fail] [] Pods [It] should *not* be restarted with a /healthz http liveness probe [Conformance]
docker run -it golang:1.5.3 /bin/bash
git clone
cd monokube/cmd/hyperkube
GOARCH=arm go get \ \ \ \ \ \
luxas / k8s-on-swarm.yaml
Created Dec 27, 2015
Run Kubernetes on top of Swarm on a Raspberry Pi (experimental)
View k8s-on-swarm.yaml
image: kubernetesonarm/etcd
container_name: etcd
command: ['']
- "constraint:role==*master*"
image: kubernetesonarm/flannel
container_name: flannel
luxas / Dockerfile
Last active Nov 29, 2017
Build Kubernetes binaries for ARM on amd64
View Dockerfile
FROM golang:1.5.2
MAINTAINER Lucas Käldström <>
# Enable cgo cross-compilation for armel
RUN echo "deb jessie main" > /etc/apt/sources.list.d/crosstools.list \
&& curl -s | apt-key add - \
&& dpkg --add-architecture armel \
&& apt-get update \
&& apt-get install -y build-essential crossbuild-essential-armel rsync upx