Skip to content

Commit 8d29944

Browse files
committed
Add chapter about upgrade from 0.10.0 to 0.11.0 (#1353)
* Add chapter about upgrade from 0.10.0 to 0.11.0 * Add section enablers aroudn the Strimzi upgrade procedures
1 parent 8aa5418 commit 8d29944

5 files changed

+67
-2
lines changed

documentation/book/assembly-upgrade.adoc

+4-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,10 @@ When a newer version of {ProductName} is available, it may provide support for n
1313
Therefore, you will need to upgrade to the new version of {ProductName} before you can upgrade to a higher supported Kafka version.
1414
Upgrading the version of {ProductName} is done by upgrading the Cluster Operator deployment to the new version.
1515

16-
include::proc-upgrading-the-cluster-operator.adoc[leveloffset=+1]
16+
ifdef::StrimziUpgrades[]
17+
include::proc-upgrading-the-cluster-operator-0-10-0-to-0-11-0.adoc[leveloffset=+1]
18+
include::proc-upgrading-the-cluster-operator-0-9-0-to-0-10-0.adoc[leveloffset=+1]
19+
endif::StrimziUpgrades[]
1720

1821
include::assembly-upgrading-kafka-versions.adoc[leveloffset=+1]
1922

documentation/book/proc-upgrading-brokers-newer-kafka.adoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
//
33
// assembly-upgrading-kafka-versions.adoc
44

5-
[id='proc-upgrading-brokers-newer-kafka-{context}']
5+
[id='proc-upgrading-brokers-newer-kafka-0-9-0-to-0-10-0-{context}']
66

77
= Upgrading brokers to a newer Kafka version
88

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
// This module is included in the following assemblies:
2+
//
3+
// assembly-upgrade.adoc
4+
5+
[id='proc-upgrading-the-cluster-operator-0-10-0-to-0-11-0-{context}']
6+
= Upgrading the Cluster Operator from 0.10.0 to 0.11.0
7+
8+
This procedure will describe how to upgrade a Cluster Operator deployment from version 0.10.0 to version 0.11.0.
9+
The availability of Kafka clusters managed by the Cluster Operator is not affected by the upgrade operation.
10+
11+
.Prerequisites
12+
13+
* An existing version 0.10.0 Cluster Operator deployment to be upgraded.
14+
15+
.Procedure
16+
17+
. Backup the existing Cluster Operator resources.
18+
+
19+
ifdef::Kubernetes[]
20+
On {KubernetesName} use `kubectl get`:
21+
+
22+
----
23+
kubectl get all -l app=strimzi > strimzi-backup.yaml
24+
----
25+
+
26+
endif::Kubernetes[]
27+
On {OpenShiftName} use `oc get`:
28+
+
29+
----
30+
oc get -l all app=strimzi > strimzi-backup.yaml
31+
----
32+
33+
. Update the Cluster Operator.
34+
You will need to modify the installation files according to the namespace the Cluster Operator is running in.
35+
+
36+
include::frag-cluster-operator-namespace-sed.adoc[]
37+
+
38+
If you modified one or more environment variables in your existing Cluster Operator `Deployment`, edit
39+
`install/cluster-operator/050-Deployment-cluster-operator.yaml` to reflect the changes that you made.
40+
41+
. When you have an updated configuration you can deploy it along with the rest of the install resources.
42+
+
43+
ifdef::Kubernetes[]
44+
On {KubernetesName} use `kubectl apply`:
45+
+
46+
----
47+
kubectl apply -f install/cluster-operator
48+
----
49+
+
50+
endif::Kubernetes[]
51+
On {OpenShiftName} use `oc apply`:
52+
+
53+
----
54+
oc apply -f install/cluster-operator
55+
----
56+
+
57+
Wait for the associated rolling updates to complete.
58+
59+
. Update existing resources to cope with deprecated custom resource properties.
60+
+
61+
* If you have `Kafka` resources that specify `Kafka.spec.topicOperator`, rewrite them to use `Kafka.spec.entityOperator.topicOperator` instead.

documentation/common/attributes.adoc

+1
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@
8686
// Section enablers
8787
:Kubernetes:
8888
:Helm:
89+
:StrimziUpgrades:
8990
:InstallationAppendix:
9091
:MetricsAppendix:
9192
:Downloading:

0 commit comments

Comments
 (0)