-
Notifications
You must be signed in to change notification settings - Fork 405
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
[Question]How to enable YurtCoordinater?如何启用YurtCoordinater #2034
Comments
help |
|
Thanks for reminding me, but my problem still hasn't been solved. I first modify every edge node with I saw resource named Could you tell me exactly what I should do? My cluster has 1 cloud node and 5 edge nodes, and I created a nodepool named edge-nodepool-01 and added them all to it This is the configuration yaml file for the node pool apiVersion: apps.openyurt.io/v1beta1
kind: NodePool
metadata:
name: edge-nodepool-01
spec:
type: Edge
hostNetwork: true
annotations:
apps.openyurt.io/example: edge-nodepool_01
labels:
apps.openyurt.io/example: edge-nodepool_01 This is the status of the node pool xsr_master@xsr-master:~$ kubectl get nodepool
NAME TYPE READYNODES NOTREADYNODES AGE
edge-nodepool-01 Edge 5 0 28d |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@Congrool @XSR-WatchPioneer It seems that yurt-coordinator solution is very complicated, and i have a new idea to reduce bandwidth between cloud and edge as following: by the way, I have shared this idea on 2024 Kubecon hongkong. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
What happened:
我想启用YurtCoordinater,官方文档说要给yurthub添加参数--enable-coordinator = true,但是配置YurtStaticSet文件或是修改yurthub.yaml都无效
I want to enable YurtCoordinater and the official documentation says to add a parameter to yurthub --enable-coordinator = true, but neither configuring the YurtStaticSet file nor modifying yurthub.yaml works.
我已经启用了nodepool,显示状态正常
I have enabled nodepool and the display is fine
配置YurtStaticSet文件
首先是通过配置YurtStaticSet文件,使用
kubectl edit yss yurt-hub -n kube-system
修改yurtstaticset,随后集群新增了一个pod,名为 yss-upgrade-worker-yurt-hub-xsr-node004-5d6b48774,状态为errorI modify the YurtStaticSet by configuring the yurtstaticset file and using the kubectl edit yss yurt- hub-n kube-system. Then a pod is added to the cluster. The name is yss-upgrade-worker-yurt-hub-xsr-node004-5d6b48774, and the status is error
该pod的日志显示
pod log shows:
Error: unknown command "static-pod-upgrade" for "node-servant"
Run 'node-servant --help' for usage.
修改yurthub.yaml
改为对每个边缘节点修改/etc/kubernetes/manifests/yurthub.yaml,添加参数--enable-coordinator = true,集群的pod并没有任何变化
我没有看到名字包含Coordinater的pod
I turn to modify/etc/kubernetes manifests/yurthub yaml of every edge node, add parameters - the enable - coordinator = true, The pod of the cluster has not changed at all
I don't see a pod whose name includes Coordinater
Environment:
kubectl version
):1.23.6cat /etc/os-release
):ubuntu server 20.04uname -a
):The text was updated successfully, but these errors were encountered: