You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: vcluster/configure/vcluster-yaml/control-plane/components/backing-store/etcd/deploy.mdx
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -81,13 +81,24 @@ controlPlane:
81
81
82
82
There is an option to migrate from a deployed etcd to the [embedded](/vcluster/next/configure/vcluster-yaml/control-plane/components/backing-store/etcd/embedded) etcd option. Replace your current backing store with this option and upgrade your virtual cluster.
83
83
84
-
```yaml
84
+
```yaml title="vcluster.yaml"
85
+
controlPlane:
86
+
backingStore:
87
+
etcd:
88
+
embedded:
89
+
enabled: true
90
+
migrateFromDeployedEtcd: true
91
+
```
92
+
93
+
Deploying with `migrateFromDeployedEtcd: true` keeps an external ETCD StatefulSet to perform a migration. After successful migration you should see `Successfully migrated etcd database to embedded etcd` log message in vCluster.
94
+
To get rid of external ETCD after migration, remove `migrateFromDeployedEtcd: true` from `vcluster.yaml`:
95
+
96
+
```yaml title="vcluster.yaml after ETCD migration"
Copy file name to clipboardExpand all lines: vcluster_versioned_docs/version-0.25.0/configure/vcluster-yaml/control-plane/components/backing-store/etcd/deploy.mdx
+14-3Lines changed: 14 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -81,13 +81,24 @@ controlPlane:
81
81
82
82
There is an option to migrate from a deployed etcd to the [embedded](/vcluster/next/configure/vcluster-yaml/control-plane/components/backing-store/etcd/embedded) etcd option. Replace your current backing store with this option and upgrade your virtual cluster.
83
83
84
-
```yaml
84
+
```yaml title="vcluster.yaml"
85
+
controlPlane:
86
+
backingStore:
87
+
etcd:
88
+
embedded:
89
+
enabled: true
90
+
migrateFromDeployedEtcd: true
91
+
```
92
+
93
+
Deploying with `migrateFromDeployedEtcd: true` keeps an external ETCD StatefulSet to perform a migration. After successful migration you should see `Successfully migrated etcd database to embedded etcd` log message in vCluster.
94
+
To get rid of external ETCD after migration, remove `migrateFromDeployedEtcd: true` from `vcluster.yaml`:
95
+
96
+
```yaml title="vcluster.yaml after ETCD migration"
0 commit comments