Getting Started
Verified against
v1.7.0. Commands assume an existing cloud Kubernetes cluster,kubectl, andhelm.
Prerequisites
- A running Kubernetes control plane in the cloud. OpenYurt is certified up to Kubernetes 1.34 (
README.md:53). kubectlconfigured against that cluster.helmfor installing the control-plane components.- One or more edge machines that can reach the apiserver, to join as edge nodes.
Install
OpenYurt installs in two parts: the control-plane components in the cloud, then the edge nodes. The control plane is installed with the bundled Helm charts (charts/yurt-manager, charts/yurthub).
helm repo add openyurt https://openyurtio.github.io/charts
helm repo update
helm upgrade --install yurt-manager openyurt/yurt-manager --namespace kube-systemA first working setup
Install the Yurt-Manager controllers and webhooks into the cloud cluster (the
helm upgrade --installcommand above).Join an edge node with
yurtadm. Run this on the edge machine, pointing at the cloud apiserver:bashyurtadm join <apiserver-host>:<port> \ --token=<bootstrap-token> \ --node-type=edgeTo detach a node later, run
yurtadm reseton that node. The join and reset commands live underpkg/yurtadm/cmd/.
Verify it works
Confirm the edge node registered with the cloud control plane:
kubectl get nodes -o wideThe joined node should appear with edge labels. Check that YurtHub is running on the node as a static pod and that Yurt-Manager pods are healthy in kube-system:
kubectl -n kube-system get pods | grep -E 'yurt-manager|yurt-hub'Where to go next
The official two-part installation guide covers control-plane components and node joining in detail: OpenYurt installation summary. For how YurtHub serves cache during disconnection, see the YurtHub core concept. Production concerns such as HA control planes, certificate management, and cross-region networking with Raven are documented upstream.