Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rook
Commits
aa2376ac
Unverified
Commit
aa2376ac
authored
4 years ago
by
Travis Nielsen
Committed by
GitHub
4 years ago
Browse files
Options
Download
Plain Diff
Merge pull request #5600 from travisn/release-1.3.5
Set the release version to v1.3.5
parents
3d868156
06b449a6
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
Documentation/ceph-toolbox.md
+1
-1
Documentation/ceph-toolbox.md
Documentation/ceph-upgrade.md
+13
-13
Documentation/ceph-upgrade.md
cluster/examples/coreos/after-reboot-daemonset.yaml
+1
-1
cluster/examples/coreos/after-reboot-daemonset.yaml
cluster/examples/coreos/before-reboot-daemonset.yaml
+1
-1
cluster/examples/coreos/before-reboot-daemonset.yaml
cluster/examples/kubernetes/cassandra/operator.yaml
+1
-1
cluster/examples/kubernetes/cassandra/operator.yaml
cluster/examples/kubernetes/ceph/direct-mount.yaml
+1
-1
cluster/examples/kubernetes/ceph/direct-mount.yaml
cluster/examples/kubernetes/ceph/operator-openshift.yaml
+1
-1
cluster/examples/kubernetes/ceph/operator-openshift.yaml
cluster/examples/kubernetes/ceph/operator.yaml
+1
-1
cluster/examples/kubernetes/ceph/operator.yaml
cluster/examples/kubernetes/ceph/toolbox.yaml
+1
-1
cluster/examples/kubernetes/ceph/toolbox.yaml
cluster/examples/kubernetes/cockroachdb/operator.yaml
+1
-1
cluster/examples/kubernetes/cockroachdb/operator.yaml
cluster/examples/kubernetes/edgefs/operator.yaml
+1
-1
cluster/examples/kubernetes/edgefs/operator.yaml
cluster/examples/kubernetes/nfs/operator.yaml
+2
-2
cluster/examples/kubernetes/nfs/operator.yaml
cluster/examples/kubernetes/yugabytedb/operator.yaml
+1
-1
cluster/examples/kubernetes/yugabytedb/operator.yaml
with
26 additions
and
26 deletions
+26
-26
Documentation/ceph-toolbox.md
+
1
-
1
View file @
aa2376ac
...
...
@@ -37,7 +37,7 @@ spec:
dnsPolicy
:
ClusterFirstWithHostNet
containers
:
-
name
:
rook-ceph-tools
image
:
rook/ceph:v1.3.
4
image
:
rook/ceph:v1.3.
5
command
:
[
"
/tini"
]
args
:
[
"
-g"
,
"
--"
,
"
/usr/local/bin/toolbox.sh"
]
imagePullPolicy
:
IfNotPresent
...
...
This diff is collapsed.
Click to expand it.
Documentation/ceph-upgrade.md
+
13
-
13
View file @
aa2376ac
...
...
@@ -84,11 +84,11 @@ OSD on the same device. For steps on zapping the device see the [Rook cleanup in
## Patch Release Upgrades
Unless otherwise noted due to extenuating requirements, upgrades from one patch release of Rook to
another are as simple as updating the image of the Rook operator. For example, when Rook v1.3.
4
is
another are as simple as updating the image of the Rook operator. For example, when Rook v1.3.
5
is
released, the process of updating from v1.3.0 is as simple as running the following:
```
console
kubectl -n rook-ceph set image deploy/rook-ceph-operator rook-ceph-operator=rook/ceph:v1.3.
4
kubectl -n rook-ceph set image deploy/rook-ceph-operator rook-ceph-operator=rook/ceph:v1.3.
5
```
## Helm Upgrades
...
...
@@ -273,7 +273,7 @@ Any pod that is using a Rook volume should also remain healthy:
## Rook Operator Upgrade Process
In the examples given in this guide, we will be upgrading a live Rook cluster running
`v1.2.7`
to
the version
`v1.3.
4
`
. This upgrade should work from any official patch release of Rook v1.2 to any
the version
`v1.3.
5
`
. This upgrade should work from any official patch release of Rook v1.2 to any
official patch release of v1.3. We will further assume that your previous cluster was created using
an earlier version of this guide and manifests. If you have created custom manifests, these steps
may not work as written.
...
...
@@ -325,7 +325,7 @@ The largest portion of the upgrade is triggered when the operator's image is upd
When the operator is updated, it will proceed to update all of the Ceph daemons.
```
sh
kubectl
-n
$ROOK_SYSTEM_NAMESPACE
set
image deploy/rook-ceph-operator rook-ceph-operator
=
rook/ceph:v1.3.
4
kubectl
-n
$ROOK_SYSTEM_NAMESPACE
set
image deploy/rook-ceph-operator rook-ceph-operator
=
rook/ceph:v1.3.
5
```
## 5. Wait for the upgrade to complete
...
...
@@ -343,17 +343,17 @@ watch --exec kubectl -n $ROOK_NAMESPACE get deployments -l rook_cluster=$ROOK_NA
```
As an example, this cluster is midway through updating the OSDs from v1.2 to v1.3. When all
deployments report
`1/1/1`
availability and
`rook-version=v1.3.
4
`
, the Ceph cluster's core
deployments report
`1/1/1`
availability and
`rook-version=v1.3.
5
`
, the Ceph cluster's core
components are fully updated.
```
console
Every 2.0s: kubectl -n rook-ceph get deployment -o j...
rook-ceph-mgr-a req/upd/avl: 1/1/1 rook-version=v1.3.
4
rook-ceph-mon-a req/upd/avl: 1/1/1 rook-version=v1.3.
4
rook-ceph-mon-b req/upd/avl: 1/1/1 rook-version=v1.3.
4
rook-ceph-mon-c req/upd/avl: 1/1/1 rook-version=v1.3.
4
rook-ceph-osd-0 req/upd/avl: 1// rook-version=v1.3.
4
rook-ceph-mgr-a req/upd/avl: 1/1/1 rook-version=v1.3.
5
rook-ceph-mon-a req/upd/avl: 1/1/1 rook-version=v1.3.
5
rook-ceph-mon-b req/upd/avl: 1/1/1 rook-version=v1.3.
5
rook-ceph-mon-c req/upd/avl: 1/1/1 rook-version=v1.3.
5
rook-ceph-osd-0 req/upd/avl: 1// rook-version=v1.3.
5
rook-ceph-osd-1 req/upd/avl: 1/1/1 rook-version=v1.2.7
rook-ceph-osd-2 req/upd/avl: 1/1/1 rook-version=v1.2.7
```
...
...
@@ -366,14 +366,14 @@ to proceed with the next step before the MDSes and RGWs are finished updating.
#
kubectl
-n
$ROOK_NAMESPACE
get deployment
-l
rook_cluster
=
$ROOK_NAMESPACE
-o
jsonpath
=
'{range .items[*]}{"rook-version="}{.metadata.labels.rook-version}{"\n"}{end}'
|
sort
|
uniq
This cluster is not yet finished:
rook-version=v1.2.7
rook-version=v1.3.
4
rook-version=v1.3.
5
This cluster is finished:
rook-version=v1.3.
4
rook-version=v1.3.
5
```
## 6. Verify the updated cluster
At this point, your Rook operator should be running version
`rook/ceph:v1.3.
4
`
.
At this point, your Rook operator should be running version
`rook/ceph:v1.3.
5
`
.
Verify the Ceph cluster's health using the
[
health verification section
](
#health-verification
)
.
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/coreos/after-reboot-daemonset.yaml
+
1
-
1
View file @
aa2376ac
...
...
@@ -21,7 +21,7 @@ spec:
effect
:
NoSchedule
containers
:
-
name
:
ceph-after-reboot-check
image
:
rook/ceph:v1.3.
4
image
:
rook/ceph:v1.3.
5
imagePullPolicy
:
IfNotPresent
command
:
[
"
/scripts/status-check.sh"
]
env
:
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/coreos/before-reboot-daemonset.yaml
+
1
-
1
View file @
aa2376ac
...
...
@@ -21,7 +21,7 @@ spec:
effect
:
NoSchedule
containers
:
-
name
:
ceph-before-reboot-check
image
:
rook/ceph:v1.3.
4
image
:
rook/ceph:v1.3.
5
imagePullPolicy
:
IfNotPresent
command
:
[
"
/scripts/status-check.sh"
]
env
:
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/kubernetes/cassandra/operator.yaml
+
1
-
1
View file @
aa2376ac
...
...
@@ -188,7 +188,7 @@ subjects:
serviceAccountName
:
rook-cassandra-operator
containers
:
-
name
:
rook-cassandra-operator
image
:
rook/cassandra:v1.3.
4
image
:
rook/cassandra:v1.3.
5
imagePullPolicy
:
"
Always"
args
:
[
"
cassandra"
,
"
operator"
]
env
:
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/kubernetes/ceph/direct-mount.yaml
+
1
-
1
View file @
aa2376ac
...
...
@@ -18,7 +18,7 @@ spec:
dnsPolicy
:
ClusterFirstWithHostNet
containers
:
-
name
:
rook-direct-mount
image
:
rook/ceph:v1.3.
4
image
:
rook/ceph:v1.3.
5
command
:
[
"
/tini"
]
args
:
[
"
-g"
,
"
--"
,
"
/usr/local/bin/toolbox.sh"
]
imagePullPolicy
:
IfNotPresent
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/kubernetes/ceph/operator-openshift.yaml
+
1
-
1
View file @
aa2376ac
...
...
@@ -350,7 +350,7 @@ spec:
serviceAccountName
:
rook-ceph-system
containers
:
-
name
:
rook-ceph-operator
image
:
rook/ceph:v1.3.
4
image
:
rook/ceph:v1.3.
5
args
:
[
"
ceph"
,
"
operator"
]
volumeMounts
:
-
mountPath
:
/var/lib/rook
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/kubernetes/ceph/operator.yaml
+
1
-
1
View file @
aa2376ac
...
...
@@ -273,7 +273,7 @@ spec:
serviceAccountName
:
rook-ceph-system
containers
:
-
name
:
rook-ceph-operator
image
:
rook/ceph:v1.3.
4
image
:
rook/ceph:v1.3.
5
args
:
[
"
ceph"
,
"
operator"
]
volumeMounts
:
-
mountPath
:
/var/lib/rook
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/kubernetes/ceph/toolbox.yaml
+
1
-
1
View file @
aa2376ac
...
...
@@ -18,7 +18,7 @@ spec:
dnsPolicy
:
ClusterFirstWithHostNet
containers
:
-
name
:
rook-ceph-tools
image
:
rook/ceph:v1.3.
4
image
:
rook/ceph:v1.3.
5
command
:
[
"
/tini"
]
args
:
[
"
-g"
,
"
--"
,
"
/usr/local/bin/toolbox.sh"
]
imagePullPolicy
:
IfNotPresent
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/kubernetes/cockroachdb/operator.yaml
+
1
-
1
View file @
aa2376ac
...
...
@@ -93,7 +93,7 @@ spec:
serviceAccountName
:
rook-cockroachdb-operator
containers
:
-
name
:
rook-cockroachdb-operator
image
:
rook/cockroachdb:v1.3.
4
image
:
rook/cockroachdb:v1.3.
5
args
:
[
"
cockroachdb"
,
"
operator"
]
env
:
-
name
:
POD_NAME
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/kubernetes/edgefs/operator.yaml
+
1
-
1
View file @
aa2376ac
...
...
@@ -414,7 +414,7 @@ spec:
serviceAccountName
:
rook-edgefs-system
containers
:
-
name
:
rook-edgefs-operator
image
:
rook/edgefs:v1.3.
4
image
:
rook/edgefs:v1.3.
5
imagePullPolicy
:
"
Always"
args
:
[
"
edgefs"
,
"
operator"
]
env
:
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/kubernetes/nfs/operator.yaml
+
2
-
2
View file @
aa2376ac
...
...
@@ -102,7 +102,7 @@ spec:
serviceAccountName
:
rook-nfs-operator
containers
:
-
name
:
rook-nfs-operator
image
:
rook/nfs:v1.3.
4
image
:
rook/nfs:v1.3.
5
imagePullPolicy
:
IfNotPresent
args
:
[
"
nfs"
,
"
operator"
]
env
:
...
...
@@ -191,7 +191,7 @@ spec:
serviceAccount
:
rook-nfs-provisioner
containers
:
-
name
:
rook-nfs-provisioner
image
:
rook/nfs:v1.3.
4
image
:
rook/nfs:v1.3.
5
imagePullPolicy
:
IfNotPresent
args
:
[
"
nfs"
,
"
provisioner"
,
"
--provisioner=rook.io/nfs-provisioner"
]
env
:
...
...
This diff is collapsed.
Click to expand it.
cluster/examples/kubernetes/yugabytedb/operator.yaml
+
1
-
1
View file @
aa2376ac
...
...
@@ -99,7 +99,7 @@ spec:
serviceAccountName
:
rook-yugabytedb-operator
containers
:
-
name
:
rook-yugabytedb-operator
image
:
rook/yugabytedb:v1.3.
4
image
:
rook/yugabytedb:v1.3.
5
args
:
[
"
yugabytedb"
,
"
operator"
]
env
:
-
name
:
POD_NAME
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help