openyurtio / openyurt

OpenYurt - Extending your native Kubernetes to edge(project under CNCF)
https://openyurt.io
Apache License 2.0
1.71k stars 402 forks source link

Not able to communicate to edge nodes from cloud node #1943

Closed karthik507 closed 8 months ago

karthik507 commented 9 months ago

1.We have 3 cloud nodes and 4 edge nodes.

  1. we are using containerd on cloud node and docker on the edge node.
  2. installed yurt-Manager, yurthub artifacts and raven agent in cloud nodes.
  3. After yurtadm join command in the edge node following were not installed automatically kubectl, and kube-proxy , i am not able to communicate from any one cloud node to edge node.
  4. openyurt cloud nodes kubectl get pod -A | grep yurt
    kube-system          yurt-hub-edgebox1                                 1/1     Running   3                  3h19m
    kube-system          yurt-hub-edgebox2                                 1/1     Running   1                  3h27m
    kube-system          yurt-hub-edgebox3                                 1/1     Running   1                  3h25m
    kube-system          yurt-hub-edgebox4                                 1/1     Running   1                  3h22m
    kube-system          yurt-manager-66895657fc-hnfzb                     1/1     Running   17 (51s ago)       4h36m

6.Pods running in edgebox kubectl get pod -A -o wide | grep edgebox1

kube-system          kube-ovn-cni-76bcq                                1/1     Running   0                  3h22m             
kube-system          kube-ovn-pinger-chh8p                             1/1     Running   0                  3h22m   
kube-system          kube-proxy-qzpqg                                  1/1     Running   0                  3h22m   
kube-system          multus-9tpch                                      1/1     Running   0                  3h23m   
kube-system          ovs-cni-amd64-hvpvz                               1/1     Running   0                  3h23m   
kube-system          ovs-ovn-hfxrg                                     1/1     Running   0                  3h23m   
kube-system          raven-agent-ds-xfzgx                              1/1     Running   2 (3h22m ago)      3h23m   
kube-system          yurt-hub-edgebox1                                 1/1     Running   3                  3h22m   

Environment: 1.OpenYurt version: v1.4.0

  1. Ubuntu 22.04
YTGhost commented 8 months ago

@karthik507 Hi, I think I need some more detailed information to help me understand the issue you're encountering. For instance, when you say you're unable to communicate, does it mean you can't use kubectl get pod on the cloud node to get information from the edge node? Additionally, I need the logs for yurt-manager and raven-agent, as I noticed they have restarted a few times.

YTGhost commented 8 months ago

@karthik507 any update?

karthik507 commented 8 months ago

@karthik507 any update?

@YTGhost sorry for the delay we will update the logs in few minutes.

karthik507 commented 8 months ago

@YTGhost please refer the below file for the logs

ravenagent logs.txt yurthub logs.txt yurtmanager logs.txt

when we try to get pod logs of yurthub running in edgebox from cloud machine, we get the below error Error from server: Get "https://192.168.102.30:10250/containerLogs/kube-system/yurt-hub-edgebox1/yurt-hub": dial tcp 192.168.102.30:10250: i/o timeout

karthik507 commented 8 months ago

@YTGhost any updates ?

YTGhost commented 8 months ago

@YTGhost any updates ?

Sorry, busy with my work. @River-sh Can you help?