File tree Expand file tree Collapse file tree 1 file changed +32
-1
lines changed
vcluster/deploy/control-plane/binary Expand file tree Collapse file tree 1 file changed +32
-1
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,37 @@ import TenancySupport from '../../../_fragments/tenancy-support.mdx';
1919
2020<DeployChangesStandalone />
2121
22+ ## Upgrading vCluster Standalone version
23+
24+ To upgrade a vCluster Standalone to the new version, download the binary from the releases page, and then restart the vCluster systemD service.
25+
26+ <Flow >
27+ <Step >
28+ On the control-plane node, download the binary for the target version:
29+ ```shell title="Download vCluster standalone binary"
30+ export VCLUSTER_VERSION="vX.Y.Z" # modify to the target version
31+ export TARGETARCH="amd64" # amd64 / arm64
32+ curl -fsSLk -o /tmp/vcluster-new "https://github.com/loft-sh/vcluster/releases/download/${VCLUSTER_VERSION}/vcluster-linux-${TARGETARCH}-standalone "
33+ ```
34+ then, copy it to the ` /var/lib/vcluster/bin/vcluster ` :
35+
36+ ``` shell title="Upgrade binary"
37+ chmod +x /tmp/vcluster-new
38+ # copy old version as a backup
39+ cp /var/lib/vcluster/bin/vcluster /tmp/vcluster-old.bak
40+ cp /tmp/vcluster-new /var/lib/vcluster/bin/vcluster
41+ ```
42+ </Step >
43+ <Step >
44+ Restart vCluster systemD service to deploy your changes.
45+
46+ ``` bash title="Restart vCluster"
47+ systemctl restart vcluster.service
48+ ```
49+
50+ </Step >
51+ </Flow >
52+
2253## Removing nodes
2354
2455If you have not enabled joining the control plane nodes as worker nodes, then removing vCluster
@@ -230,4 +261,4 @@ Run 'kubectl get nodes' on the control-plane to see this node join the cluster.
230261 </Step >
231262 </Flow >
232263 </TabItem >
233- </Tabs >
264+ </Tabs >
You can’t perform that action at this time.
0 commit comments