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

[doc] About install.md #7

Closed
khalid-huang opened this issue Aug 5, 2021 · 18 comments
Closed

[doc] About install.md #7

khalid-huang opened this issue Aug 5, 2021 · 18 comments
Labels
bug Something isn't working documentation Improvements or additions to documentation no-issue-activity question Further information is requested

Comments

@khalid-huang
Copy link

In the install.md , root@node1:~# git clone https://github.com/fabedge/fabeedge.git the link of the fabedge is wrong

@khalid-huang khalid-huang changed the title [doc] some mistack in doc [doc] About install.md Aug 5, 2021
@khalid-huang
Copy link
Author

Do we need to install the calico before kubeedge? Does the calico agent need to be install on the edge node?

@khalid-huang
Copy link
Author

How can we know the edgePodCIDR, subnets, ip in the deploy/connector/cm.yaml?

@haotaogeng
Copy link
Contributor

In the install.md , root@node1:~# git clone https://github.com/fabedge/fabeedge.git the link of the fabedge is wrong

sorry, I will update it soon.

@haotaogeng
Copy link
Contributor

Do we need to install the calico before kubeedge? Does the calico agent need to be install on the edge node?

calico is needed in the k8s cluster in cloud, it is not needed on the edge node.

@haotaogeng
Copy link
Contributor

How can we know the edgePodCIDR, subnets, ip in the deploy/connector/cm.yaml?

It is the subnet, from which the ip address for the pod running at the edge nodes are allocated. U can choose one per your env as long as it is not conflicted with the subnet of pod & service in the k8s cluster in the cloud.

@haotaogeng haotaogeng added bug Something isn't working documentation Improvements or additions to documentation question Further information is requested labels Aug 5, 2021
@khalid-huang
Copy link
Author

khalid-huang commented Aug 5, 2021

Thanks very much.
Do you mean that all the edge nodes will get their own podCIDR from the edgePodCIDR?
And what about ip and subnets in the tunnel.yaml. I do not understand what "ip of connector to terminate tunnels " means? And Do the subnets equalto the kube-apiserver's service-cluster-ip-range?

@khalid-huang
Copy link
Author

By the way, does fabedge have any requirements for the node's network? For example, all edge nodes must be able to access each other or in the same lan?

@haotaogeng
Copy link
Contributor

Thanks very much.
Do you mean that all the edge nodes will get their own podCIDR from the edgePodCIDR?

yes

And what about ip and subnets in the tunnel.yaml. I do not understand what "ip of connector to terminate tunnels " means?

it is the ip address, which terminates the tunnel from remote edge nodes to the cloud. And the connector pod runs on a cloud node using host network, so u can use the ip address of this node for it. This is the simplest case. For HA deploy, with more connector instances, we need to use keepalived/vip for it .

And Do the subnets equalto the kube-apiserver's service-cluster-ip-range?

it should contain both service-cluster-ip-range and the ip range for the pods in cloud, which is managed by calico. btw, u can get it using "calicoctl.sh get pool" command.

@haotaogeng
Copy link
Contributor

By the way, does fabedge have any requirements for the node's network? For example, all edge nodes must be able to access each other or in the same lan?

all edge nodes must be able to access the connector at cloud side. If we need one edge node to access the other directly using "community", it also needed for the direct connection between the two edge nodes.

@khalid-huang
Copy link
Author

The Calico is need to be installed in the k8s. And the calico is only needed to be install on the cloud. According to the https://docs.projectcalico.org/getting-started/kubernetes/quickstart, I successfully installed calico. But the calico-agent is installed on the edge node too. I do not find how to avoid this. The deployment and the daemonset is created by the calico-opeartor.
image
I want to avoid this, because it seems that the pod of the edge in fabedge namespace remains in a pending state. I do not know why, so I try to solve the calico problem.
image

@haotaogeng
Copy link
Contributor

Yes, we need to disable calico-node on edge nodes. Can you update the daemonset?

@khalid-huang
Copy link
Author

After I update the daemonset, the daemonset will be rewrited back. I don't know why. How do you disable calico-node on edge nodes?

@haotaogeng
Copy link
Contributor

we use kubespray. To update the ansible templates before deployment.

@khalid-huang
Copy link
Author

khalid-huang commented Aug 12, 2021

Could you tell me how to update the ansible templates? I am not familiar with kubespray, and I did not find how to modify it on the offical website. @haotaogeng

@khalid-huang
Copy link
Author

@haotaogeng

@haotaogeng
Copy link
Contributor

we'll post some scripts to do this in next week.

@haotaogeng
Copy link
Contributor

a quick-start-guide for the installation of k8s+kubeedge is added. Hope it can help you.

@github-actions
Copy link

Stale issue message

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation no-issue-activity question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants