Skip to content

Instantly share code, notes, and snippets.

View yadutaf's full-sized avatar

Jean-Tiare Le Bigot yadutaf

View GitHub Profile
@yadutaf
yadutaf / README.md
Last active September 17, 2025 19:41
netkit-to-netkit communication with eBPF

This Gist is a companion for the Creating a Linux 'yogurt-phone' — with netkit and a grain of eBPF blog post. It demoes Linux' netkit interface pairs with a local netns-to-netns communication scenario, inspired by "Yogurt Phones". Netkit interfaces are successors for veth tailor made for eBPF and high performance.

Usage

Create a 'lab' setup:

#!/bin/bash
set -euo pipefail
@yadutaf
yadutaf / README.md
Last active November 24, 2025 12:56
Linux Netkit interface eBPF "Hello World".

This Gist demoes Linux' netkit interface pairs. These interfaces are successors for veth tailor made for eBPF and high performance.

Usage

Create a 'lab' setup:

# Create the 'lab' namespace
sudo ip netns add lab
@yadutaf
yadutaf / kube-dashboard.docker.compose.yaml
Created March 18, 2024 23:21
Run Kubernetes dashboard locally
# Run Kubernetes dashboard locally - no install in the cluster
#
# Usage:
#
# 1. Make sure you have Docker compose >= v2.23.1 (required for inline configuration files)
#
# 2. Download this Gist as 'kube-dashboard.docker.compose.yaml'
#
# 3. Run Docker compose:
# docker compose -f kube-dashboard.docker.compose.yaml up \
@yadutaf
yadutaf / Dockerfile
Last active October 10, 2024 23:19
Run firefox in the cloud. Or inside Firefox.
FROM ubuntu:14.04
MAINTAINER Jean-Tiare Le Bigot "jt@lebigot.net"
ENV DEBIAN_FRONTEND noninteractive
# Grab all dependencies
RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get -y install curl libx11-dev libxtst-dev libxcomposite-dev \
libxdamage-dev libxkbfile-dev python-all-dev \
# MIT License
# Copyright (c) 2013 Jean-Tiare LE BIGOT <admin@jtlebi.fr>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#