kubernetes创建yaml,pod服务一直处于ContainerCreating状态的原因查找与解决
https://m.2cto.com/net/201709/683171.html
看到registry.access.redhat.com/rhel7/pod-infrastructure:latest感觉很奇怪,我设置的仓库是grc.io,为什么去拉取这个镜像,怀疑是不是什么没有安装好。尝试运行docker pull registry.access.redhat.com/rhel7/pod-infrastructure:latest,提示redhat-ca.crt: no such file or directory。ls查看改文件是个软连接,链接目标是/etc/rhsm,查看没有rhsm,尝试安装yum install rhsm,出现相关软件,感觉比较符合,所以安装查看产生了/etc/rhsm文件夹。
no API token found for service account default/default, retry after the token is automatically created and added to the service account
https://github.com/kubernetes/kubernetes/issues/33714
systemd/system/k..service引用了apiserver文件
注释 /etc/kubernetes/apiserver file 中的一行(主要是去掉其中SERVICEACCOUNT)
kubernetes创建yaml,pod服务一直处于ContainerCreating状态的原因查找与解决 https://m.2cto.com/net/201709/683171.html 看到registry.access.redhat.com/rhel7/pod-infrastructure:latest感觉很奇怪,我设置的仓库是grc.io,为什么去拉取这个镜像,怀疑是不是什么没有安装好。尝试运行docker pull registry.access.redhat.com/rhel7/pod-infrastructure:latest,提示redhat-ca.crt: no such file or directory。ls查看改文件是个软连接,链接目标是/etc/rhsm,查看没有rhsm,尝试安装yum install rhsm,出现相关软件,感觉比较符合,所以安装查看产生了/etc/rhsm文件夹。
no API token found for service account default/default, retry after the token is automatically created and added to the service account https://github.com/kubernetes/kubernetes/issues/33714 systemd/system/k..service引用了apiserver文件 注释 /etc/kubernetes/apiserver file 中的一行(主要是去掉其中SERVICEACCOUNT)
KUBE_ADMISSION_CONTROL="
然后