faint-rocket-14513
02/08/2024, 7:03 PMgcp-project
field in your setup. The example configuration provided in one of the discussions shows how to configure Stackdriver logging for tasks, including specifying the GCP project: task_logs: plugins: k8s-array: logs: config: stackdriver-enabled: true stackdriver-logresourcename: k8s_container gcp-project: <OUR PROJECT> templates: - displayName: <SOME SOURCE> templateUris: - <SOME URI>
In this configuration snippet, <OUR PROJECT>
should be replaced with your actual GCP project ID where your Flyte instances are running and generating logs. This ensures that the generated Stackdriver logs link will include the correct project=
parameter in the URL, directing users to the appropriate project in GCP's Log Explorer. If you have already configured the gcp-project
field and are still encountering issues, it might be worth double-checking the configuration for any typos or errors. Additionally, ensure that your Flyte deployment has been updated with this configuration, which might require redeploying or updating the relevant Flyte components. For more detailed information on configuring logging in Flyte, including external systems like Stackdriver, you can refer to the Flyte documentation on configuring logging links: Configure Logging Links.