k2d

k2d

官方

Docker 应用程序 from CK98's Repository

概述

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.

运行时参数

网络
host
外壳
sh
特权
false
额外参数
--restart=unless-stopped

模板配置

K2D_ADVERTISE_ADDRVariable

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

价值
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

价值
YOUR_OWN_SECRET
/var/run/docker.sockPathrw
价值
/var/run/docker.sock
PersistencePathrw

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

目标
/var/lib/k2d
默认值
/mnt/user/cache/k2d
价值
/mnt/user/cache/k2d

下载统计数据

22,098
下载总数
128
本月
196
平均每月

长期下载总量

加载图表...

详细信息

存储库
portainer/k2d:1.0.0-beta
最后更新2024-11-10
初见2023-09-26

在Unraid 上运行 K2d 。

K2d 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。