website icon indicating copy to clipboard operation
website copied to clipboard

Issue with k8s.io/docs/tasks/administer-cluster/setup-ha-etcd-with-kubeadm/

Open youyongsong opened this issue 8 years ago • 3 comments

This is a...

  • [ ] Feature Request
  • [x] Bug Report

Problem: After I run command kubeadm alpha phase etcd local --config /etc/kubeadm/etcdcfg.yaml, the following error occurred:

unable to decode config from "/etc/kubeadm/etcdcfg.yaml" [no kind "MasterConfiguration" is registered for version "kubeadm.k8s.io/v1alpha2"]

Proposed Solution:

Page to Update: https://kubernetes.io/docs/tasks/administer-cluster/setup-ha-etcd-with-kubeadm/

kubeadm version: v1.10.5

youyongsong avatar Jun 25 '18 12:06 youyongsong

Same issue on 1.11

leezout avatar Jul 10 '18 21:07 leezout

@kubernetes/sig-cluster-lifecycle-bugs

neolit123 avatar Jul 18 '18 20:07 neolit123

MasterConfiguration is a valid type for "kubeadm.k8s.io/v1alpha2".

i just tried this with k8s/kubernetes version 1.11.0 and i cannot reproduce the issue. please, try to reset (e.g. sudo kubeadm reset) your cluster and then the tutorial again. also updating to 1.11.1 is a good idea.

if it's still not working for you, file an issue against the kubernetes/kubeadm repo as this is not a docs issue.

/close

neolit123 avatar Jul 18 '18 21:07 neolit123