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: docs/content/guides/upgrading.md
+51-1Lines changed: 51 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,8 @@
3
3
List of Tenant API changes:
4
4
5
5
-[Capsule v0.1.0](https://github.com/clastix/capsule/releases/tag/v0.1.0) bump to `v1beta1` from `v1alpha1`.
6
-
-[Capsule v0.2.0](https://github.com/clastix/capsule/releases/tag/v0.1.0) bump to `v1beta2` from `v1beta1`, deprecating `v1alpha1`.
6
+
-[Capsule v0.2.0](https://github.com/clastix/capsule/releases/tag/v0.2.0) bump to `v1beta2` from `v1beta1`, deprecating `v1alpha1`.
7
+
-[Capsule v0.3.0](https://github.com/clastix/capsule/releases/tag/v0.3.0) missing enums required by [Capsule Proxy](https://github.com/clastix/capsule-proxy).
7
8
8
9
This document aims to provide support and a guide on how to perform a clean upgrade to the latest API version in order to avoid service disruption and data loss.
9
10
@@ -14,6 +15,55 @@ As an installation method, Helm is given for granted, YMMV using the `kustomize`
14
15
We strongly suggest performing a full backup of your Kubernetes cluster, such as storage and etcd.
15
16
Use your favourite tool according to your needs.
16
17
18
+
# Upgrading from v0.2.x to v0.3.x
19
+
20
+
A minor bump has been requested due to some missing enums in the Tenant resource.
21
+
22
+
## Scale down the Capsule controller
23
+
24
+
Using the `kubectl` or Helm, scale down the Capsule controller manager: this is required to avoid the old Capsule version from processing objects that aren't yet installed as a CRD.
Unfortunately, Helm doesn't manage the lifecycle of Custom Resource Definitions, additional details can be found [here](https://github.com/helm/community/blob/f9e06c16d89ccea1bea77c01a6a96ae3b309f823/architecture/crds.md).
33
+
34
+
This process must be executed manually as follows:
Ensure to update the Capsule repository to fetch the latest changes.
43
+
44
+
```
45
+
helm repo update
46
+
```
47
+
48
+
The latest Chart must be used, at the current time, >=0.4.0 is expected for Capsule >=v0.3.0, you can fetch the full list of available charts with the following command.
49
+
50
+
```
51
+
helm search repo -l clastix/capsule
52
+
```
53
+
54
+
Since the Tenant custom resource definition has been patched with new fields, we can install back Capsule using the provided Helm chart.
0 commit comments