-
Notifications
You must be signed in to change notification settings - Fork 515
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
questions about installation on centos7 #2165
Comments
我centos7能安装成功。 apiVersion: kubekey.kubesphere.io/v1alpha2
kind: Cluster
metadata:
name: sample
spec:
hosts:
- {name: master, address: 192.168.248.128, internalAddress: 192.168.248.128, user: root, password: "123456"}
- {name: node1, address: 192.168.248.129, internalAddress: 192.168.248.129, user: root, password: "123456"}
roleGroups:
etcd:
- master
control-plane:
- master
worker:
- node1
controlPlaneEndpoint:
## Internal loadbalancer for apiservers
internalLoadbalancer: haproxy
domain: lb.kubesphere.local
address: ""
port: 6443
kubernetes:
version: v1.21.14
clusterName: cluster.local
autoRenewCerts: true
containerManager: docker
etcd:
type: kubekey
network:
plugin: calico
kubePodsCIDR: 10.233.64.0/18
kubeServiceCIDR: 10.233.0.0/18
## multus support. https://github.com/k8snetworkplumbingwg/multus-cni
multusCNI:
enabled: false
registry:
privateRegistry: ""
namespaceOverride: ""
registryMirrors: []
insecureRegistries: []
addons: [] |
3.1.0r1 offline install one node k8s 1.28.6 , 40s timeout two bug : 1: /var/lib/kubelet/kubeadm-flags.env change to 2: etcd service fail /etc/etcd.env ETCD_INITIAL_CLUSTER_STATE=existing systemctl restart etcd 也许存在关联性,修复后仍无法成功最终安装,但 online install 正常 |
If etcd fails to start, you can use |
Initial timeout means that the kube-apiserver did not start properly or cannot establish a connection to the kube-apiserver. You can use |
Your current KubeKey version
No response
Describe this feature
集群搭建报这个错误
Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
[kubelet-check] Initial timeout of 40s passed.
error execution phase wait-control-plane: couldn't initialize a Kubernetes cluster
To see the stack trace of this error execute with --v=5 or higher: Process exited with status 1
Describe the solution you'd like
Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s
[kubelet-check] Initial timeout of 40s passed.
error execution phase wait-control-plane: couldn't initialize a Kubernetes cluster
To see the stack trace of this error execute with --v=5 or higher: Process exited with status 1
Additional information
No response
The text was updated successfully, but these errors were encountered: