试过很多种方法,还是报这个错,升级不了
[root@acc-rha-01 rha]# kubectl logs -f rancher-webhook-576c5b6859-cdp5h -n cattle-system
time=“2022-10-11T07:52:26Z” level=info msg=“Rancher-webhook version dev (HEAD) is starting”
time=“2022-10-11T07:52:42Z” level=info msg=“Active TLS secret cattle-webhook-tls (ver=244605661) (count 1): map[
listener.cattle.io/cn-rancher-webhook.cattle-system.svc:rancher-webhook.cattle-system.svc listener.cat
tle.io/fingerprint:SHA1=BA4DCF03B5AA72868735A3C166DFCCB9BDADF3A4]”
time=“2022-10-11T07:52:42Z” level=info msg=“Listening on :9443”
E1011 07:52:42.869655 1 memcache.go:196] couldn’t get resource list for
metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1011 07:52:42.886380 1 memcache.go:101] couldn’t get resource list for
metrics.k8s.io/v1beta1: the server is currently unable to handle the request
time=“2022-10-11T07:52:43Z” level=info msg=“Starting
rbac.authorization.k8s.io/v1, Kind=RoleBinding controller”
time=“2022-10-11T07:52:43Z” level=info msg=“Starting
rbac.authorization.k8s.io/v1, Kind=Role controller”
time=“2022-10-11T07:52:43Z” level=info msg=“Starting /v1, Kind=Secret controller”
time=“2022-10-11T07:52:43Z” level=info msg=“Sleeping for 15 seconds then applying webhook config”
time=“2022-10-11T07:52:43Z” level=info msg=“Starting
apiextensions.k8s.io/v1, Kind=CustomResourceDefinition controller”
time=“2022-10-11T07:52:43Z” level=info msg=“Starting
rbac.authorization.k8s.io/v1, Kind=ClusterRole controller”
time=“2022-10-11T07:52:43Z” level=info msg=“Starting
rbac.authorization.k8s.io/v1, Kind=ClusterRoleBinding controller”
time=“2022-10-11T07:52:43Z” level=info msg=“Starting
management.cattle.io/v3, Kind=GlobalRole controller”
time=“2022-10-11T07:52:43Z” level=info msg=“Starting
management.cattle.io/v3, Kind=RoleTemplate controller”
time=“2022-10-11T07:52:43Z” level=info msg=“Starting
apiregistration.k8s.io/v1, Kind=APIService controller”
time=“2022-10-11T07:52:43Z” level=info msg=“Updating TLS secret for cattle-webhook-tls (count: 1): map[
listener.cattle.io/cn-rancher-webhook.cattle-system.svc:rancher-webhook.cattle-system.svc listener.cattle.io/fi ngerprint:SHA1=BA4DCF03B5AA72868735A3C166DFCCB9BDADF3A4]”
E1011 07:52:44.419788 1 gvks.go:69] failed to sync schemas: unable to retrieve the complete list of server APIs:
metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1011 07:52:44.420568 1 gvks.go:69] failed to sync schemas: unable to retrieve the complete list of server APIs:
metrics.k8s.io/v1beta1: the server is currently unable to handle the request
E1011 07:52:44.468740 1 gvks.go:69] failed to sync schemas: unable to retrieve the complete list of server APIs:
metrics.k8s.io/v1beta1: the server is currently unable to handle the request