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

Commitf73d7f5

Browse files
authored
Gitops runtime fixes (#930)
* Update gitops runtime contentUpdate content for runtime quick starts* Update gitops runtime quick startsUpdate content to align with new helm* Update runtime.md
1 parente284d66 commitf73d7f5

File tree

4 files changed

+41
-55
lines changed

4 files changed

+41
-55
lines changed

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

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Choose the installation option that best aligns with your specific requirements
3838
#####GitOps Runtime installation
3939

4040

41-
***First-time GitOps Runtime installation**
41+
***First-time GitOps Runtime installation**
4242
If this is your first time installing a GitOps Runtime in your Codefresh account, follow these steps:
4343

4444
*[Complete prerequisites](#preparing-for-hybrid-gitops-runtime-installation): Before starting the installation, complete pre-requisites.
@@ -47,7 +47,7 @@ Choose the installation option that best aligns with your specific requirements
4747

4848

4949

50-
***Additional GitOps Runtimeinstallation**
50+
***Additional GitOps Runtimeinstallations**
5151
If you have already installed a GitOps Runtime in your account and want to install additional Runtimes on different clusters within the same account, you can continue with a[simplified installation](#install-additional-gitops-runtimes-in-account) from the Codefresh UI, or use[Terraform](/install-gitops-runtime-via-terraform).
5252
When installing additional GitOps Runtimes, Git provider, Shared Configuration Repository, and the repository for the Helm chart, for example, are not required, as they have been already set up for your account.
5353

@@ -184,7 +184,7 @@ If the chart's minor appversion is lower than the version used by Codefresh, you
184184
%}
185185

186186
{:start="4"}
187-
1. Ifthe minor appversion you have differs from that used by Codefresh, do one of the following:
187+
1. Ifyour minor appversion differs from that used by Codefresh, do one of the following:
188188
* Lower version: Upgrade to the required minor appversion.
189189
* Higher version: If not available in Codefresh forks, please contact Codefresh Support.
190190

@@ -222,7 +222,7 @@ The Codefresh `values.yaml` located [here](https://github.com/codefresh-io/gitop
222222
###Step 1: Select Hybrid Runtime install option
223223

224224
1. In the Welcome page, select**+ Install Runtime**.
225-
1. Select**Hybrid Runtime**.
225+
1. Select**Hybrid Runtime**, and click**Add**.
226226

227227
{% include
228228
image.html
@@ -329,7 +329,7 @@ max-width="50%"
329329
{:start="2"}
330330
1. If needed, select**Customize runtime values**, and define the**Runtime Name** and**Namespace**.
331331
The default names are`codefresh` for both.
332-
1. Copy and run the command to install the runtime Helm chart:
332+
1. Copy and run the command to install the runtime Helm chart:
333333
The commands differ depending on the access mode. Ingress-based or service-mesh-based access modes for the Runtime require additional flags.<br>
334334
Unless otherwise indicated, values are automatically populated by Codefresh. If you're using a terminal, remember to copy the values from the UI beforehand.<br>
335335

@@ -445,8 +445,7 @@ Git credentials include authorizing access to Git repositories through OAuth2 or
445445
OAuth2 authorization is possible if your admin has registered an OAuth Application for Codefresh. See[OAuth2 setup for GitOps]({{site.baseurl}}/docs/administration/account-user-management/oauth-setup/).
446446

447447
**Git access token authorization**
448-
Git access token authentication requires you to generate an access token in your Git provider account for the GitOps Runtime with the required scopes. For detailed information on Git Runtime token, including using tokens with custom scopes, review[GitOps Runtime token scopes]({{site.baseurl}}/docs/security/git-tokens/#git-runtime-token-scopes).
449-
448+
Git access token authentication requires you to generate an access token in your Git provider account for the GitOps Runtime with the required scopes. For detailed information on Git Runtime token, including using tokens with custom scopes, review[GitOps Runtime token scopes]({{site.baseurl}}/docs/reference/git-tokens/#git-runtime-token-scopes).
450449

451450
**SSH access to Git**
452451
By default, Git repositories use the HTTPS protocol. You can also use SSH to connect Git repositories by entering the SSH private key.

‎_docs/quick-start/gitops-quick-start/install-hosted.md‎

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,22 @@ sub-group: gitops-quick-start
66
toc:true
77
---
88

9-
If you have Hosted GitOps, set up your hostedruntime environment:
9+
If you have Hosted GitOps, set up your hostedRuntime environment:
1010

11-
1. Provision the Hosted GitOps Runtime with a single click
12-
1. Authorize access through your OAuth token to the organization where Codefresh creates the Git runtime repo and the shared configuration repo
13-
1. Connect to an external K8s cluster with access to the internet, to which you can deploy applications
14-
1. Install Argo Rollouts on the cluster
11+
1. Provision the Hosted GitOps Runtime with a single click.
12+
1. Authorize access through your OAuth token to the organization where Codefresh creates the Git runtime repo and the[Shared Configuration Repo]({{site.baseurl}}/docs/installation/gitops/shared-configuration/).
13+
1. Connect to an external K8s cluster with access to the internet, to which you can deploy applications.
14+
This is important as you cannot deploy to the in-cluster with the Hosted GitOps Runtime.
15+
1. Install Argo Rollouts on the cluster.
1516

1617
Read our[blog on Hosted GitOps](https://codefresh.io/blog/codefresh-upends-continuous-delivery-with-hosted-gitops-platform-featuring-dora-dashboards-and-first-class-integrations-for-ci/).
1718
For detailed information on each of the steps below, see[Set up a Hosted GitOps Runtime environment]({{site.baseurl}}/docs/installation/gitops/hosted-runtime/).
1819

1920
##Before you begin
2021

21-
Verify the following:
22-
* If you have hybrid runtimes installed, make sure you have latest version of the CLI
23-
* Check version:
24-
`cf version`
25-
To compare with the latest version from Codefresh,[click here](https://github.com/codefresh-io/cli-v2/releases){:target="\_blank"}.
26-
*[Download the CLI]({{site.baseurl}}/docs/installation/gitops/upgrade-gitops-cli/).
27-
* Kubernetes cluster with access to the internet
28-
* OAuth token
22+
Verify that you have:
23+
* A Kubernetes cluster with access to the internet
24+
* An OAuth token
2925

3026
##How to
3127
1. In the Codefresh UI, go to Codefresh[Home Dashboard](https://g.codefresh.io/2.0/?time=LAST_7_DAYS){:target="\_blank"}.
@@ -55,7 +51,7 @@ max-width="80%"
5551
%}
5652

5753
{:start="3"}
58-
1. Select the Git organization for the runtime installation andshared configuration repos:
54+
1. Select the Git organization for the runtime installation andthe Shared Configuration Repo:
5955
* Click**Connect**.
6056
* Click**Authorize Access** and enter your OAuth token.
6157
* Select the**Git Organization for which to create the repos**.
@@ -105,6 +101,8 @@ max-width="70%"
105101
max-width="50%"
106102
%}
107103

104+
You are now ready to create and deploy an Argo CD application.
105+
108106
##What to do next
109107
[Create resources for codefresh-guestbook application]({{site.baseurl}}/docs/quick-start/gitops-quick-start/create-app-specs/)
110108

‎_docs/quick-start/gitops-quick-start/runtime.md‎

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ toc: true
99

1010

1111
Get up and running with Codefresh by installing the Hybrid Runtime for GitOps via Helm.
12-
The Runtime is installed through a Helm chart. The Codefresh`values.yaml` is located[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/){:target="\_blank"}. It contains all the arguments that can be configured, including optional ones.
12+
The Runtime is installed through a Helm chart. The Codefresh`values.yaml` is located[here](https://github.com/codefresh-io/gitops-runtime-helm/blob/main/charts/gitops-runtime/){:target="\_blank"}. It contains all the arguments that can be configured, including optional ones, with descriptions of each.
1313

1414
##Quick start assumptions
1515

@@ -43,16 +43,16 @@ kubectl annotate --overwrite crds $(kubectl get crd | grep argoproj.io | awk '{p
4343
kubectl annotate --overwrite crds $(kubectl get crd | grep argoproj.io | awk '{print $1}' | xargs) meta.helm.sh/release-namespace=$NAMESPACE
4444
```
4545

46-
###Tunnel-basedruntime
47-
Hybrid GitOps Runtimessupports tunnel-based, ingress-based, and service-mesh-based access modes.
48-
For the quick start, we'll use the tunnel-based mode which is the default access mode,notrequiring an ingress controller.
46+
###Tunnel-basedRuntime
47+
Hybrid GitOps Runtimessupport tunnel-based, ingress-based, and service-mesh-based access modes.
48+
For the quick start, we'll use the tunnel-based mode which is the default access mode that doesnotrequire an ingress controller.
4949
For details on these access modes, review[GitOps Runtime architecture]({{site.baseurl}}/docs/installation/runtime-architecture/#gitops-runtime-architecture).
5050

5151
###GitHub as Git provider
5252
Hybrid GitOps Runtimes require a Git Runtime token for authentication to the Git installation repository based on your Git provider, and a Git user token to authenticate Git-based actions for the Runtime.
5353
The quick start uses GitHub as the Git provider. For other Git providers and token requirements, see[Git providers and Git runtime tokens]({{site.baseurl}}/docs/security/git-tokens/#git-runtime-token-scopes).
5454

55-
Have your GitHub Runtime tokenready for Runtime installationwith a valid expiration date and access permissions:
55+
Have your GitHub Runtime token with a valid expiration date and access permissions ready for Runtime installation:
5656
* Expiration: Either the default of 30 days or any duration you consider logical.
5757
* Access scopes: Set to`repo` and`admin-repo.hook`
5858

@@ -75,13 +75,14 @@ Read up on the [Shared Configuration Repository]({{site.baseurl}}/docs/installat
7575

7676
##Install Hybrid GitOps Runtime
7777

78-
**Before you begin**
78+
#####Before you begin
7979
* Make sure your cluster does not have[Argo project components & CRDs](#argo-project-components--crds)
8080

81-
**How to**
81+
#####How to
8282

8383
1. In the Welcome page, select**+ Install Runtime**.
8484
1. From Runtimes in the sidebar, select**GitOps Runtimes**.
85+
1. Click**Hybrid Runtimes**, and then click**Add**.
8586
1. Set up your Git provider account:
8687
1. If not GitHub, select the Git provider.
8788
1. Define the provider's API URL.
@@ -90,32 +91,32 @@ Read up on the [Shared Configuration Repository]({{site.baseurl}}/docs/installat
9091
1. Install the Hybrid GitOps Runtime:
9192
1. Click**Generate** to create a new API key.
9293
1. Retain the default values for the GitOps Runtime name and namespace,`codefresh`.
93-
1. Copy the command in_Step 3_ and run it to add the repository in which to store the Helm chart. You don't need to change anything in the command.
94-
1. Copy the command in_Step 4_ and run it to install the Helm chart for the Hybrid GitOps Runtime:
94+
1. Copy the command in_Step 3_ and run it to install the Helm chart for the Hybrid GitOps Runtime:
9595
where:
9696
*`cf-gitops-runtime` is the default name of the Helm release, which you can change if needed.
9797
*`codefresh` is the default namespace in which to install the Hybrid GitOps runtime.
9898
*`<codefresh-account-id>` is mandatory for_tunnel-based Hybrid GitOps Runtimes_, and is automatically populated by Codefresh in the command.
9999
*`<codefresh-token>` is the API key you generated, and is automatically populated in the command.
100-
*`codefresh` is the default name of theruntime.
101-
*`<cf-gitops-runtime/gitops-runtime>` is the name of the repo and must be identical to the one specified in_Step 3_, and is by default,`cf-gitops-runtime`.`gitops-runtime` is the name of the Helm chart predefined by Codefresh, and cannot be changed.
100+
*`codefresh` is the default name of theRuntime.
101+
*`oci://quay.io/codefresh/gitops-runtime` is the name of the Helm chart, predefined by Codefresh, and cannot be changed.
102102

103103
{% include
104104
image.html
105105
lightbox="true"
106-
file="/images/quick-start/gitops/install-helm-command.png"
107-
url="/images/quick-start/gitops/install-helm-command.png"
106+
file="/images/runtime/helm/helm-install-hybrid-runtime.png"
107+
url="/images/runtime/helm/helm-install-hybrid-runtime.png"
108108
alt="Quick Start: Install Hybrid GitOps Runtime"
109109
caption="Quick Start: Install Hybrid GitOps Runtime"
110110
max-width="60%"
111111
%}
112112

113-
{:start="5"}
114-
1. Wait for a few minutes, and then click**Close**.
113+
{:start="6"}
114+
1. Wait for a few minutes, and then click**Close**.
115115
You are taken to the List View for GitOps Runtimes where you can see the Hybrid GitOps Runtime you added with a green dot indicating that it is online, and the Type column for the Runtime displaying Helm.
116-
1. Optional. Complete the installation by clicking**Configure as Argo Application**.
117-
There is no need for any action from you, as Codefresh takes care of the configuration.
118-
By configuring the Hybrid GitOps Runtime as an Argo Application, you can ensure that GitOps is the single source of truth for the Runtime and view and monitor Runtime components.
116+
1. Complete the installation by clicking**Configure as Argo Application**.
117+
There is no need for any further action from you, as Codefresh takes care of the configuration.
118+
By configuring the Hybrid GitOps Runtime as an Argo Application, you can ensure that GitOps is the single source of truth for the Runtime, and view and monitor Runtime components.
119+
119120

120121
You are now ready to create and deploy a GitOps application in Codefresh.
121122

‎_docs/quick-start/gitops-quick-start/verify-requirements.md‎

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,26 +10,14 @@ Hybrid GitOps Runtimes are installed via Helm charts.
1010

1111

1212
##New installation
13-
If this is your first time installing GitOps in Codefresh, review and confirm that your deployment environment conforms to the minimum requirements for Hybrid GitOps installation. Check the[system requirements]({{site.baseurl}}/docs/installation/gitops/hybrid-gitops/#minimum-system-requirements).
13+
If this is your first time installing GitOps in Codefresh, review and confirm that your deployment environment conforms to the minimum requirements for Hybrid GitOps installation. Check the[system requirements]({{site.baseurl}}/docs/installation/gitops/hybrid-gitops-helm-installation/#minimum-system-requirements).
1414

1515

1616
##Existing CLI-based Hybrid GitOps installation
17-
If you already have a CLI-based Hybrid GitOps Runtime installed on your cluster, you have two options:
18-
1. To install on the same cluster, first uninstall the existing CLI-based Hybrid GitOps Runtime.
19-
This is the recommended option.
20-
1. Install on a different cluster, verifying that you meet the minimum requirements.
17+
If you already have a CLI-based Hybrid GitOps Runtime installed on your cluster, you_must migrate your CLI-based Runtime to the Helm-based Runtime_.
18+
Read and follow the guidelines in[Migrating GitOps Runtimes from CLI to Helm]({{site.baseurl}}/docs/installation/gitops/migrate-cli-runtimes-helm/).
2119

22-
##Uninstallation tips for existing CLI-based Hybrid GitOps Runtimes
23-
* Before you run uninstall an existing CLI-based Hybrid GitOps Runtime from the Codefresh UI, or run`cf runtime <name> uninstall` from the CLI,_delete_ all Codefresh-related namespaces.
24-
* If a namespace is frozen in the`Terminating` status, it could be because the namespace has resources with`finalizers` that are preventing deletion.
25-
Here's how you can remove`finalizers` using`k9s`:
26-
* In the`applications` view, do the following for each application:
27-
* Hit`e` to edit the YAML.
28-
* Scroll down to the section entitled`finalizers`.
29-
* Move cursor to the line with the finalizer definition, and then hit`dd` to delete the line.
30-
* Delete also the`finalizers` key.
31-
* To save and exit, hit`escape``wq:``enter`.
32-
* Try deleting the namespace again.
20+
3321

3422
##What to do next
3523
[Install a Hybrid GitOps Runtime]({{site.baseurl}}/docs/quick-start/gitops-quick-start/runtime/)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp