Stream from k8s main container
parent
541099b899
commit
dc4820452f
|
|
@ -1432,7 +1432,7 @@ class Kubernetes {
|
|||
core.info('Watching pod until running');
|
||||
yield kubernetes_utils_1.default.watchUntilPodRunning(this.kubeClient, this.podName, this.namespace);
|
||||
core.info('Pod running, streaming logs');
|
||||
yield kubernetes_logging_1.default.streamLogs(this.kubeConfig, this.kubeClient, this.jobName, this.podName, this.containerName, this.namespace, core.info);
|
||||
yield kubernetes_logging_1.default.streamLogs(this.kubeConfig, this.kubeClient, this.jobName, this.podName, 'main', this.namespace, core.info);
|
||||
yield this.cleanupTaskResources();
|
||||
}
|
||||
catch (error) {
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -109,7 +109,7 @@ class Kubernetes implements CloudRunnerProviderInterface {
|
|||
this.kubeClient,
|
||||
this.jobName,
|
||||
this.podName,
|
||||
this.containerName,
|
||||
'main',
|
||||
this.namespace,
|
||||
core.info,
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue