tektoncd / tektoncd/cli

Prevent or warn users if they are creating a tekton bundle that will be too large for etcd

Open
#2,434 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

kind/feature
Dominant language
Go
Stars
461
Forks
277
Avg merge
16h 48m
Merged PRs (30d)
95

Description

Feature request

Since the contents of a tekton bundle will have to fit within an etcd value, tkn bundle push should validate that the extracted bundle will not be too large. While testing of the bundles should reveal that content is too large, it is possible for k8s deployments to customize that size. Therefore, it is possible that testing of tasks will not catch content that is too large.

Since the size limit imposed by etcd is configurable, the default for this should be able to be overridden if needed.

Use case

As a Tekton developer, I want to generate tekton bundles that will successfuly resolve as tasks in a k8s cluster.

UI Example

N/A

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.

Research direction

The issue names tkn bundle push as the entry point; begin there and trace bundle extraction and any existing size or configuration handling. Done means the command detects an extracted bundle beyond the configured limit, warns or prevents creation, and permits the default limit to be overridden; add coverage for the limit and override.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.