jacobweinstock / capt-playground

Playground for learning, developing, and testing Cluster API Provider Tinkerbell (CAPT)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CAPT Playground

Usage

The CAPT playground can be run as a standalone binary or via Docker.

Standalone

capt-playground -h

Docker

docker run -it --rm --network host -v /tmp:/tmp -v /var/run/docker.sock:/var/run/docker.sock -v /var/run/libvirt/libvirt-sock-ro:/var/run/libvirt/libvirt-sock-ro -v /var/run/libvirt/libvirt-sock:/var/run/libvirt/libvirt-sock --name capt-playground ghcr.io/jacobweinstock/capt-playground
capt-playground -h

Known Issues

DNS issue

KinD on Ubuntu has a known issue with DNS resolution in pod containers. This affect the Download of HookOS in the Tink stack helm deployment. There are a few known workarounds. The recommendation for the CAPT playground is to add DNS nameservers to Docker's daemon.json file. This can be done by adding the following to /etc/docker/daemon.json:

{
  "dns": ["1.1.1.1"]
}

Followed by restarting Docker:

sudo systemctl restart docker

About

Playground for learning, developing, and testing Cluster API Provider Tinkerbell (CAPT)

License:Apache License 2.0


Languages

Language:Go 95.1%Language:Makefile 3.2%Language:Dockerfile 1.7%