question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Revisit use of read_namespaced_pod_log

See original GitHub issue

Right now we use the k8s read_namespaced_pod_log to extract the GraphQL response printed by dagster-graphql to stdout—see here

We should probably find a less fragile way to accomplish this; it’s not clear to me that this API is designed for durability / reliable reads of pod outputs

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
natekuppcommented, Jul 28, 2020

per conversation this morning with @catherinewu, we could instead just have the containers write directly to the instance database and remove this parse_raw_log_lines entirely. If the containers had access to the instance, we could also remove passing tags over the graphql interface; see https://dagster.phacility.com/D4017

0reactions
johannkmcommented, Mar 5, 2022

We’ve solved this with the k8s_job_executor, it persists with the celery_k8s_job_executor

Read more comments on GitHub >

github_iconTop Results From Across the Web

readNamespacedPodLog with follow=true · Issue #110 - GitHub
I have a problem with the usage of readNamespacedPodLog with the follow parameter set to true. This function returns a Promise (BlueBird).
Read more >
CoreV1Api.readNamespacedPodLog - Java - Tabnine
How to use. readNamespacedPodLog. method. in. io.kubernetes.client.apis.CoreV1Api · Best Java code snippets using io.kubernetes.client.apis.CoreV1Api.
Read more >
Issue using readNamespacedPodLog - Stack Overflow
I am trying to ascertain if there are log files for pods with sizes > 10Mb and reporting on them. When I do...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found