Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iamking1987 opened this issue Nov 25, 2024 · 2 comments
Open

Comments

@iamking1987
Copy link

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
Copy link
Author

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

@lework
Copy link
Owner

lework commented Nov 27, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants