stream logs through standard input and new remote client cli command
parent
596f3fb648
commit
76e8818089
|
@ -3957,7 +3957,7 @@ class KubernetesTaskRunner {
|
|||
await async_wait_until_1.default(async () => {
|
||||
const status = await kubeClient.readNamespacedPodStatus(podName, namespace);
|
||||
const phase = status?.body.status?.phase;
|
||||
waitComplete = phase !== 'Pending' && phase !== 'Unknown';
|
||||
waitComplete = phase !== 'Pending';
|
||||
message = `Phase:${status.body.status?.phase} \n Reason:${status.body.status?.conditions?.[0].reason || ''} \n Message:${status.body.status?.conditions?.[0].message || ''}`;
|
||||
// CloudRunnerLogger.log(
|
||||
// JSON.stringify(
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -118,7 +118,7 @@ class KubernetesTaskRunner {
|
|||
async () => {
|
||||
const status = await kubeClient.readNamespacedPodStatus(podName, namespace);
|
||||
const phase = status?.body.status?.phase;
|
||||
waitComplete = phase !== 'Pending' && phase !== 'Unknown';
|
||||
waitComplete = phase !== 'Pending';
|
||||
message = `Phase:${status.body.status?.phase} \n Reason:${
|
||||
status.body.status?.conditions?.[0].reason || ''
|
||||
} \n Message:${status.body.status?.conditions?.[0].message || ''}`;
|
||||
|
|
Loading…
Reference in New Issue