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
Invalid JSON received when watching events #105821
Comments
@alex-ridge can you share all the steps you performed? |
These are the related objects I have on the cluster:
I have a script running the In order to simulate a pod restart, I killed the |
/sig api-machinery |
what path is outputting unescaped json? that's ... very strange |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What happened?
While watching events, I received an invalid JSON.
I used the following command:
And this is the invalid JSON I received:
The field
.object.message
contains quotes that are not escaped.Here is the event pretty printed:
What did you expect to happen?
Receive a valid JSON (the endpoint name, here
wireguard
should be escaped)How can we reproduce it (as minimally and precisely as possible)?
I don't know what lead to this error.
I have a
ReplicaSet
behind aService
. I killed the pod under theReplicaSet
to generate an event.Anything else we need to know?
No response
Kubernetes version
Cloud provider
OS version
Install tools
Container runtime (CRI) and and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
The text was updated successfully, but these errors were encountered: