Open ipochi opened 1 week ago
Found out what the issue is:
Lease controller system makes an implicit assumption that the agent server authentication is token based auth which results in k8s clientset being initialized properly. However if thats not the case then k8s clientset isn't initialized and crashes with the above error.
I am getting an error in one of the test setup for lease controller system
So far, I've checked the the RBAC, verified via
I've also checked if
automountServiceAccountToken: true
Not sure, what could be the problem, but still we wouldn't wanna panic and gracefully throw the error or try to fall back to server count with a warning or something else perhaps ?
/cc: @jkh52 @cheftako