Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pod/container watchLog faulty in 6.x.x #4482

Closed
wolandmaster opened this issue Oct 6, 2022 · 0 comments · Fixed by #4483
Closed

Pod/container watchLog faulty in 6.x.x #4482

wolandmaster opened this issue Oct 6, 2022 · 0 comments · Fixed by #4483
Assignees
Labels
Milestone

Comments

@wolandmaster
Copy link

Describe the bug

The PodOperationsImpl watchLog method does not write anything to the OutputStream as of version 6.0.0.
When the Pod is deleted, all the missing container logs are sent to the OutputStream at once.

Fabric8 Kubernetes Client version

6.0.0

Steps to reproduce

        new KubernetesClientBuilder().build()
                .pods()
                .inNamespace("<namespace>")
                .withName("<podName>")
                .inContainer("<containerName>")
                .tailingLines(10)
                .watchLog(System.out);

Expected behavior

The watchLog method should print the watched container log entries to the OutputStream immediately after they are created. Similar to how it worked before 6.x.x versions.

Runtime

Kubernetes (vanilla)

Kubernetes API Server version

1.23

Environment

Linux

Fabric8 Kubernetes Client Logs

No response

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants