Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: improve kargo concepts docs #2564

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nitishfy
Copy link
Member

@nitishfy nitishfy commented Sep 23, 2024

Improve Kargo concept docs to make the concepts slightly easier to understand

@nitishfy nitishfy requested review from a team as code owners September 23, 2024 12:10
Copy link

netlify bot commented Sep 23, 2024

Deploy Preview for docs-kargo-akuity-io ready!

Name Link
🔨 Latest commit 1ccf4d8
🔍 Latest deploy log https://app.netlify.com/sites/docs-kargo-akuity-io/deploys/66f16db20d5aee0008e4cbce
😎 Deploy Preview https://deploy-preview-2564.kargo.akuity.io
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Sep 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.67%. Comparing base (35000b3) to head (1ccf4d8).
Report is 18 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2564   +/-   ##
=======================================
  Coverage   50.67%   50.67%           
=======================================
  Files         278      278           
  Lines       20516    20516           
=======================================
  Hits        10397    10397           
  Misses       9479     9479           
  Partials      640      640           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

docs/docs/15-concepts.md Outdated Show resolved Hide resolved
Co-authored-by: Kent Rancourt <[email protected]>
Signed-off-by: nitishfy <[email protected]>
Comment on lines +40 to +43
**Freight** is Kargo's second most important concept. Frieight generally refers
to a collection of artifacts that gets promoted together to the next stage.
A single "piece of freight" is a set of references to one or more versioned
artifacts, which may include one or more:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tbh, I feel this change adds more confusion. We should be careful of unnecessarily using words like "generally," as it implies there are exceptions to what you're about to say. Freight isn't generally a collection of artifacts. Freight is a collection of artifacts. There isn't an exception to that.

The bit about Freight being what moves from stage to stage is already stated just a few lines down from here.

imho, I would revert this change.

Suggested change
**Freight** is Kargo's second most important concept. Frieight generally refers
to a collection of artifacts that gets promoted together to the next stage.
A single "piece of freight" is a set of references to one or more versioned
artifacts, which may include one or more:
**Freight** is Kargo's second most important concept. A single "piece of
freight" is a set of references to one or more versioned artifacts, which may
include one or more:

Comment on lines +56 to +59
A **warehouse** is a _source_ of freight. It is where a collection of 'Freight'
gets stored before the 'Freight' is deployed anywhere.

A warehouse subscribes to one or more:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Even in the real word, I think warehouses are a somewhat fuzzy concept. Is a warehouse a sort of archive where physical things are stored, possibly long-term? Or is it more of a fulfillment/shipping hub? It can be one or the other, or both.

Kargo warehouses are really about fulfillment. I'm not sure it would be accurate to say they store freight. Freight are instances of a CRD. So, really, Kubernetes stores your Freight. The first few sections of this page stay away from technical details. CRDs are not mentioned until later. But I think the statement that warehouses store freight may set the reader up for confusion when they do read about the CRD later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants