1. 解决k8s创建pod报错No API token found for service account “default”, retry after the token is automatically
  2. open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or
yum reinstall --downloadonly subscription-manager-rhsm-certificates
rpm2cpio /var/cache/yum/x86_64/7/updates/packages/subscription-manager-rhsm-certificates-1.21.10-3.el7.centos.x86_64.rpm | cpio -iv --to-stdout ./etc/rhsm/ca/redhat-uep.pem | tee /etc/rhsm/ca/redhat-uep.pem

可以删除之前的pods让通过rc里面定义的自己再创建

  1. k8s命令没有自动补全

yum -y install bash-completion

Logo

K8S/Kubernetes社区为您提供最前沿的新闻资讯和知识内容

更多推荐