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

doc: Chart Store Doc Revamp + OCI push/pull with Usecase #11

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

Conversation

ashokdevtron
Copy link
Contributor

  1. Added Isolated Cluster Documentation.
  2. Removed OCI pull doc from usecases and segregated them in Container Registry doc, Chart Store, Cluster and Environments doc.
  3. Removed duplicate content of chart group and chart doc from Chart Store's overview file.
  4. Rewrote Chart Store's README file.
  5. Segregated OCI push feature in Container Registry doc, Chart Store, Cluster and Environments doc, CD Pipeline doc.
  6. Updated snapshots
  7. Added redirection for removed OCI pull doc
  8. Added Airgapped Deployment in Use Case section

@ashokdevtron ashokdevtron requested review from a team as code owners October 9, 2024 11:26
@ashokdevtron ashokdevtron self-assigned this Oct 9, 2024
@ashokdevtron ashokdevtron added the documentation Improvements or additions to documentation label Oct 9, 2024
* **Do not push** - A link to download the helm package will be available after the deployment. However, it will not push the helm package to the OCI registry.
* **Push to registry** - This will generate and [push the helm package to the OCI registry](../../global-configurations/container-registries.md#push-helm-packages). Upon selecting this option, you will get two more fields:
* **Registry** - Choose the OCI registry to which the helm chart package must be pushed. Only those registries that have `Push helm packages` enabled will be shown in the dropdown.
* **Repository** - Write the repository name in the format `username/repo-name`. You can find the username from your registry provider account (e.g., Docker Hub).
Copy link
Member

Choose a reason for hiding this comment

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

This format is only true for dockerhub ig not all repositories...


**Parts of Documentation**
Devtron makes it easier for you to populate your charts from multiple sources to the [chart store](../../reference/glossary.md#chart-store). These sources are:
* [Chart Respository](../global-configurations/chart-repo.md)
Copy link
Member

Choose a reason for hiding this comment

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

Helm chart repostories...

**Parts of Documentation**
Devtron makes it easier for you to populate your charts from multiple sources to the [chart store](../../reference/glossary.md#chart-store). These sources are:
* [Chart Respository](../global-configurations/chart-repo.md)
* [OCI Registry](../global-configurations/container-registries.md#use-as-chart-repository)
Copy link
Member

Choose a reason for hiding this comment

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

OCI repositories


[Chart Group Create Edit And Deploy](chart-group.md)
* Helm Chart(s)
Copy link
Member

Choose a reason for hiding this comment

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

If this page is about chart store, helm chart cannot be a pre-requisite

[Chart Group Create Edit And Deploy](chart-group.md)
* Helm Chart(s)
* Chart Repository added to Devtron
* OCI-Compliant Registry (e.g. Docker Hub and [many more](../global-configurations/container-registries.md#supported-registry-providers)) with
Copy link
Member

Choose a reason for hiding this comment

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

Either Helm chart repository or OCI repository, any one should be sufficient, maybe this feels like both are required steps?


>**Prerequisites:** `kubectl` must be installed on the bastion.
Use this option to add a managed or on-premise Kubernetes cluster.
Copy link
Member

Choose a reason for hiding this comment

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

what does this mean? I think we should remove this, or reframe it like use this option to add a kubernetes cluster if you have access to it... managed or on-premise misses a lot of other combinations


**Note:** Please ensure that the kubeconfig file you use has `admin permissions`. It is crucial for Devtron to have the necessary administrative privileges; otherwise, it may encounter failures or disruptions during deployments and other operations. Admin permission is essential to ensure the smooth functioning of Devtron and to prevent any potential issues that may arise due to insufficient privileges.

### Configure Prometheus (Enable Applications Metrics)

If you want to see application metrics against the applications deployed in the cluster, Prometheus must be deployed in the cluster. Prometheus is a powerful tool to provide graphical insight into your application behavior.
Copy link
Member

Choose a reason for hiding this comment

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

Prometheus is a powerful tool to provide graphical insight metrics and alerting based on your application behavior

@@ -108,15 +98,45 @@ Now, click `Save Cluster` to save your cluster on Devtron.

Your Kubernetes cluster gets mapped with Devtron when you save the cluster configurations. Now, the Devtron agent must be installed on the added cluster so that you can deploy your applications on that cluster.

![](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/global-configurations/cluster-and-environments/install-devtron-agent.png)
![Figure 8: Installing Devtron Agent](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/global-configurations/cluster-and-environments/install-devtron-agent.png)
Copy link
Member

Choose a reason for hiding this comment

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

Let's remove devtron agent from doc, wherever it is mentioned, it is not required now, devtron agent has retired

![Figure 3b: Pushed Helm Chart](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/use-cases/oci-push/helm-chart.jpg)

{% hint style="warning" %}
Devtron doesn't support pushing helm packages to [chart repositories](../global-configurations/chart-repo.md)
Copy link
Member

Choose a reason for hiding this comment

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

as of now

Copy link
Member

Choose a reason for hiding this comment

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

we shouldn't write such lines, what if it gets indexed by some LLM 😂


Search your OCI registry in the list and click it.

In the **List of repositories** field, add your chart repo(s). The format should be `username/chartname`. You can [find the username](https://devtron-public-asset.s3.us-east-2.amazonaws.com/images/use-cases/oci-pull/find-username.jpg) from your registry provider account.
Copy link
Member

Choose a reason for hiding this comment

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

the format depends on the cloudprovider, I guess I have commented this above somewhere

@abhibhaw
Copy link
Member

abhibhaw commented Dec 6, 2024

Some of the screenshots are outdated, specially the one mentioning virtual environment. Need to be replaced @ashokdevtron

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

Successfully merging this pull request may close these issues.

2 participants