MCPcopy Index your code
hub / github.com/dhermes/tailsk8s

github.com/dhermes/tailsk8s @v1.20211214.1

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.20211214.1 ↗ · + Follow
64 symbols 201 edges 38 files 50 documented · 78%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

tailsk8s: Bare Metal Kubernetes with Tailscale

Pronounced "Tail Skates"

Go Reference

This project walks through setting up a bare metal Kubernetes cluster that uses Tailscale for networking. For readers already familiar with both Kubernetes and Tailscale, you can go directly to Configure CNI Networking for Tailscale.

Labs

References, Documentation and Motivation

Over the many days of getting this off the ground, I leaned heavily on the work and writings of others. I could not have made nearly as much progress without example projects, blog posts and great documentation. Some that were particularly helpful:

Development

$ make  # Or `make help`
Makefile for the `tailsk8s` project

Usage:
   make tailscale-advertise-linux-amd64      Build static `tailscale-advertise` binary for linux/amd64
   make tailscale-authorize-linux-amd64      Build static `tailscale-authorize` binary for linux/amd64
   make tailscale-authorize-windows-amd64    Build static `tailscale-authorize` binary for windows/amd64
   make tailscale-withdraw-linux-amd64       Build static `tailscale-withdraw` binary for linux/amd64
   make release                              Build all static binaries

Extension points exported contracts — how you extend this code

Option (FuncType)
Option represents an initialization helper that can modify a config in-place.
pkg/tailscale/cloud/option.go
Option (FuncType)
Option represents an initialization helper that can modify a config in-place.
pkg/tailscale/command/authorize/option.go
Option (FuncType)
Option represents an initialization helper that can modify a config in-place.
pkg/tailscale/command/withdraw/option.go
Option (FuncType)
Option represents an initialization helper that can modify a config in-place.
pkg/tailscale/command/advertise/option.go

Core symbols most depended-on inside this repo

Printf
called by 23
pkg/cli/print.go
DebugPrintf
called by 11
pkg/cli/print.go
GetDebug
called by 6
pkg/cli/context.go
HTTPClient
called by 4
pkg/tailscale/cloud/config.go
RoutesContain
called by 4
pkg/tailscale/command/advertise/routes.go
WithDebug
called by 3
pkg/cli/context.go
NewConfig
called by 3
pkg/tailscale/cloud/config.go
Resolve
called by 3
pkg/tailscale/cloud/config.go

Shape

Function 43
Struct 15
FuncType 4
Method 2

Languages

Go100%

Modules by API surface

pkg/cli/context.go9 symbols
pkg/tailscale/cloud/apitypes.go6 symbols
pkg/tailscale/cloud/config.go5 symbols
pkg/cli/print.go5 symbols
pkg/tailscale/cli/flags.go4 symbols
pkg/tailscale/command/advertise/prefs.go3 symbols
pkg/tailscale/command/withdraw/routes.go2 symbols
pkg/tailscale/command/withdraw/prefs.go2 symbols
pkg/tailscale/command/withdraw/config.go2 symbols
pkg/tailscale/command/authorize/config.go2 symbols
pkg/tailscale/command/advertise/routes.go2 symbols
pkg/tailscale/command/advertise/config.go2 symbols

For agents

$ claude mcp add tailsk8s \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page