kainstall icon indicating copy to clipboard operation
kainstall copied to clipboard

add /tmp/kainstall-offline-file//manifests/kube-flannel.yml failed.

Open iamking1987 opened this issue 1 year ago • 2 comments

Warning: Permanently added '192.168.49.11' (ECDSA) to the list of known hosts. Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ podsecuritypolicy.policy/psp.flannel.unprivileged created clusterrole.rbac.authorization.k8s.io/flannel created clusterrolebinding.rbac.authorization.k8s.io/flannel created Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Retry 1/6 exited 1, retrying in 1 seconds... Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ podsecuritypolicy.policy/psp.flannel.unprivileged configured clusterrole.rbac.authorization.k8s.io/flannel unchanged clusterrolebinding.rbac.authorization.k8s.io/flannel unchanged Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Retry 2/6 exited 1, retrying in 2 seconds... Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ podsecuritypolicy.policy/psp.flannel.unprivileged configured clusterrole.rbac.authorization.k8s.io/flannel unchanged clusterrolebinding.rbac.authorization.k8s.io/flannel unchanged Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Retry 3/6 exited 1, retrying in 4 seconds... Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ podsecuritypolicy.policy/psp.flannel.unprivileged configured clusterrole.rbac.authorization.k8s.io/flannel unchanged clusterrolebinding.rbac.authorization.k8s.io/flannel unchanged Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Retry 4/6 exited 1, retrying in 8 seconds... Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ podsecuritypolicy.policy/psp.flannel.unprivileged configured clusterrole.rbac.authorization.k8s.io/flannel unchanged clusterrolebinding.rbac.authorization.k8s.io/flannel unchanged Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Retry 5/6 exited 1, retrying in 16 seconds... Warning: policy/v1beta1 PodSecurityPolicy is deprecated in v1.21+, unavailable in v1.25+ podsecuritypolicy.policy/psp.flannel.unprivileged configured clusterrole.rbac.authorization.k8s.io/flannel unchanged clusterrolebinding.rbac.authorization.k8s.io/flannel unchanged Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Error from server (NotFound): error when creating "/tmp/kainstall-offline-file//manifests/kube-flannel.yml": namespaces "kube-flannel" not found Retry 6/6 exited 1, no more retries left. [2024-11-25T21:43:01.129652550+0800]: [31mERROR: [0m[apply] add /tmp/kainstall-offline-file//manifests/kube-flannel.yml failed.

iamking1987 avatar Nov 25 '24 14:11 iamking1987

请问这个有什么解决办法么?

iamking1987 avatar Nov 25 '24 14:11 iamking1987

看起来老版本的离线包不能用了,离线包对安装环境要求高些。

lework avatar Nov 27 '24 07:11 lework