安装环境后,glusterfs这块失败了
INFO[16:14:35 CST] Refreshing etcd configuration
INFO[16:14:36 CST] Get cluster status
[master1 192.168.0.55] MSG:
Cluster already exists.
[master1 192.168.0.55] MSG:
v1.18.6
[master1 192.168.0.55] MSG:
I0902 16:14:37.972377 11514 version.go:252] remote version is much newer: v1.19.0; falling back to: stable-1.18
W0902 16:14:38.570091 11514 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
[upload-certs] Storing the certificates in Secret "kubeadm-certs" in the "kube-system" Namespace
[upload-certs] Using certificate key:
9ae8cea2c2c21340426086c215ab4da35f9ab8c40dba8edc543ac9e1c75b91c4
[master1 192.168.0.55] MSG:
secret/kubeadm-certs patched
[master1 192.168.0.55] MSG:
secret/kubeadm-certs patched
[master1 192.168.0.55] MSG:
secret/kubeadm-certs patched
[master1 192.168.0.55] MSG:
W0902 16:14:40.543906 11768 configset.go:202] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io]
kubeadm join lb.kubesphere.local:6443 --token rcsqqh.t2ejxp9u7vsuuk2x --discovery-token-ca-cert-hash sha256:ebb5cbf4873f17ebe5aa5b238f1b1f2a52290e2ae754b198e037ab6e7bbbaa4e
[master1 192.168.0.55] MSG:
NAME STATUS ROLES AGE VERSION INTERNAL-IP EXTERNAL-IP OS-IMAGE KERNEL-VERSION CONTAINER-RUNTIME
master1 Ready master 13m v1.18.6 192.168.0.55 <none> CentOS Linux 7 (Core) 3.10.0-1062.el7.x86_64 docker://19.3.8
master2 Ready master 12m v1.18.6 192.168.0.58 <none> CentOS Linux 7 (Core) 3.10.0-1062.el7.x86_64 docker://19.3.8
master3 Ready master 12m v1.18.6 192.168.0.59 <none> CentOS Linux 7 (Core) 3.10.0-1062.el7.x86_64 docker://1.13.1
node1 Ready worker 12m v1.18.6 192.168.0.52 <none> CentOS Linux 7 (Core) 3.10.0-1062.el7.x86_64 docker://19.3.8
node2 Ready worker 12m v1.18.6 192.168.0.60 <none> CentOS Linux 7 (Core) 3.10.0-1062.el7.x86_64 docker://19.3.8
node3 Ready worker 12m v1.18.6 192.168.0.61 <none> CentOS Linux 7 (Core) 3.10.0-1062.el7.x86_64 docker://19.3.8
INFO[16:14:41 CST] Installing kube binaries
INFO[16:14:41 CST] Initializing kubernetes cluster
INFO[16:14:41 CST] Deploying network plugin ...
[master1 192.168.0.55] MSG:
configmap/calico-config unchanged
customresourcedefinition.apiextensions.k8s.io/bgpconfigurations.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/bgppeers.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/blockaffinities.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/clusterinformations.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/felixconfigurations.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/globalnetworkpolicies.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/globalnetworksets.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/hostendpoints.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/ipamblocks.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/ipamconfigs.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/ipamhandles.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/ippools.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/kubecontrollersconfigurations.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/networkpolicies.crd.projectcalico.org configured
customresourcedefinition.apiextensions.k8s.io/networksets.crd.projectcalico.org configured
clusterrole.rbac.authorization.k8s.io/calico-kube-controllers unchanged
clusterrolebinding.rbac.authorization.k8s.io/calico-kube-controllers unchanged
clusterrole.rbac.authorization.k8s.io/calico-node unchanged
clusterrolebinding.rbac.authorization.k8s.io/calico-node unchanged
daemonset.apps/calico-node configured
serviceaccount/calico-node unchanged
deployment.apps/calico-kube-controllers unchanged
serviceaccount/calico-kube-controllers unchanged
INFO[16:14:44 CST] Joining nodes to cluster
INFO[16:14:44 CST] Installing addon [1-1]: glusterfs
secret/heketi-secret serverside-applied
WARN[16:14:44 CST] Task failed ...
WARN[16:14:44 CST] error: failed to create typed patch object: errors:
.parameters.gidMax: expected string, got &value.valueUnstructured{Value:50000}
.parameters.gidMin: expected string, got &value.valueUnstructured{Value:40000}
.parameters.restauthenabled: expected string, got &value.valueUnstructured{Value:true}
Error: Failed to deploy addons: failed to create typed patch object: errors:
.parameters.gidMax: expected string, got &value.valueUnstructured{Value:50000}
.parameters.gidMin: expected string, got &value.valueUnstructured{Value:40000}
.parameters.restauthenabled: expected string, got &value.valueUnstructured{Value:true}
Usage:
kk create cluster [flags]
Flags:
-f, --filename string Path to a configuration file
-h, --help help for cluster
--skip-pull-images Skip pre pull images
--with-kubernetes string Specify a supported version of kubernetes
--with-kubesphere Deploy a specific version of kubesphere (default v3.0.0)
-y, --yes Skip pre-check of the installation
Global Flags:
--debug Print detailed information (default true)
Failed to deploy addons: failed to create typed patch object: errors:
.parameters.gidMax: expected string, got &value.valueUnstructured{Value:50000}
.parameters.gidMin: expected string, got &value.valueUnstructured{Value:40000}
.parameters.restauthenabled: expected string, got &value.valueUnstructured{Value:true}