kubernetes: Upgrading from 1.6.0-alpha.3 to 1.6.0-beta.3 fails
With 1.6.0-beta.3 I see a bunch of errors in the apiserver like:
unexpected ListAndWatch error: k8s.io/kubernetes/vendor/k8s.io/apiserver/pkg/storage/cacher.go:215: Failed to list *api.Endpoints: couldn't get version/kind; json parse error: json: cannot unmarshal string into Go value of type struct { APIVersion string "json:\"apiVersion,omitempty\""; Kind string "json:\"kind,omitempty\"" }
My kubelets are all 1.5.2, it’s possible that is causing the problem, but downgrading to 1.6.0-alpha.3 works correctly.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (16 by maintainers)
Commits related to this issue
- Merge pull request #43122 from liggitt/protobuf-default Automatic merge from submit-queue Prevent protobuf storage with etcd2 Prevents accidentally storing protobuf content in etcd2 when upgrading ... — committed to kubernetes/kubernetes by deleted user 7 years ago
- Merge pull request #43122 from liggitt/protobuf-default Automatic merge from submit-queue Prevent protobuf storage with etcd2 Prevents accidentally storing protobuf content in etcd2 when upgrading ... — committed to akhilerm/apimachinery by k8s-publishing-bot 7 years ago
@rwehner https://github.com/kubernetes/kubernetes/pull/43122 has merged which will prevent new protobuf data from being written into etcd2 (but allows existing data to be read).
@brendandburns do you have any more info about your env? want to make sure there’s not another issue present