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.

Install K2d on Unraid in a few clicks.

Find K2d in Community Apps on your Unraid server, review the template, and click Install. Unraid handles the Docker app or plugin setup from the published template.

Open the Apps tab on your Unraid server Search Community Apps for K2d Review the template variables and paths Click Install

Download Statistics

24,588
Total Downloads
1,169
This Month
565
Avg / Month

Total Downloads Over Time

Loading chart...

Related apps

Explore more like this

Explore all

Details

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

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