Closed howard-yeh closed 8 months ago
Have you ever tried docker-compose from sandbox?
Have you ever tried docker-compose from sandbox?
Nope. I only tried kubernetes approach.
After tracing the code and logs, I discovered that my tinkerbell-client was unable to download the tink-worker image via docker. The reason for this was due to the air-gap environment, which does not allow connections to the public network. As a result, I manually modified the /etc/hosts file using 'docker-shell'. Question here: Is it possible to add a command to the docker-hook before pulling down the image, such as modifying the /etc/hosts file? Reference: https://github.com/tinkerbell/hook
Hey @howard-yeh. Don't know if you've done this but, in the Helm chart you can modify the image that is used for the tink worker via the smee.tinkWorkerImage
, ref.
No action needed.
I tried to provision one x86 server with Tinkerbell Host. I tried different tink image tag versions, but the workflow always stuck in the "STATE_PENDING" state. On the tinkerbell Host, the workflow showed NAME TEMPLATE STATE levono-x86-workflow ubuntu-focal-sda-x86-testing STATE_PENDING
Please, I need some help for solving this problem.🙏🏼
Environment
TINKERBELL HOST OS: Ubuntu 20.04 Tinkerbell host and the x86 server are in the same network segementation (192.168.x.x/16) I follow the steps in the helm chart (kubernetes): https://github.com/tinkerbell/charts
Current Behaviour
1. Deploy Tinkerbell compoents
kubectl get pod -n tink-system
2. Set x86 server ipxe mode boot and reboot server.
3. Check the workflow:
4. Hook successfully (boots)
5. x86 server entered LinuxKit:
Possible Solution