最新回答 / 李小纯i
已解决,原因是因为我的阿里云服务器无法访问外网,无法拉取镜像mirrored-pause:3.6和nginx:1.19,那么可以将已经下载的docker镜像在node01节点打包成tar,然后解压。具体步骤如下:导出镜像docker save -o /你的路径/rancher-mirrored-pause-3.6.tar rancher/mirrored-pause:3.6导入镜像sudo k3s ctr images import /你的路径/rancher-mirrored-pause-3.6.tar...
2024-06-06
[root@k8s-master deploy]# kubectl apply -f pod.yaml
error: error parsing pod.yaml: error converting YAML to JSON: yaml: line 9: did not find expected key
error: error parsing pod.yaml: error converting YAML to JSON: yaml: line 9: did not find expected key
2024-03-12
讲师回答 / 暮闲
K3S节点纳管curl -sfL https://get.k3s.io | K3S_URL=https://myserver:6443 K3S_TOKEN=mynodetoken sh -参考文档:https://docs.k3s.io/zh/quick-start
2024-03-11