aws / aws/eks-anywhere

EKSA Baremetal tinkerbell support custom actions in TinkerbellTemplateConfig

Open
#7,717 4 comments 4 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
2.1k
Forks
328
Avg merge
1d 4h
Merged PRs (30d)
9

Description

**What would you like to be added**:

- Support custom action into the TinkerbellTemplateConfig to install custom packages into the node following the official documentation:
https://anywhere.eks.amazonaws.com/docs/getting-started/baremetal/bare-spec/#custom-tinkerbell-action-examples

- A fix was merged for this support in upstream tinkerbell - https://github.com/tinkerbell/hook/pull/200.

Workaround:

1. EKSA Admins can use the upstream built HookOS files with EKS-A here: https://github.com/tinkerbell/hook/releases/download/latest/hook_x86_64.tar.gz.
2. EKSA Cluster admins can download the archive and extract the contents to a location that is being served via HTTP.
3. The directory format to follow is found here: https://anywhere.eks.amazonaws.com/docs/getting-started/baremetal/bare-spec/#example-tinkerbelldatacenterconfigspec
4. EKSA Admin should specify the location where they have hosted the files in the cluster config:
```
TinkerbellDatacenterConfig.spec.hookImagesURLPath: "http://my-web-server/hook"
```
**Why is this needed**:
- Support custom action into the TinkerbellTemplateConfig to install custom packages into the node

Contributor guide

Open the contributing guide

Research direction

Start with the official custom Tinkerbell action examples linked in the issue and review the upstream tinkerbell/hook pull request #200. Trace how TinkerbellTemplateConfig and TinkerbellDatacenterConfig handle HookOS and custom actions. Done means custom actions can install packages through TinkerbellTemplateConfig without requiring the documented HookOS workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes
Domain
infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.