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

Restore component log download#906

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 3 commits intomasterfromgitops-restore-component-log-download
Jan 24, 2024
Merged
Show file tree
Hide file tree
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
164 changes: 59 additions & 105 deletions_docs/installation/gitops/monitor-manage-runtimes.md
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -330,6 +330,65 @@ Copy the SSH private key for your Git provider
{:start="5"}
1. Click **Update Credentials**.

## View/download logs for GitOps Runtimes
Logs are available for installed GitOps Runtimes, both for the Runtime and for individual Runtime components. Download log files for offline viewing and analysis, or view online logs for a Runtime component and download if needed for offline analysis. Online logs support free-text search, search-result navigation, and line-wrap for enhanced readability.

Log files include events from the date of the application launch, with the newest events listed first.



### Download logs for GitOps Runtimes
Download the log file for a GitOps Runtime. The Runtime log is downloaded as a `.tar.gz` file, which contains the individual log files for each runtime component.

1. In the Codefresh UI, on the toolbar, click the **Settings** icon.
1. From Runtimes in the sidebar, select [**GitOps Runtimes**](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
1. If needed, switch to **List View**, and then select the runtime for which to download logs.
1. From the context menu, select **Download All Logs**.
The log file is downloaded to the Downloads folder or the folder designated for downloads, with the filename, `<runtime-name>.tar.gz`. For example, `codefreshv2-production2.tar.gz`.

### View/download logs for Runtime components
View online logs for any Runtime component, and if needed, download the log file for offline viewing and analysis.

>**NOTE**
Downloading logs for Runtime components is supported from Runtime v0.1.39 and higher.

Online logs show up to 1000 of the most recent events (lines), updated in real time. Downloaded logs include all the events, from the date and time of application launch to the date and time of download.

1. In the Codefresh UI, on the toolbar, click the **Settings** icon.
1. From Runtimes in the sidebar, select [**GitOps Runtimes**](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
1. If needed, switch to **List View**, and then select the Runtime.
1. In the Runtime Components tab, from the context menu of the required component, select **View Logs**.

{% include
image.html
lightbox="true"
file="/images/runtime/runtime-logs-view-component.png"
url="/images/runtime/runtime-logs-view-component.png"
alt="View log option for individual runtime component"
caption="View log option for individual runtime component"
max-width="60%"
%}


{:start="4"}
1. Do the following:
* To search for any string, type the free-text to search for, and click the next and previous buttons to navigate between the search results.
* To switch on line-wrap for readability, click **Wrap**.

{% include
image.html
lightbox="true"
file="/images/runtime/runtime-logs-screen-view.png"
url="/images/runtime/runtime-logs-screen-view.png"
alt="Online log example for runtime component"
caption="Online log example for runtime component"
max-width="60%"
%}

{:start="5"}
1. To download the log, click **Download**.
The file is downloaded as `<component-name>.log`.

## Reset Shared Configuration Repository for GitOps Runtimes
Codefresh creates and validates the [Shared Configuration Repository]({{site.baseurl}}/docs/installation/gitops/shared-configuration) when you install the first Hybrid or Hosted GitOps Runtime for your account, and uses it for all GitOps Runtimes you add to the same account.

Expand DownExpand Up@@ -536,114 +595,9 @@ Uninstalling a GitOps Runtime permanently removes:



## (Helm GitOps) Download logs for GitOps Runtimes

Download the logs for a completed GitOps Runtime installation.<br>
The Runtime log is downloaded as a `.tar.gz` file, which contains the individual log files for each runtime component.

1. In the Codefresh UI, on the toolbar, click the **Settings** icon, expand Runtimes in the sidebar, and select [**GitOps Runtimes**](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
1. If needed, switch to **List View**, and then select the runtime for which to download logs.
1. From the context menu, select **Download All Logs**.
The log file is downloaded to the Downloads folder or the folder designated for downloads, with the filename, `<runtime-name>.tar.gz`. For example, `codefreshv2-production2.tar.gz`.

{% include
image.html
lightbox="true"
file="/images/runtime/helm-download-all-logs.png"
url="/images/runtime/helm-download-all-logs.png"
alt="Download all logs for installed GitOps Runtime"
caption="Download all logs for installed GitOps Runtime"
max-width="60%"
%}

<!---
## (Legacy CLI Hybrid GitOps) View/download logs for GitOps Runtimes
Logs are available for completed Runtimes, both for the runtime and for individual runtime components. Download log files for offline viewing and analysis, or view online logs for a Runtime component, and download if needed for offline analysis. Online logs support free-text search, search-result navigation, and line-wrap for enhanced readability.

Log files include events from the date of the application launch, with the newest events listed first.



### Download logs for GitOps Runtimes
Download the log file for a Runtime. The Runtime log is downloaded as a `.tar.gz` file, which contains the individual log files for each runtime component.

1. In the Codefresh UI, on the toolbar, click the **Settings** icon, expand Runtimes in the sidebar, and select [**GitOps Runtimes**](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
1. If needed, switch to **List View**, and then select the runtime for which to download logs.
1. From the context menu, select **Download All Logs**.
The log file is downloaded to the Downloads folder or the folder designated for downloads, with the filename, `<runtime-name>.tar.gz`. For example, `codefreshv2-production2.tar.gz`.


{% include
image.html
lightbox="true"
file="/images/runtime/runtime-logs-download-all.png"
url="/images/runtime/runtime-logs-download-all.png"
alt="Download logs for selected runtime"
caption="Download logs for selected runtime"
max-width="40%"
%}


{:start="4"}
1. To view the log files of the individual components, unzip the file.
Here is an example of the folder with the individual logs.

{% include
image.html
lightbox="true"
file="/images/runtime/runtime-logs-folder-view.png"
url="/images/runtime/runtime-logs-folder-view.png"
alt="Individual log files in folder"
caption="Individual log files in folder"
max-width="50%"
%}

{:start="5"}
1. Open a log file with the text editor of your choice.



### View/download logs for Runtime components
View online logs for any Runtime component, and if needed, download the log file for offline viewing and analysis.

Online logs show up to 1000 of the most recent events (lines), updated in real time. Downloaded logs include all the events, from the application launch to the date and time of download.

1. In the Codefresh UI, on the toolbar, click the **Settings** icon, expand Runtimes in the sidebar, and select [**GitOps Runtimes**](https://g.codefresh.io/2.0/account-settings/runtimes){:target="\_blank"}.
1. If needed, switch to **List View**, and then select the Runtime.
1. Select the Runtime component and then select **View Logs**.

{% include
image.html
lightbox="true"
file="/images/runtime/runtime-logs-view-component.png"
url="/images/runtime/runtime-logs-view-component.png"
alt="View log option for individual runtime component"
caption="View log option for individual runtime component"
max-width="40%"
%}


{:start="4"}
1. Do the following:
* Search by free-text for any string, and click the next and previous buttons to navigate between the search results.
* To switch on line-wrap for readability, click **Wrap**.

{% include
image.html
lightbox="true"
file="/images/runtime/runtime-logs-screen-view.png"
url="/images/runtime/runtime-logs-screen-view.png"
alt="Online log example for runtime component"
caption="Online log example for runtime component"
max-width="50%"
%}

{:start="5"}
1. To download the log, click **Download**.
The file is downloaded as `<component-name>.log`.


-->


## (Legacy CLI Hybrid GitOps) Restoring provisioned GitOps Runtimes
Expand Down
Binary file modifiedimages/runtime/runtime-logs-screen-view.png
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modifiedimages/runtime/runtime-logs-view-component.png
View file
Open in desktop
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

[8]ページ先頭

©2009-2025 Movatter.jp