最近接到一个业务报告的故障,提到argo创建的流水线运行失败,其中Pod去访问kube API Server时,偶发出现401认证不通过的问题。API Server报错如下:E1212 18:37:53.063390 1 claims.go:126] unexpected validation error: *errors.errorString
E1212 18:37:53.063583 1 authentication.go:63] "Unable to authenticate the request" err="[invalid bearer token, Token could not be validated.]"从报错上来看,的确没有通过API Server的认证。func(v*validator)Validate(ctxcontext.Context,_string,public*jwt.Claims,privateObjinterface{})(*apiserverserviceaccount.ServiceAccountInfo,error){private,ok:=privateObj.(*privateClaims)if!ok{klog.Errorf("jwt validator expected private claim of t
...
继续阅读
(60)