-
Notifications
You must be signed in to change notification settings - Fork 360
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
coredns error: read udp 100.64.0.2:38849->8.8.8.8:53: i/o timeout #1673
Comments
I am using a newly created virtual machine without any environment installed beforehand |
This problem occurs when I use sealer to install a k8s cluster, but this problem does not occur when I use the native kubeadm to install k8s cluster. |
I tried a lot of different k8s base images and found that some have this problem(such as kubernetes:v1.19.9-alpine) and some don't(such as kubernetes:v1.19.8-alpine, kubernetes:v1.22.8-alpine). |
The reason for this may be that the mirror has not been updated. We now provide a script to customize the corresponding mirror according to your own needs. |
It's so confusing, I installed the k8s cluster again using kubernetes:v1.22.8-alpine and flannel, and the above problem reappeared. |
This script is very slow to install. I've been stuck in the following place for more than an hour, and I don't know if it can be installed successfully. [root@iZf8z8lt4aao5n3cymq3rzZ ~]# git clone https://github.com/sealerio/basefs.git
[root@iZf8z8lt4aao5n3cymq3rzZ ~]# cd basefs/
[root@iZf8z8lt4aao5n3cymq3rzZ basefs]# ls
auto-build.sh context DESIGN.MD README.md
[root@iZf8z8lt4aao5n3cymq3rzZ basefs]# chmod +x auto-build.sh
[root@iZf8z8lt4aao5n3cymq3rzZ basefs]# ./auto-build.sh --k8s-version=v1.22.8 --cri=docker --platform=amd64
v1.22.8
cri: docker, kubernetes version: v1.22.8, build image name: registry.cn-qingdao.aliyuncs.com/sealer-io/kubernetes:v1.22.8
+++ echo v1.22.8
+++ grep v
++ kube_install_version=v1.22.8
++ export kube_install_version=v1.22.8
++ kube_install_version=v1.22.8
++ export libseccomp_version=2.5.1
++ libseccomp_version=2.5.1
++ export gperf_version=3.1
++ gperf_version=3.1
++ export conntrack_version=1.4.4
++ conntrack_version=1.4.4
++ export nerdctl_version=0.19.0
++ nerdctl_version=0.19.0
++ export crictl_version=1.24.1
++ crictl_version=1.24.1
++ export containerd_version=1.6.4
++ containerd_version=1.6.4
++ export seautil_version=0.8.5
++ seautil_version=0.8.5
+ ./download.sh docker
download docker version 19.03.14
download registry tarball https://sealer.oss-cn-beijing.aliyuncs.com/auto-build/docker-amd64-registry-image.tar.gz
--2022-09-01 17:58:57-- https://sealer.oss-cn-beijing.aliyuncs.com/auto-build/linux-amd64/conntrack-1.4.4/bin/conntrack
Resolving sealer.oss-cn-beijing.aliyuncs.com (sealer.oss-cn-beijing.aliyuncs.com)... 59.110.185.226
Connecting to sealer.oss-cn-beijing.aliyuncs.com (sealer.oss-cn-beijing.aliyuncs.com)|59.110.185.226|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 71904 (70K) [application/octet-stream]
Saving to: ‘conntrack’
conntrack 100%[==============================================================================>] 70.22K --.-KB/s in 0.08s
2022-09-01 17:58:57 (839 KB/s) - ‘conntrack’ saved [71904/71904]
--2022-09-01 17:58:57-- https://sealer.oss-cn-beijing.aliyuncs.com/auto-build/linux-arm64/conntrack-1.4.4/bin/conntrack
Resolving sealer.oss-cn-beijing.aliyuncs.com (sealer.oss-cn-beijing.aliyuncs.com)... 59.110.185.226
Connecting to sealer.oss-cn-beijing.aliyuncs.com (sealer.oss-cn-beijing.aliyuncs.com)|59.110.185.226|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 79592 (78K) [application/octet-stream]
Saving to: ‘conntrack’
conntrack 100%[==============================================================================>] 77.73K --.-KB/s in 0.08s
2022-09-01 17:58:58 (917 KB/s) - ‘conntrack’ saved [79592/79592]
download gperf version 3.1
download libseccomp version 2.5.1
download nerdctl version 0.19.0
nerdctl
containerd-rootless-setuptool.sh
containerd-rootless.sh
//stuck here
|
All the above installations are in a clean environment. |
What happen?
I follow https://github.com/sealerio/applications/tree/main/flannel to install k8s with flannel. Although the pods are in the running state, the logs of coredns have errors:
Relevant log output?
What you expected to happen?
kubectl logs coredns
works well, no errors.How to reproduce it (as minimally and precisely as possible)?
context is the same as https://github.com/sealerio/applications/tree/main/flannel.
Anything else we need to know?
The logs of other pods are normal, no errors.
Change to other k8s versions in kubefile can not solve this problem.
What is the version of Sealer you using?
{"gitVersion":"v0.8.6","gitCommit":"884513e","buildDate":"2022-07-12 02:58:54","goVersion":"go1.16.15","compiler":"gc","platform":"linux/amd64"}
What is your OS environment?
centos 7
What is the Kernel version?
Linux host8c 3.10.0-693.el7.x86_64 #1 SMP Tue Aug 22 21:09:27 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
The text was updated successfully, but these errors were encountered: