You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/03-getting-started/02-install-lower-layer-system/02-install-kubernetes.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -40,7 +40,7 @@ sudo apt-mark hold kubelet kubeadm kubectl
40
40
41
41
## Start Kubernetes cluster (cloud)
42
42
43
-
This step may occur [Question 1: kube-proxy report iptables problems](/docs/getting-started/install-lower-layer-system/faqs#question-1-kube-proxy-report-iptables-problems), [Question 2: calico and coredns are always in initializing state](/docs/getting-started/install-lower-layer-system/faqs#question-2-calico-and-coredns-are-always-in-initializing-state) and [Question 3:metrics-server keeps unsuccessful state](/docs/getting-started/install-lower-layer-system/faqs#question-3metrics-server-keeps-unsuccessful-state).
43
+
This step may occur [Question 1: kube-proxy report iptables problems](/docs/getting-started/install-lower-layer-system/faqs#question-1-kube-proxy-report-iptables-problems), [Question 2: calico and coredns are always in initializing state](/docs/getting-started/install-lower-layer-system/faqs#question-2-calico-and-coredns-are-always-in-initializing-state) and [Question 3:metrics-server keeps unsuccessful state](/docs/getting-started/install-lower-layer-system/faqs#question-3-metrics-server-keeps-unsuccessful-state).
44
44
45
45
### Reset environment (Skip on first installation)
This step may occur [Question 25:keadm join error on edge nodes](/docs/getting-started/install-lower-layer-system/faqs#question-25keadm-join-error-on-edge-nodes).
124
+
This step may occur [Question 25:keadm join error on edge nodes](/docs/getting-started/install-lower-layer-system/faqs#question-25-keadm-join-error-on-edge-nodes).
Copy file name to clipboardExpand all lines: docs/03-getting-started/02-install-lower-layer-system/04-install-edgemesh.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ custom_edit_url: null
8
8
9
9
## EdgeMesh environment preparation (cloud)
10
10
11
-
This Step may occur [Question 6:TLSStreamPrivateKeyFile not exist](/docs/getting-started/install-lower-layer-system/faqs#question-6tlsstreamprivatekeyfile-not-exist)
11
+
This Step may occur [Question 6:TLSStreamPrivateKeyFile not exist](/docs/getting-started/install-lower-layer-system/faqs#question-6-tlsstreamprivatekeyfile-not-exist)
###Question 2: calico and coredns are always in initializing state
21
+
## Question 2: calico and coredns are always in initializing state
24
22
25
23
The follwoing message will occur when using `kubectl describe <podname>` which is roughly related to network and sandbox issues.
26
-
```
24
+
```bash
27
25
Failed to create pod sandbox: rpc error: code = Unknown desc = [failed to set up sandbox container "7f5b66ebecdfc2c206027a2afcb9d1a58ec5db1a6a10a91d4d60c0079236e401" network for pod "calico-kube-controllers-577f77cb5c-99t8z": networkPlugin cni failed to set up pod "calico-kube-controllers-577f77cb5c-99t8z_kube-system" network: error getting ClusterInformation: Get "https://[10.96.0.1]:443/apis/crd.projectcalico.org/v1/clusterinformations/default": dial tcp 10.96.0. 1:443: i/o timeout, failed to clean up sandbox container "7f5b66ebecdfc2c206027a2afcb9d1a58ec5db1a6a10a91d4d60c0079236e401" network for pod "calico-kube-controllers-577f77cb5c-99t8z": networkPlugin cni failed to teardown pod "calico-kube-controllers-577f77cb5c-99t8z_kube-system" network: error getting ClusterInformation: Get "https://[10.96.0.1]:443/apis/crd.projectcalico.org/v1/clusterinformations/default": dial tcp 10.96.0. 1:443: i/o timeout]
28
26
```
29
27
30
-
Reason: Such a problem occurs when a k8s cluster is initialized more than once
28
+
**Reason:** Such a problem occurs when a k8s cluster is initialized more than once
31
29
and the network configuration of k8s was not deleted previously.
32
30
33
-
Solution:
31
+
**Solution:**
34
32
```bash
35
33
# delete k8s network configuration
36
34
rm -rf /etc/cni/net.d/
37
35
38
36
# reinitialize k8s with the instruction
39
37
```
40
38
41
-
###Question 3:metrics-server keeps unsuccessful state
39
+
## Question 3: metrics-server keeps unsuccessful state
First, based on the **location model**, ensure whether the edgemesh-agent container exists on the **visited node** and whether it is operating normally.
This situation is common since the master node usually has taints, which will evict other pods, thereby causing the deployment failure of edgemesh-agent.
97
+
This issue can be resolved by **removing the node taints**.
98
+
99
+
If both the visiting node and the visited node's edgemesh-agent have been started normally while this error is still reported,
100
+
it may be due to unsucessful discovering between the visiting node and the visited node. Please troubleshoot in this way:
0 commit comments