Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfb80a7e

Browse files
authored
Update helm install (#761)
* Update helm installRemoved date from Note on transition to Helm; updated steps 5 and 6 to align with recent changes* Update hybrid-gitops-helm-installation.md* Update hybrid-gitops.md
1 parent9b23018 commitfb80a7e

File tree

3 files changed

+32
-33
lines changed

3 files changed

+32
-33
lines changed

‎_docs/installation/gitops/hybrid-gitops-helm-installation.md‎

Lines changed: 29 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ Install the Hybrid Runtime for GitOps through a Helm chart.
1111

1212
>**ATTENTION**:
1313
We have transitioned to a Helm-based installation for Hybrid GitOps Runtimes for improved experience and performance.
14-
The[CLI-based installation for Hybrid GitOps]({{site.baseurl}}/docs/installation/gitops/hybrid-gitops/) is now considered legacy.We will deprecate this installation mode permanently on August 1, 2023.
15-
To migrate your Hybrid GitOps Runtimes from CLI to Helm, please contact us,andwe'll migrate them for you.
14+
The[CLI-based installation for Hybrid GitOps]({{site.baseurl}}/docs/installation/gitops/hybrid-gitops/) is now considered legacy.
15+
We will deprecate this installation mode permanently in the coming months. Please stay tuned for further updatesandinstructions, including the migration process.
1616

1717

1818
If you already have a Codefresh acccount, go for the[quick Helm install](#quick-helm-install-for-hybrid-gitops-runtime).
@@ -32,7 +32,7 @@ The Codefresh `values.yaml` is located [here](https://github.com/codefresh-io/gi
3232
**Notes & assumptions**
3333
Quick installation assumes that:
3434
* You have set up a Git provider and the Shared Configuration Repository for your account. If these are not defined, you can define them_after_ installation from the Codefresh UI, when prompted to do so.
35-
See[Update Git credentials for GitOps Runtimes]({{site.baseurl}}/docs/installation/gitops/monitor-manage-runtimes/#update-git-credentials-for-gitops-runtimes) and[Shared Configuration Repository]({{site.baseurl}}/docs/installation/gitops/shared-configuration/)
35+
See[Update Git credentials for GitOps Runtimes]({{site.baseurl}}/docs/installation/gitops/monitor-manage-runtimes/#update-git-credentials-for-gitops-runtimes) and[Shared Configuration Repository]({{site.baseurl}}/docs/installation/gitops/shared-configuration/).
3636
* Your cluster does not have[Argo project components & CRDs](#argo-project-components--crds).
3737

3838

@@ -65,13 +65,13 @@ max-width="40%"
6565
%}
6666

6767

68-
where:
69-
*`<helm-release-name>` is the name of the Helm release that you define.
68+
where:
69+
*`<helm-release-name>` is the name of the Helm release, and is either the default`cf-gitops-runtime`, or any custom release name that you define.
7070
*`<namespace>` is the namespace in which to install the Hybrid GitOps runtime, and is either`codefresh` which is the default, or any custom name that you define.
71-
*`<codefresh-account-id>` is mandatory only for_tunnel-based Hybrid GitOps Runtimes_ which is also the default access mode. Automatically populated by Codefresh in the command.
71+
*`<codefresh-account-id>` is mandatory only for_tunnel-based Hybrid GitOps Runtimes_ which is also the default access mode. Automatically populated by Codefresh in the command.
7272
*`<codefresh-token>` is the API key, either an existing one or the new API key you generated. When generated, it is automatically populated in the command.
7373
*`<runtime-name>` is the name of the runtime, either`codefresh` which is the default, or a custom name that you define.
74-
*`<helm-repo-name>` is the name of the repo in which to add the Helm chart, and is either`cf-gitops-runtime` which is the default, or any custom name you define.
74+
*`<helm-repo-chart-name>` is the name of the repo in which to add the Helm chart, and is either`cf-gitops-runtime` which is the default, or any custom name you define.
7575
*`--wait` waits until all the pods are up and running for the deployment.
7676

7777

@@ -106,7 +106,7 @@ kubectl annotate --overwrite crds $(kubectl get crd | grep argoproj.io | awk '{p
106106

107107
##Using Terraform for installation
108108

109-
You can also use Terraform to install a Codefresh runtime with the[Helm provider](https://registry.terraform.io/providers/hashicorp/helm/latest/docs).
109+
You can also use Terraform to install a Codefresh runtime with the[Helm provider](https://registry.terraform.io/providers/hashicorp/helm/latest/docs){:target="\_blank"}.
110110

111111
Here is an example
112112

@@ -181,8 +181,8 @@ The Codefresh `values.yaml` is located [here](https://github.com/codefresh-io/gi
181181
###Before you begin
182182
* Make sure you meet the[minimum requirements](#minimum-system-requirements) for installation
183183
* Git provider requirements:
184-
*[Runtime token with the required scopes]({{site.baseurl}}/docs/reference/git-tokens/#git-runtime-token-scopes). Youneed to supply as part of the Helm install command.
185-
*[Personal Access Token (PAT)]({{site.baseurl}}/docs/reference/git-tokens/#git-personal-tokens) with the required scopes for Git-based actions.
184+
*[Runtime token with the required scopes]({{site.baseurl}}/docs/reference/git-tokens/#git-runtime-token-scopes) which youneed to supply as part of the Helm install command
185+
*[Personal Access Token (PAT)]({{site.baseurl}}/docs/reference/git-tokens/#git-personal-tokens) with the required scopes for Git-based actions
186186
* Server URLs for on-premises Git providers
187187
* Verify there are no Argo project components and CRDs in the target namespace or that you have adopted the CRDs (see[Argo project components & CRDs](#argo-project-components--crds))
188188
* For ingress-based runtimes only, verify that these ingress controllers are configured correctly:
@@ -283,7 +283,7 @@ The [Shared Configuration Repository]({{site.baseurl}}/docs/installation/gitops/
283283
* Bitbucket Server:`<server-url>/rest/api/1.0`
284284
1. Define the URL of the**Shared Configuration Repository**.
285285
>**NOTE**:
286-
>Because the Shared Configuration Repo is defined at the account-level, the Git provider you select for the first Runtime in your account is used for all the other Runtimes in the same account.
286+
>Because the Shared Configuration Repo is defined at the account-level, the Git provider you select for the firstGitOpsRuntime in your account is used for all the other Runtimes in the same account.
287287
>To change the Shared Configuration Repo or Git credentials after installation, see[Update Git credentials for GitOps Runtimes]({{site.baseurl}}/docs/installation/gitops/monitor-manage-runtimes/#update-git-credentials-for-gitops-runtimes).
288288
1. Click**Next**.
289289
1. Continue with[Step 4: Install Hybrid Runtime](#step-4-install-hybrid-gitops-runtime).
@@ -302,11 +302,11 @@ The Namespace must conform to the naming conventions for Kubernetes objects.
302302
1. To generate your Codefresh API key, click**Generate**.
303303
1. If needed, select**Customize runtime values**, and define the**Runtime Name** and**Namespace**.
304304
The default names are`codefresh` for both.
305-
1. Copy and run the command to the add the repositoryfor the Helm chart:
305+
1. Copy and run the command to the add the repositoryin which to store the Helm chart:
306306
`helm repo add <helm-repo-name> https://chartmuseum.codefresh.io/gitops-runtime` <br>
307307
`helm repo update`<br>
308308
where: <br>
309-
`<helm-repo-name>` is the name of the repository to which to add the Hybrid GitOps Runtime Helm chart. For example,`cf-gitops-runtime`.
309+
`<helm-repo-name>` is the name of the repository to which to add the Hybrid GitOps Runtime Helm chart, and is by default`cf-gitops-runtime`.
310310
1. Copy and run the command to install the runtime Helm chart:
311311
The commands differ depending on the access mode. An ingress-based Hybrid GitOps Runtime requires additional flags.<br>
312312

@@ -347,21 +347,24 @@ helm upgrade --install <helm-release-name> \
347347

348348
&nbsp;&nbsp;&nbsp;&nbsp;where:
349349
*
350-
*`<helm-release-name>` is the name of the Helm release.
350+
*`<helm-release-name>` is the name of the Helm release, and is either`cf-gitops-runtime` which is the default, or the release name you define.
351351
*`<namespace>` is the namespace in which to install the Hybrid GitOps runtime, and is either`codefresh` which is the default, or the custom name you define.
352352
*`<codefresh-account-id>` is mandatory only for_tunnel-based Hybrid GitOps Runtimes_ which is the default access mode. Automatically populated by Codefresh in the installation command.
353353
*`<codefresh-api-key>` is the API key, either an existing one or a new API key you generated. When generated, it is automatically populated in the command.
354-
*`<runtime-name>` is the name of theruntime,either`codefresh` which is the default, ora custom name that you define.
355-
*`<helm-repo-name>` is the name of the repo in which toadd the Helm chart, andis either`cf-gitops-runtime` which is the default, or any custom name you define.
356-
*`gitops-runtime` is the chart name defined by Codefresh.
354+
*`<runtime-name>` is the name of theGitOps Runtime, and iseither`codefresh` which is the default, orthe custom name you define.
355+
*`<helm-repo-name>` is the name of the repo in which tostore the Helm chart, andmust be identical to the`<hem-repo-name>` you defined in_step 3_, either`cf-gitops-runtime` which is the default, or any custom name you define.
356+
*`gitops-runtime` is the chart name defined by Codefresh, and cannot be changed.
357357
*`global.runtime.ingress.enabled=true` is mandatory for_ingress-based Hybrid GitOps Runtimes_, and indicates that the runtime is ingress-based.
358358
*`<ingress-host>` is mandatory for_ingress-based Hybrid GitOps Runtimes_, and is the IP address or host name of the ingress controller component.
359-
*`<ingress-class>` is mandatory for_ingress-based Hybrid GitOps Runtimes_, and is the ingress class of the ingress controller.For example,`nginx` for the NGINX ingress controller.
360-
*`--wait` waits until all the pods are up and running for the deployment.
359+
*`<ingress-class>` is mandatory for_ingress-based Hybrid GitOps Runtimes_, and is the ingress class of the ingress controller. For example,`nginx` for the NGINX ingress controller.
360+
*`--wait`is optional, and when defined,waits until all the pods are up and running for the deployment.
361361

362362
{:start="5"}
363-
1. Wait for a few minutes, and then click**Close**.
364-
You are taken to the List View for GitOps Runtimes where you can see the Hybrid GitOps Runtime you added prefixed with a red dot.
363+
1. Wait for a few minutes, and then click**Close**.
364+
You are taken to the List View for GitOps Runtimes where you can see:
365+
* The Hybrid GitOps Runtime you added prefixed with a green dot indicating that it is online
366+
* Type column showing**Helm**
367+
***Complete Installation** in the Sync Status column
365368
1. Continue with[Step 5: Configure Git credentials for runtime](#step-5-configure-git-credentials-for-hybrid-gitops-runtime).
366369

367370

@@ -426,14 +429,16 @@ For more information on generating SSH private keys, see the official documentat
426429
###Step 6: (Optional) Configure Hybrid GitOps Runtime as Argo Application
427430

428431
Configure the Hybrid GitOps Runtime as an Argo Application as the final step in the installation process.
429-
By doing so, you can view the Runtime components, easily monitor health and sync statuses, and ensure that GitOps is the single source of truth for the Runtime.
432+
By doing so, you can view the Runtime components, monitor health and sync statuses, and ensure that GitOps is the single source of truth for the Runtime.
433+
434+
>**NOTE**:
435+
You cannot configure the Runtime as an Argo Application if you have not configured Git credentials for the Runtime, as described in the previous step.
436+
430437

431438
1. Click**Configure as Argo Application**. Codefresh takes care of the configuration for you.
432439
1. Continue with[Step 7: (Optional) Create a Git Source](#step-7-optional-create-a-git-source).
433440

434441

435-
>If you don't configure it as an Argo Application, the Sync Status column will show "N/A" and remind you to configure it.
436-
437442

438443
###Step 7: (Optional) Create a Git Source
439444
Create a[Git Source]({{site.baseurl}}/docs/installation/gitops/git-sources/#create-a-git-source) for the Runtime.
@@ -453,12 +458,6 @@ That's it! You have successfully completed installing a Hybrid GitOps Runtime wi
453458

454459
You can now add[external clusters to the Runtime]({{site.baseurl}}/docs/installation/gitops/managed-cluster/), and[create and deploy GitOps applications]({{site.baseurl}}/docs/deployments/gitops/create-application/).
455460

456-
<!-- * Image overrides for private registries
457-
If you use private registries, you need to override specific image values for the different subcharts and container images.
458-
We have a utility to help override image values for GitOps Runtimes. The utility creates `values` files that match the structure of the subcharts, allowing you to easily replace image registries. During chart installation, you can provide these `values` files to override the images, as needed.
459-
For more details, see the [README](https://github.com/codefresh-io/gitops-runtime-helm/blob/airgapped-scripts-and-rootless/charts/gitops-runtime/README/){:target="\_blank"}.-->
460-
461-
462461

463462

464463
##Minimum system requirements

‎_docs/installation/gitops/hybrid-gitops.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ toc: true
1010
---
1111

1212
>**ATTENTION**:
13-
We have transitioned to a[Helm-based installation for Hybrid GitOps Runtimes]({{site.baseurl}}/docs/installation/gitops/hybrid-gitops-helm-installation/), for improved experience and performance.
14-
The CLI-based installation for Hybrid GitOps is now considered legacy.We will deprecate this installation mode permanently on August 1, 2023.
15-
To migrate your Hybrid GitOps Runtimes from CLI to Helm, please contact us,andwe'll migrate them for you.
13+
We have transitioned to a[Helm-based installation for Hybrid GitOps Runtimes]({{site.baseurl}}/docs/installation/gitops/hybrid-gitops-helm-installation/) for improved experience and performance.
14+
The CLI-based installation for Hybrid GitOps is now considered legacy.
15+
We will deprecate this installation mode permanently in the coming months. Please stay tuned for further updatesandinstructions, including the migration process.
1616

1717

1818
Provision one or more Hybrid GitOps Runtimes in your Codefresh account.
56 KB
Loading

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp