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
Version 3.x removes the deprecated k3s distro from the configuration.
4
+
It is replaced with a vanilla k8s distribution.
5
+
The helmchart and vcluster version also get bumped to 0.29.1 to support the new configurations.
6
+
7
+
[WARNING]
8
+
====
9
+
Before upgrading to version 3.x, please ensure you have a backup of the vcluster (backingStore PVC).
10
+
11
+
Migrating from k3s to k8s is automatic and should not need any manual steps.
12
+
However if there are issues you can consult https://www.vcluster.com/docs/vcluster/deploy/upgrade/distro-migration#troubleshoot-migration-issues[the official migration docs].
13
+
====
14
+
15
+
== Migrate remove fields
16
+
17
+
All fields named `k3s` have been renamed to `k8s`.
18
+
But unfortunately the configuration is not a drop-in replacement.
19
+
20
+
The k3s image was an all-in-one kind of deal.
21
+
There was only a single `additional_args` parameter that got passed to k3s and those parameters specified if they are for the apiServer or any other component of k8s.
22
+
However with the vanilla k8s distribution it's now split across three differenct helm values.
Additional arguments for the k8s controllerManager.
78
+
79
+
== `k8s.additional_scheduler_args`
80
+
81
+
[horizontal]
82
+
type:: list
83
+
default:: `[]`
84
+
example::
85
+
+
86
+
[source,yaml]
87
+
----
88
+
k8s:
89
+
additional_scheduler_args:
90
+
- --arg1=foobar
91
+
----
92
+
93
+
Additional arguments for the k8s scheduler.
63
94
64
95
== `backing_store`
65
96
@@ -77,7 +108,7 @@ default::
77
108
[source,yaml]
78
109
----
79
110
resources:
80
-
k3s:
111
+
k8s:
81
112
requests:
82
113
cpu: 40m
83
114
memory: 64Mi
@@ -92,7 +123,7 @@ resources:
92
123
memory: 2Gi
93
124
----
94
125
95
-
The resource requests and limits for the k3s and syncer containers.
126
+
The resource requests and limits for the k8s and syncer containers.
96
127
97
128
98
129
== `ingress.host`
@@ -206,7 +237,7 @@ Manifests that should be applied to the vcluster after startup.
206
237
[horizontal]
207
238
type:: dict
208
239
209
-
You can override the default helm values here. The default configuration comes with k3s as well as ingress enabled. See defaults.yaml for the exact configuration.
240
+
You can override the default helm values here. The default configuration comes with k8s as well as ingress enabled. See defaults.yaml for the exact configuration.
210
241
211
242
212
243
== Example
@@ -215,12 +246,12 @@ You can override the default helm values here. The default configuration comes w
0 commit comments