Skip to content

How to bundle patched kubelet? #4119

Answered by larvacea
techthumb asked this question in Q&A
Discussion options

You must be logged in to vote

Subject to change, since this process is new and possibly evolving, but here are the missing pieces:

Core kit build and publish

  • Create a file Infra.toml in the root of your core kit working tree. This file is in the .gitignore list. The file should contain:
[vendor.bottlerocket]
registry = "something.dkr.ecr.us-west-2.amazonaws.com"
  • As you already found, make ARCH=aarch64 && make ARCH=x86_64 will build the kit. You may build either or both architectures to suit your needs.
  • make publish will tag and upload your custom kit to the registry something.dkr.ecr.us-west-2.amazonaws.com where you will have to replace that registry with something more suitable.

AMI build, consuming custom kit.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@techthumb
Comment options

Answer selected by techthumb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants