-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Closed
linkerd/website
#561Labels
Description
When upgrade is performed with the --from-manifest option, the command failed with the following error:
× Failed to parse Kubernetes objects from manifest install-2.5.0.yaml: no kind "APIService" is registered for version "apiregistration.k8s.io/v1" in scheme "pkg/runtime/scheme.go:101"
For troubleshooting help, visit: https://linkerd.io/upgrade/#troubleshooting
It looks like the apiextensions client lib needs to be updated from v1beta1 to v1. When I attempted to fix this, go mod upgraded other k8s serializer-related packages, which are depended upon by controller/gen/client/clientset/versioned/typed/serviceprofile package.
It looks like the decoder doesn't have the scheme to decode apiregistration.k8s.io/v1/APIService.
The workaround is to use the linkerd upgrade command. The only difference is that --from-manifest reads the Linkerd config from a static file, instead of the k8s API.
Reactions are currently unavailable