https://github.com/jacobweinstock/capt-playground
Playground for learning, developing, and testing Cluster API Provider Tinkerbell (CAPT)
https://github.com/jacobweinstock/capt-playground
capi cluster-api cluster-api-provider-tinkerbell tinkerbell
Last synced: 4 months ago
JSON representation
Playground for learning, developing, and testing Cluster API Provider Tinkerbell (CAPT)
- Host: GitHub
- URL: https://github.com/jacobweinstock/capt-playground
- Owner: jacobweinstock
- License: apache-2.0
- Created: 2024-01-25T01:10:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-25T06:34:51.000Z (over 1 year ago)
- Last Synced: 2024-12-09T04:23:41.491Z (7 months ago)
- Topics: capi, cluster-api, cluster-api-provider-tinkerbell, tinkerbell
- Language: Go
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# CAPT Playground
## Usage
The CAPT playground can be run as a standalone binary or via Docker.
### Standalone
```bash
capt-playground -h
```### Docker
```bash
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](https://github.com/kubernetes-sigs/kind/issues/1594#issuecomment-629509450). 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`:
```json
{
"dns": ["1.1.1.1"]
}
```Followed by restarting Docker:
```bash
sudo systemctl restart docker
```