k2d

k2d

Official

Docker app from CK98's Repository

Overview

A real-time Kubernetes API translator for the edge! k2d is a container that runs on a Docker Host, and this container listens on port 6443 for Kubernetes API calls. When the container receives Kubernetes API calls, k2d parses and translates them into Docker API instructions, which it executes on the underlying Docker Host. Use of the host network is not mandatory. Using the bridge network is supported: K2D_ADVERTISE_ADDR must be specified when using the bridge network Docker Desktop for Mac and Docker Desktop for Windows do not support HOST network, so you must use bridge network if testing on these platforms.

Runtime arguments

Network
host
Shell
sh
Privileged
false
Extra Params
--restart=unless-stopped

Template configuration

K2D_ADVERTISE_ADDRVariable

Use the K2D_ADVERTISE_ADDR only if you have multiple net interfaces at the OS level

Value
YOUR_HOST_IP
K2D_SECRETVariable

The K2D_SECRET is used as an authentication token to call k2d APIs: If the K2D_SECRET environment variable is not set, it will be automatically generated, and you can retrieve it in the k2d container logs

Value
YOUR_OWN_SECRET
/var/run/docker.sockPathrw
Value
/var/run/docker.sock
PersistencePathrw

The /var/lib/k2d path must be persisted for: SSL certificates Secrets Configmaps Kubernetes Token

Target
/var/lib/k2d
Default
/mnt/user/cache/k2d
Value
/mnt/user/cache/k2d

Download Statistics

22,098
Total Downloads
128
This Month
196
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
portainer/k2d:1.0.0-beta
Last Updated2024-11-10
First Seen2023-09-26

Run K2d on Unraid.

K2d is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.