Conversation
6950641 to
c41e537
Compare
Ceph Upgrade stepsSteps:These steps are curated from the upgrade doc provided by rook: https://rook.io/docs/rook/master/ceph-upgrade.html.
Ensure that the output of the command Read more about the toolbox pod here: https://github.com/kinvolk/lokomotive/blob/master/docs/how-to-guides/rook-ceph-storage.md#enable-and-access-toolbox.
Run the following in the toolbox pod: Ensure that the output says that the health is
Watch the pods status in another from the
Run the following command to keep an eye on the rook version update as it is rolls down for all the components:
Run the following command to keep an eye on the Ceph version update as the new pods come up:
Keep it open in one window, but sometimes it is more hassle than any help. It keeps reloading and logs you out automatically. See this on how to access the dashboard: https://github.com/kinvolk/lokomotive/blob/master/docs/how-to-guides/rook-ceph-storage.md#access-the-ceph-dashboard.
Keep an eye on the Grafana dashboard but the data here will always be old and the most reliable state of the system will come from the watch running inside toolbox pod.
Once everything is up to date then run following commands in the toolbox pod: |
c41e537 to
bafe481
Compare
Update using following steps: ``` cd assets/charts/components helm repo add rook-release https://charts.rook.io/release helm repo update helm fetch --untar rook-release/rook-ceph rm -rf rook mv rook-ceph rook git checkout rook/dashboards/ git checkout rook/templates/service-monitor.yaml git checkout rook/templates/prometheus-ceph-v14-rules.yaml git checkout rook/templates/csi-metrics-service-monitor.yaml git checkout rook/templates/ceph-cluster.yaml git checkout rook/templates/ceph-osd.yaml git checkout rook/templates/ceph-pools.yaml ``` Release Notes: https://github.com/rook/rook/releases/tag/v1.4.2
Updated config resides in: https://github.com/rook/rook/blob/v1.4.2/cluster/examples/kubernetes/ceph/cluster.yaml Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
- Password env var changed from `ROOK_ADMIN_SECRET` to `ROOK_CEPH_SECRET` and the keys from secret is changed from `admin-secret` to `ceph-secret`. - There is additional env var that is needed for username exposed as `ROOK_CEPH_USERNAME` and comes from the secret key `ceph-username`. Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Provisioner and Plugins were missing tolerationa and affinity, this commit adds that. Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
Signed-off-by: Suraj Deshmukh <suraj@kinvolk.io>
bafe481 to
98b4a60
Compare
Change Notes:
Update Rook to v1.4.2. Release notes: https://github.com/rook/rook/releases/tag/v1.4.2
Update the CephCluster CR available in rook-ceph component, taken from: https://github.com/rook/rook/blob/v1.4.2/cluster/examples/kubernetes/ceph/cluster.yaml.
Update rook toolbox config to include new env vars from the changed secret keys.
Add tolerations and affinity for provisioner and plugins pods.
Update process:
Fixes: #852