Field apiVersion is missing from events reported from taint manager #114083
Closed
Description
What happened?
Events from node taint manager doesn't report involved object apiVersion:
What did you expect to happen?
apiVersion is reported as other events. For example:
How can we reproduce it (as minimally and precisely as possible)?
- Run a pod on node A (not master)
- Switch off node A
- Event
Marking for deletion Pod...
is reported, but without apiVersion in involvedObject.
Anything else we need to know?
The apiVersion is not reported in taint_manager.go The issue is still not fixed in master:
Kubernetes version
$ kubectl version
# paste output here
Client Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.3-1+db95af67a8a660", GitCommit:"db95af67a8a660dc53ac09b8475161de2f5c711e", GitTreeState:"clean", BuildDate:"2021-01-22T07:54:01Z", GoVersion:"go1.15.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"19+", GitVersion:"v1.19.3-1+db95af67a8a660", GitCommit:"db95af67a8a660dc53ac09b8475161de2f5c711e", GitTreeState:"clean", BuildDate:"2021-01-22T07:24:32Z", GoVersion:"go1.15.2", Compiler:"gc", Platform:"linux/amd64"}
Cloud provider
Irrelevant
OS version
# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here
# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here
Install tools
Container runtime (CRI) and version (if applicable)
Related plugins (CNI, CSI, ...) and versions (if applicable)
Metadata
Labels
Type
Projects
Status
Done