Jan 14 12:26:57 k8snode01 kubelet: E0114 12:26:57.295735 8604 docker_manager.go:2159] Failed to create pod infra container: ErrImagePull; Skipping pod “nginx-3449338310-nmvsz_default(f67e741e-36f2-11ea-98b8-000c299594c3)”: image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest, this may be because there are no credentials on this request. details: (open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or directory)
Jan 14 12:26:57 k8snode01 kubelet: E0114 12:26:57.295770 8604 pod_workers.go:184] Error syncing pod f67e741e-36f2-11ea-98b8-000c299594c3, skipping: failed to “StartContainer” for “POD” with ErrImagePull: “image pull failed for registry.access.redhat.com/rhel7/pod-infrastructure:latest, this may be because there are no credentials on this request. details: (open /etc/docker/certs.d/registry.access.redhat.com/redhat-ca.crt: no such file or directory)”
Jan 14 12:41:16 k8snode01 dockerd-current: time=”2020-01-14T12:41:16.156396599-05:00″ level=error msg=”Handler for GET /v1.26/images/registry.access.redhat.com/rhel7/pod-infrastructure:latest/json returned error: No such image: registry.access.redhat.com/rhel7/pod-infrastructure:latest”
Jan 14 12:41:16 k8snode01 kubelet: E0114 12:41:16.157271 17563 docker_manager.go:2159] Failed to create pod infra container: ImagePullBackOff; Skipping pod “nginx-3449338310-nmvsz_default(f67e741e-36f2-11ea-98b8-000c299594c3)”: Back-off pulling image “registry.access.redhat.com/rhel7/pod-infrastructure:latest”
Jan 14 12:41:16 k8snode01 kubelet: E0114 12:41:16.157298 17563 pod_workers.go:184] Error syncing pod f67e741e-36f2-11ea-98b8-000c299594c3, skipping: failed to “StartContainer” for “POD” with ImagePullBackOff: “Back-off pulling image \”registry.access.redhat.com/rhel7/pod-infrastructure:latest\””
插入树莓派usb 口,fdisk -l 可以看到多了一个 /dev/sda,里面三个分区,最后一个/dev/sda3应该就是原服务器的/分区.因此,创建挂载点 mkdir /mnt/usb,然后挂载 mount /dev/sda3 /mnt/usb。这个时候应该就挂载好了。
步骤2:修改文件,重载到树莓派上。
cd /mnt/usb/etc/sysconfig/network-scripts,然后我看了下,根本没有什么ifcfg-enth0类似这样的文件,我只看到了ifcfg-lo文件,这是回环地址。我决定新建entho0网卡,但是不确定文件需要什么样的权限,因此直接拷贝ifcfg-lo文件,然后修改内容。