liujian
liujian
第一步中的检查,是在master1上吗。和执行kubekey命令的都是同一个用户吗。
kubelet 报错,可能是你的docker服务也有问题。使用journalctl看看kubelet服务和docker服务的日志吧。
Your network speed might be slow. You can check the progress by running `watch ls -lh /usr/local/bin/kube*` on the target machine.
可能是config-sample.yaml里面配置的账号不是sudo权限的账号。可以用以下命令验证一下: ```shell ssh -t [email protected] "sudo -E /bin/bash -c \"echo 'Greetings, KubeKey!'\"" ```
> 可能是config-sample.yaml里面配置的账号不是sudo权限的账号。可以用以下命令验证一下: > > ssh -t [email protected] "sudo -E /bin/bash -c \"echo 'Greetings, KubeKey!'\"" @UINWZ 这个命令的执行结果是啥
> > 可能是config-sample.yaml里面配置的账号不是sudo权限的账号。可以用以下命令验证一下: > > ssh -t [email protected] "sudo -E /bin/bash -c "echo 'Greetings, KubeKey!'"" > > 感觉工具内建要求sudo权限的范围太大 内建所有的操作都依赖 native/root角色 这样kk操作的这台机器localhost必须配置密码或免密sudo 安装k8s时,需要修改内核参数,就需要sudo权限。 后续可以把sudo改成配置项,以满足一些普通任务的执行。
@CYS158 If you can, you’re very welcomed to submit a PR. - [ ] add rocky to supported_os_distributions https://github.com/kubesphere/kubekey/blob/94c5739a9902d40f387897a515e0b2524b96caa6/builtin/core/roles/defaults/defaults/main/01-cluster_require.yaml#L8-L14 - [ ] add rocky package to https://github.com/kubesphere/kubekey/tree/ISO/hack/gen-repository-iso
refer: https://github.com/kubesphere/kubekey/blob/master/docs/config-example.md 1. you should set the the repository at `registry. privateRegistry` at config-example.yaml to apply value in `kubeadmconfigs.spec.clusterConfiguration.imageRepository` at kubeadm-config.yaml 2. you can set `registry.auth` like ```yaml registry: auth:...
master节点io性能不够。master节点要安装etcd。对io性能有较高要求。
你说的对,判断条件确实写反了,可以临时修改tasks文件解决: ```shell vi $(pwd)/kubernetes/roles/precheck/etcd/tasks/main.yaml ``` 将 `that: (index (.fio_result.stdout.jobs | first) "sync" "lat_ns" "percentile" "90.000000") | le .cluster_require.etcd_disk_wal_fysnc_duration_seconds` 修改为 `that: (index (.fio_result.stdout.jobs | first) "sync" "lat_ns" "percentile" "90.000000") | ge...