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

Update hybrid-gitops-helm-installation.md#771

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
NimRegev merged 4 commits intomasterfromq2-s3-helm-runtime-ingress-flag
Jul 19, 2023
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 42 additions & 9 deletions_docs/installation/gitops/hybrid-gitops-helm-installation.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -29,7 +29,7 @@ Changing the ArgoCD password can result in system instability, and disrupt the p

## Quick Helm install for Hybrid GitOps Runtime

Install the Hybrid GitOps Runtime via Helm with the default tunnel-based access mode. You will copy the Helm install command from the UI to get the values that Codefresh automatically retrieves for you such as your account ID andother values.
Install the Hybrid GitOps Runtime via Helm with the default tunnel-based access mode. You will copy the Helm install command from the UI to get the values that Codefresh automatically retrieves for you such as your account ID, andthen run the command.

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.

Expand DownExpand Up@@ -303,8 +303,19 @@ Install the Hybrid GitOps Runtime through the Helm chart. The Codefresh `values.
If you define a custom name for the Hybrid GitOps Runtime, it must start with a lower-case character, and can include up to 62 lower-case characters and numbers.

**Namespace**
The Namespace must conform to the naming conventions for Kubernetes objects.
The Namespace must conform to the naming conventions for Kubernetes objects.

**Access modes**
You can define three different access modes:
* Tunnel-based, the default mode, automatically enabled when ingress-based access is not defined in the installation command.
* Ingress-based, uses an ingress controller, which, depending on the type of ingress controller, may need to be configured both before and after installation.
* Service-mesh-based, which may also need to be configured before and after installation. This mode requires explicitly disabling the tunnel- and ingress-based modes in the installation command.

See [Ingress controller configuration](/#ingress-controller-configuration) in this article.

<br>

**How to**
1. To generate your Codefresh API key, click **Generate**.
1. If needed, select **Customize runtime values**, and define the **Runtime Name** and **Namespace**.
The default names are `codefresh` for both.
Expand All@@ -320,6 +331,8 @@ The Namespace must conform to the naming conventions for Kubernetes objects.
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>



**Tunnel-based install chart command:**<br>
{% highlight yaml %}
helm upgrade --install <helm-release-name> \
Expand DownExpand Up@@ -351,6 +364,21 @@ helm upgrade --install <helm-release-name> \
{% endhighlight %}
<br>

**Service-mesh-based install command (without ingress and tunnel):**
{% highlight yaml %}
helm upgrade --install <helm-release-name> \
--create-namespace \
--namespace <namespace> \
--set global.codefresh.userToken.token=<codefresh-api-key> \
--set global.runtime.name=<runtime-name> \
--set global.runtime.ingressUrl=<ingress-url> \
--set global.runtime.ingress.enabled=false \
--set tunnel-client.enabled=false \
<helm-repo-name>/gitops-runtime \
--devel \
--wait
{% endhighlight %}

&nbsp;&nbsp;&nbsp;&nbsp;where:
*
* `<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.
Expand All@@ -360,17 +388,22 @@ helm upgrade --install <helm-release-name> \
* `<runtime-name>` is the name of the GitOps Runtime, and is either `codefresh` which is the default, or the custom name you define.
* `<helm-repo-name>` is the name of the repo in which to store the Helm chart, and must 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.
* `gitops-runtime` is the chart name defined by Codefresh, and cannot be changed.
* `global.runtime.ingress.enabled=true` is mandatory for _ingress-based Hybrid GitOps Runtimes_, and indicates that the runtime is ingress-based.
* `<ingress-host>` is mandatory for _ingress-based Hybrid GitOps Runtimes_, and is the IP address or host name of the ingress controller component.
* `<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.
* Ingress-based Runtimes:
* `global.runtime.ingress.enabled=true` is mandatory for _ingress-based Hybrid GitOps Runtimes_, and indicates that the runtime is ingress-based.
* `<ingress-host>` is mandatory for _ingress-based Hybrid GitOps Runtimes_, and is the IP address or host name of the ingress controller component.
* `<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.
* Service-mesh-based Runtimes:
* `global.runtime.ingressUrl=<ingress-url>` is the ingress URL that is the entry point to the cluster.
* `global.runtime.ingress.enabled=false` disables the ingress-based access mode.
* `tunnel-client.enabled=false` disables the tunnel-based access mode.
* `--wait` is optional, and when defined, waits until all the pods are up and running for the deployment.

{:start="5"}
1. Wait for a few minutes, and then click **Close**.
You are taken to the List View for GitOps Runtimes where you can see:
* The Hybrid GitOps Runtime you added prefixed with a green dot indicating that it is online
* Type columnshowing **Helm**
* **Complete Installation** in the Sync Status column
You are taken to the List View for GitOps Runtimes where:
* The Hybrid GitOps Runtime you addedisprefixed with a green dot indicating that it is online
*TheType columnfor the Runtime displays **Helm**
*The Sync Status column displays**Complete Installation**, indicating that there are pending tasks to complete the installation.
1. Continue with [Step 5: Configure Git credentials for runtime](#step-5-configure-git-credentials-for-hybrid-gitops-runtime).


Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp