- Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
Environment
- k8s version: v1.19.9 (on-prem)
- controller-runvime version: v0.8.2
Problem
I'm not sure when it actually happens, but we suffered from a very large stack trace log when admission errors occur.
When we investigate the log, we saw the two functions (writeResponse and writeAdmissionResponse) are repeatedly calling each other.
- https://github.com/kubernetes-sigs/controller-runtime/blob/v0.11.1/pkg/webhook/admission/http.go#L105
- https://github.com/kubernetes-sigs/controller-runtime/blob/v0.11.1/pkg/webhook/admission/http.go#L129
Could you tell me any suggestions to solve this problem?
Metadata
Metadata
Assignees
Labels
No labels