en/latest/configure-archive-logs/ #9970
Replies: 8 comments 35 replies
-
I set artifact repository as below in artifactRepository: |
azure:
endpoint: https://argodat3o77q.blob.core.windows.net
container: artifacts
blob: {{workflow.name}}/{{pod.name}}
accountKeySecret:
name: argo-artifcats-storage-credentials
key: account-access-key |
Beta Was this translation helpful? Give feedback.
-
Hello is there a way I can the path where I would like to save my logs in the s3 bucket? |
Beta Was this translation helpful? Give feedback.
-
I've configured with mysql as the manul. Tables are created in the databases as metioned in the manul. However, it didn't archive the workflow. I'can see any workflow in UI and in the database. Can anyone help? The workflow run in a customized namesapce which is different from the default "argo". Any suggestions? |
Beta Was this translation helpful? Give feedback.
-
Any way to change postgres schema? We're a small group and I prefer to colocate these types of logs. The ability to use a schema like argo would be great. |
Beta Was this translation helpful? Give feedback.
-
Hello. I would like to see archived workflow logs in the GUI. When I set it up as following, I get an error with the message Is there a recommended keyFormat for storing multi-step and DAG logs? MultiStep data:
multi-step-repository: |
s3:
endpoint: s3.amazonaws.com
bucket: xxxx-xxxx-workflow-artifacts
region: ap-northeast-1
keyFormat: {{workflow.creationTimestamp.Y}}/{{workflow.creationTimestamp.m}}/{{workflow.creationTimestamp.d}}/{{workflow.name}}/{{steps.name}}/{{workflow.creationTimestamp}} DAG dag-repository: |
s3:
endpoint: s3.amazonaws.com
bucket: xxxx-xxxx-workflow-artifacts
region: ap-northeast-1
keyFormat: {{workflow.creationTimestamp.Y}}/{{workflow.creationTimestamp.m}}/{{workflow.creationTimestamp.d}}/{{workflow.name}}/{{tasks.name}}/{{workflow.creationTimestamp}} |
Beta Was this translation helpful? Give feedback.
-
I am posting as I am not sure how to configure it according to my needs: I try to set it up to work with AzureBlob. I have multiple namespaces, all with their own workflows. When I configure this directly in the workflow controller configmap, I just get a static folder and all workflows try to write to that single file it creates (ex. dev/cluster/main.log). Then the archive logs just work for the first workflow that ran, but for subsequent workflows I get the following error in the logs: What I would like is that every workflow put it logs in a separate folder (ex. dev/cluster/workflow1/main.log, dev/cluster/workflow2/main.log) I am just not sure if that is even possible when configuring it only in the workflow controller configmap: I would think every workflow need to have it's own reference for where to write the logs. Does anyone has an idea how to configure this, and how does this work for s3 for example? Thanks! |
Beta Was this translation helpful? Give feedback.
-
Hi Argo experts, Is there a way to mark logs artifacts are optional so that the workflow will not fail when logs archival fails? |
Beta Was this translation helpful? Give feedback.
-
Hello, Is it possible to save the wait.log file in addition to the main.log file? |
Beta Was this translation helpful? Give feedback.
-
en/latest/configure-archive-logs/
https://argo-workflows.readthedocs.io/en/latest/configure-archive-logs/
Beta Was this translation helpful? Give feedback.
All reactions