-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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
Make kubelet ReadLogs
backward compatible.
#63268
Make kubelet ReadLogs
backward compatible.
#63268
Conversation
Signed-off-by: Lantao Liu <lantaol@google.com>
/lgtm |
LGTM 👍 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Random-Liu, yujuhong The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-kubernetes-integration |
/test all [submit-queue is verifying that this PR is safe to merge] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions here. |
containerLogPathLabelKey
label was added in dockershim since 1.5. 121a91eContainerStatus.LogPath was added since Kubernetes 1.7. c3b5226
I believe it is safe to reply on this field without backward compatibility issue. And
crictl
is using it as well https://github.com/kubernetes-incubator/cri-tools/blob/master/cmd/crictl/logs.go#L88.With this change, in the future, kubelet
ReadLogs
will be backward compatible as long as the log format is backward compatible.@feiskyer @yujuhong @kubernetes/sig-node-pr-reviews
Signed-off-by: Lantao Liu lantaol@google.com
Release note: