pipelines/frontend/server/handlers
Yihong Wang bb9dc67572
feat(frontend): make container name configurable (#9433)
* feat(frontend): make container name configurable

Add an UIConfig param to specify the container name in a pod
where logs are retrieved. The default container name for
the Argo is `main`. However, in Tekton, the main container name
contains the `step-` prefix. Make this configurable to support
other orchestrations.

Signed-off-by: Yihong Wang <yh.wang@ibm.com>

* fix test case error

add `undefined` as the expected `logContainerName` param

Signed-off-by: Yihong Wang <yh.wang@ibm.com>

* address the comment

use default value `main` in `getPodLogsStreamFromK8s`
same as `getPodLogs`

Signed-off-by: Yihong Wang <yh.wang@ibm.com>

* only pass podLogContainerName

Signed-off-by: Yihong Wang <yh.wang@ibm.com>

---------

Signed-off-by: Yihong Wang <yh.wang@ibm.com>
2023-05-17 23:37:06 +00:00
..
artifacts.ts feat(frontend): Implement aws-js-sdk crendentials to support IRSA for s3 (#8651) 2023-01-25 19:32:05 +00:00
gke-metadata.ts Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
healthz.ts Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
index-html.ts Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
pod-info.ts Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
pod-logs.ts feat(frontend): make container name configurable (#9433) 2023-05-17 23:37:06 +00:00
tensorboard.ts feat: customizable tensorboard image and env + sample pipeline with minio. Fixes #5471, fixes #4714, fixes #5449, fixes #699, fixes #4290 (#5515) 2021-05-11 00:45:42 -07:00
vis.ts Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00