coreos / coreos/ignition

Reduce the size of Ignition's binary (was: Vendor / rewrite support for protected assets with Azure Storage to not use the Azure SDK)

Open
#2,045 0 comments 0 reactions 1 assignee View on GitHub

@prestist is already working on this.

Since Jun 18, 2026.

jira kind/friction platform/azure
Dominant language
Go
Stars
974
Forks
296
Avg merge
6d 14h
Merged PRs (30d)
9

Description

Bug

The size of the Ignition binary significantly increased with the 2.21.1 release, likely due to addition of the Azure SDK as vendored code: https://github.com/coreos/ignition/pull/1923

For Flatcar:

$ du --si ./bin/amd64/ignition-v2.20.0
38M	./bin/amd64/ignition-v2.20.0
$ du --si ./bin/amd64/ignition-v2.21.0
63M	./bin/amd64/ignition-v2.21.0

For Fedora CoreOS:

We could look at reducing the amount of vendored code, copying only the relevant part for support of this feature or re-implementing only what's needed for it.

Operating System Version

Flatcar & FCOS

Ignition Version

Ignition 2.21.0

Environment

What hardware/cloud provider/hypervisor is being used to run Ignition? Azure but this issue is for all platforms.

Expected Behavior

Ignition binary does not grow too much in size.

Actual Behavior

Significant increase in size.

Reproduction Steps

N/A

Other Information

See: https://github.com/coreos/ignition/issues/2011

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.